Possible to switch back to Master from a Client?

Hello all,

Is there a way to switch back a redundancy to the Master from a client (Vision) (instead of from the gateway page) ?

I could not figure how to make the switchover by script.


I’ve found the following clues:
requestPeerActivityLevel() method from com.inductiveautomation.ignition.gateway.redundancy package (Interface RedundancyManager)
setActivityLevel(ActivityLevel activityLevel) from com.inductiveautomation.ignition.gateway.redundancy.types package (Class RedundancyState)

… but both are limited to the Gateway scope, meaning that I can’t use them in a designer/client. Am I right ?

In that case, is there any not-documented method that could be executed in a client scope ?

Any help welcomed.


The problem here is that the master and backup Gateways communicate with each other to determine which one is the active one, and there is no control over that from the client side. If your client is running against the backup, and the master becomes active, the backup will inform any clients that it is becoming inactive. At that point, clients will automatically disconnect from the backup and connect to the master.