Failure behavior and switching criteria
The redundancy manager is responsible for monitoring the redundancy state (which computer is active/passive) on both computers. The redundancy manager is started before the project specific managers (Drivers, CTRL, etc.). The redundancy manager also monitors the error state of both systems. The errors are configured with a weighting in the system overview panel (please refer to System overview in redundant systems). The error state is determined when initializing and is updated continuously (optimum state is 0). The monitoring can be configured for all managers, TCP connections, selected data point elements, working memory and hard disk capacity.
The following priorities apply for the active/passive state in a redundant system (the passive computer becomes active and the active computer becomes passive):
Priority 1: Failure:
Complete failure of a computer or neither of the redundant network connections exists. It is no more possible to switch the control If the redundant network connections fail completely. In this case both server will be active.
Priority 2: Manually forced control (set active):
This makes it possible to switch to a computer despite one of the subordinate priorities, provided this is still possible in terms of hardware and software. This priority is considered as switching of the control. With the help of the switching of the control the desired system is set immediately active. This is independent of the error status.
Priority 3: Different error state:
Communication failures of managers, partial failure of a computer (hardware or software). The system switches to the computer with the lower error state.
Priority 4: Defining the priority:
Via this priority it is possible to change (switch) the active computer manually. This switch applies only if both computers run error free or have the same error state.
After a switch (active/passive) in the redundancy mode, a general query is initiated by the driver automatically!
If one (or more) of the above switchover criteria are met and automatic switchover has been configured or is forced by the user, operational control is transferred to the redundancy partner. This is the partner with the smaller error status. Only the data of this active partner is displayed on both UIs. The passive system is limited to the alignment of the process data.
The redundancy works independently and does not depend on user inputs and responses. However, certain inputs from users are accepted (please refer to priorities 2 and 4). Manual switching triggered by the user has to be executed in the system overview panel.
The following responses are triggered when certain managers fail:
- A complete restart of the project and recovery is executed when the data, the archive, the event or the redundancy managers fail.
Note: The failure of the archive manager only applies to value archives. If an NGA or an RDB manager fails, a project is not restarted.
- All other managers will restart the manager or no actions are executed depending on the configuration in the console.
If the connection of the data managers to each other fails during database recovery in the startup phase of a server, the starting project is stopped and restarted.
If the recovery of the database has already been completed, the project continues to boot and automatically becomes active after passiveRecoveryTimeout (Event) expires.
If this server 1 loses the network connection, server 2 has lost the connection to the UI with the number 8 and releases this number again. If a new UI is started on a client, the number 8 is assigned to it by server 2 (server 1 is not reachable via the network). If the servers re-establish the connection, the client UI with the number 8 cannot establish a connection to server 1. The UI number 8 is already used by the local UI on server 1.