Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description of events from the FAILOVER object:

Event

Description

START

 Objects Objects are moved to a backup Server.

STOP

Objects are back to the main Server.

Example uses can be found in the Examples of scripts in JScript language section in Programming Guide (JScript) The Script object. Programming using the JScript language.

The operator format for describing the actions with the Failover is:

Code Block
DoReact("FAILOVER","_id_","_command_" [,"_parameters_"]);

The list of parameters for the FAILOVER object is presented in the table below.

Command - command descriptionComment
FORCED_START - forced transfer of the main Server configuration to the backup one.The reverse configuration transfer is performed using the FORCED_STOP command or upon restarting/reconnecting the main Server.
FORCED_STOP - forced transfer of the backup Server configuration to the main one.