Applies To:
  • CitectSCADA 5.xx
  • CitectHMI 5.xx

Is there a way to switch Alarm and Trend clients back to the primary alarm and trend server once they have automatically switched to the standby? The primary and standby I/O, alarm, trend, and report servers are separated across a WAN (several thousand miles). The primary server for a given client will be the nearest one on the WAN. The Citect client goes the standby server when the nearest one fails. The shutdown of servers or clients is not an option. 

Another option is to use the ClusterSetName() Cicode function on each of the clients. This works using mode = 1. It may be necessary to call the ClusterSetName function twice. First set the client to fictitious primary and standby server names. Then set the client to the actual primary and standby server names. Below is example of the Cicode functions to use on the client when both servers are back online.

ClusterSetName("FictitiousP", "FictitiousS", 1)

ClusterSetName("CitectP", "CitectS", 1)