Some content on this site is available only to logged-in subscribers. Contact Us for information on becoming a subscriber.

InSource.Solutions | InSource Training | InSource Client Portal
InSource Solutions Logo
Log In Sign Up
InSource.Solutions InSource Training InSource Client Portal Log In Sign Up
  • Home
  • AVEVA Application Server
  • AVEVA Application Server Documentation

TN AppSvr192 Appserver redundant engine fail back to primary platform

Last updated: March 9th, 2025

Description

  • Author: Michael Viteri
  • Published: March 9th, 2025

Details:

Description

This article from InSource shows...how to script an application engine to fail back to primary platform when it becomes available after a failure.

  • Author: Mike Viteri
  • Published: 03/9/2016
  • Applies to: Application Server

Details

When your primary platform fails your engines failover to the backup platform. When the primary platform comes back online the engine does fail over the the primary platform automatically. This script below will check for the avability of the primary platform. If it is ready the script will perform an force failover to the primary platform.

Create a script on your engine with the following information.(must be a redundant engine)

Name: RedundancyPrimaryActive
Execution type: Execute (default) and locked
Expression: (Me.Redundancy.Identity == 2) AND (Me.Redundancy.PartnerStatus == 4)
Trigger Type: OnTrue
Script body: Me.Redundancy.ForceFailoverCmd = true;

You can now save your script. Redeploy your engine. Failover your engine to the backup platform and it should return to the primary platform on its own.

failover redundancy
Give feedback about this article

Recommended articles

TN 1242 Aveva Historian Storage Locations and Best Practices

Read More
Support Icon

CONTACT SUPPORT

How to reach us

10800 Midlothian Turnpike Tpke, Suite 209, Richmond, VA 23235

1.877.INSOURCE

Technical Support - 1.888.691.3858

Contact Us

  • InSource Solutions
  • InSource Training
  • InSource Client Portal
  • Log In
InSource Solutions Logo

© 2025 InSource Solutions. All Rights Reserved.

Knowledge Base Software powered by Helpjuice

Expand