# Possible to switch back to Master from a Client?

**URL:** <https://forum.inductiveautomation.com/t/possible-to-switch-back-to-master-from-a-client/10126>\
**Category:** Ignition\
**Created:** [June 15, 2015, 9:11am UTC](https://forum.inductiveautomation.com/t/possible-to-switch-back-to-master-from-a-client/10126 "2015-06-15T09:11:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amarth](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarth/32/3313_2.png) [@Amarth](https://forum.inductiveautomation.com/u/Amarth)\
**Post date:** [June 15, 2015, 9:11am UTC](https://forum.inductiveautomation.com/t/possible-to-switch-back-to-master-from-a-client/10126/1 "2015-06-15T09:11:58Z")

</div>

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.

Regards.

---

<div class="post-metadata">

**Author:** ![Amarth](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarth/32/3313_2.png) [@Amarth](https://forum.inductiveautomation.com/u/Amarth)\
**Post date:** [June 18, 2015, 2:38pm UTC](https://forum.inductiveautomation.com/t/possible-to-switch-back-to-master-from-a-client/10126/2 "2015-06-18T14:38:40Z")

</div>

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.

Regards.

---

<div class="post-metadata">

**Author:** ![mgross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mgross/32/3311_2.png) [@mgross](https://forum.inductiveautomation.com/u/mgross)\
**Post date:** [June 23, 2015, 2:23pm UTC](https://forum.inductiveautomation.com/t/possible-to-switch-back-to-master-from-a-client/10126/3 "2015-06-23T14:23:00Z")

</div>

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.
