# About redundancy

**URL:** <https://forum.inductiveautomation.com/t/about-redundancy/9859>\
**Category:** Ignition\
**Created:** [March 30, 2015, 2:57pm UTC](https://forum.inductiveautomation.com/t/about-redundancy/9859 "2015-03-30T14:57:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sebastian\_coor](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@Sebastian\_coor](https://forum.inductiveautomation.com/u/Sebastian_coor)\
**Post date:** [March 30, 2015, 2:57pm UTC](https://forum.inductiveautomation.com/t/about-redundancy/9859/1 "2015-03-30T14:57:33Z")

</div>

Hi!

I tried the redundancy to see how it works with a dummy project, when the client loses the communication with the master ( the master is down) I have to restart the client so it connects to the slave.  
Is it possible to do this automatically, so the clients don’t have to restart to see all the data, it does automatically when the master is up again, the client reconnect to the master.

Best regards

---

<div class="post-metadata">

**Author:** ![wdreynolds1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wdreynolds1/32/3327_2.png) [@wdreynolds1](https://forum.inductiveautomation.com/u/wdreynolds1)\
**Post date:** [March 30, 2015, 7:53pm UTC](https://forum.inductiveautomation.com/t/about-redundancy/9859/2 "2015-03-30T19:53:14Z")

</div>

It sounds like you have both set up as masters. Be sure to set up your backup gateway as the backup and your master as the master in their respective gateway configuration.

The only other configurations are to set up the backup node address in the master and whether or not you want the master to automatically take back over once it comes back online.

Good luck!

Walker

---

<div class="post-metadata">

**Author:** ![Sebastian\_coor](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@Sebastian\_coor](https://forum.inductiveautomation.com/u/Sebastian_coor)\
**Post date:** [March 31, 2015, 11:55am UTC](https://forum.inductiveautomation.com/t/about-redundancy/9859/3 "2015-03-31T11:55:25Z")

</div>

Nope, one is as Master and the other as backup Cold.  
Both has the same ip address in the field Master Node Address.

When i chen the status i see that the both Ignition are connected one as master and the other as Backup. the clients connection shows just in the master, if i turn off the master the backsup shows 0 client connected, so i have to restart the clients

---

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [April 1, 2015, 5:58am UTC](https://forum.inductiveautomation.com/t/about-redundancy/9859/4 "2015-04-01T05:58:48Z")

</div>

Under redundancy, enter each servers IP addresses on there respective hosts. You will have to disable the auto addressing scheme. Redundancy is about the only thing that is server specific. Please post a snap shot of each redundancy page please.

---

<div class="post-metadata">

**Author:** ![Sebastian\_coor](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@Sebastian\_coor](https://forum.inductiveautomation.com/u/Sebastian_coor)\
**Post date:** [April 2, 2015, 11:44am UTC](https://forum.inductiveautomation.com/t/about-redundancy/9859/5 "2015-04-02T11:44:26Z")

</div>

I have attached files from the configuration page and from what i see at the satus page of both Ignition and the clients when the Master is connected and when the backup is connected. All work if I click on the configuration page Force a fail-over backup, but if i stopp the Master server or if i shut down the server then it doesn’t connect to the backup. The weird think is that it worked today two times, then i restart the client without changing something in the configuration or in the designer and it stoped working

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/4bf3a5d080806c9f0cda3921383ce1b10ce60369.png)  
  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/dce044184730538f59c60c4ce0f3cff5549e3eda.jpg)  
  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/e/e0372d3a28e756dc4b437d4b3743b65b9b5d4af5.jpg)  
  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/c49cdb0f4238276748f76208768399f82cf61aa1.jpg)  
  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/b/b754794b5a5d1822f40eb07f7dc911b06486dc13.jpg)

---

<div class="post-metadata">

**Author:** ![Sebastian\_coor](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@Sebastian\_coor](https://forum.inductiveautomation.com/u/Sebastian_coor)\
**Post date:** [April 2, 2015, 11:46am UTC](https://forum.inductiveautomation.com/t/about-redundancy/9859/6 "2015-04-02T11:46:11Z")

</div>

this is what the console shows:

eryStatus(AbstractAlarmUtilities.java:61)

```
                         at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)

                         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                         at java.lang.reflect.Method.invoke(Unknown Source)

```

com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: Post Error, error code = 503

```
                         at org.python.core.Py.JavaError(Py.java:495)
                         at com.inductiveautomation.ignition.common.script.builtin.AbstractAlarmUtilities.queryStatus(AbstractAlarmUtilities.java:63)
                         at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
                         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                         at java.lang.reflect.Method.invoke(Unknown Source)
                         at org.python.core.PyReflectedFunction. __call__ (PyReflectedFunction.java:186)
                         at com.inductiveautomation.ignition.common.script.ScriptManager$ReflectedInstanceFunction. __call__ (ScriptManager.java:406)
                         at org.python.core.PyObject. __call__ (PyObject.java:320)
                         at org.python.pycode._pyx0.f$0(<expression:runScript>:1)
                         at org.python.pycode._pyx0.call_function(<expression:runScript>)
                         at org.python.core.PyTableCode.call(PyTableCode.java:165)
                         at org.python.core.PyCode.call(PyCode.java:18)
                         at org.python.core.Py.runCode(Py.java:1275)
                         at com.inductiveautomation.ignition.common.script.ScriptManager.runCode(ScriptManager.java:551)
                         ... 26 more

```

Caused by: com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: Post Error, error code = 503  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.newGatewayException(GatewayInterface.java:326)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.newGatewayException(GatewayInterface.java:322)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.getResponse(GatewayInterface.java:410)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.sendMessage(GatewayInterface.java:262)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.sendMessage(GatewayInterface.java:257)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.invoke(GatewayInterface.java:803)  
at com.inductiveautomation.factorypmi.application.script.builtin.ClientAlarmUtilities.queryStatusImpl(ClientAlarmUtilities.java:40)  
at com.inductiveautomation.ignition.common.script.builtin.AbstractAlarmUtilities.queryStatus(AbstractAlarmUtilities.java:61)  
… 38 more  
WARN [ExpressionPropertyAdapter-AWT-EventQueue-2] Error executing expression binding on  
Alarm Count Label.Alarm Count Label.count  
java.lang.Exception: Error executing expression binding on  
Alarm Count Label.Alarm Count Label.count  
at com.inductiveautomation.factorypmi.application.binding.ExpressionPropertyAdapter.runExpression(ExpressionPropertyAdapter.java:82)  
at com.inductiveautomation.factorypmi.application.binding.ExpressionPropertyAdapter.childInteractionUpdated(ExpressionPropertyAdapter.java:50)  
at com.inductiveautomation.ignition.common.expressions.functions.AbstractPollingFunction.actionPerformed(AbstractPollingFunction.java:80)  
at javax.swing.Timer.fireActionPerformed(Unknown Source)  
at javax.swing.Timer$DoPostEvent.run(Unknown Source)  
at java.awt.event.InvocationEvent.dispatch(Unknown Source)  
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)  
at java.awt.EventQueue.access$200(Unknown Source)  
at java.awt.EventQueue$3.run(Unknown Source)  
at java.awt.EventQueue$3.run(Unknown Source)  
at java.security.AccessController.doPrivileged(Native Method)  
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)  
at java.awt.EventQueue.dispatchEvent(Unknown Source)  
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)  
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)  
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)  
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)  
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)  
at java.awt.EventDispatchThread.run(Unknown Source)  
Caused by: com.inductiveautomation.ignition.common.expressions.ExpressionException: Error executing script for runScript() expression:len(system.alarm.queryStatus(state=[“ActiveUnacked”,“ActiveAcked”]))  
at com.inductiveautomation.ignition.common.expressions.functions.ScriptFunction.execute(ScriptFunction.java:62)  
at com.inductiveautomation.ignition.common.expressions.FunctionExpression.execute(FunctionExpression.java:69)  
at com.inductiveautomation.ignition.common.expressions.DefaultFunctionFactory$CastFunction.execute(DefaultFunctionFactory.java:1468)  
at com.inductiveautomation.ignition.common.expressions.FunctionExpression.execute(FunctionExpression.java:69)  
at com.inductiveautomation.ignition.common.expressions.DefaultFunctionFactory$IfFunction.execute(DefaultFunctionFactory.java:1393)  
at com.inductiveautomation.ignition.common.expressions.FunctionExpression.execute(FunctionExpression.java:69)  
at com.inductiveautomation.factorypmi.application.binding.ExpressionPropertyAdapter.runExpression(ExpressionPropertyAdapter.java:73)  
… 18 more  
Caused by: Traceback (most recent call last):  
File “expression:runScript”, line 1, in   
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.newGatewayException(GatewayInterface.java:326)

```
                         at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.newGatewayException(GatewayInterface.java:322)

                         at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.getResponse(GatewayInterface.java:410)

                         at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.sendMessage(GatewayInterface.java:262)

                         at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.sendMessage(GatewayInterface.java:257)

                         at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.invoke(GatewayInterface.java:803)

                         at com.inductiveautomation.factorypmi.application.script.builtin.ClientAlarmUtilities.queryStatusImpl(ClientAlarmUtilities.java:40)

                         at com.inductiveautomation.ignition.common.script.builtin.AbstractAlarmUtilities.queryStatus(AbstractAlarmUtilities.java:61)

                         at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)

                         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                         at java.lang.reflect.Method.invoke(Unknown Source)

```

com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: Post Error, error code = 503

```
                         at com.inductiveautomation.ignition.common.script.ScriptManager.runCode(ScriptManager.java:554)
                         at com.inductiveautomation.ignition.common.script.ScriptManager.runCode(ScriptManager.java:544)
                         at com.inductiveautomation.ignition.common.expressions.functions.ScriptFunction.execute(ScriptFunction.java:59)
                         ... 24 more

```

Caused by: Traceback (most recent call last):  
File “expression:runScript”, line 1, in   
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.newGatewayException(GatewayInterface.java:326)

```
                         at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.newGatewayException(GatewayInterface.java:322)

                         at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.getResponse(GatewayInterface.java:410)

                         at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.sendMessage(GatewayInterface.java:262)

                         at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.sendMessage(GatewayInterface.java:257)

                         at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.invoke(GatewayInterface.java:803)

                         at com.inductiveautomation.factorypmi.application.script.builtin.ClientAlarmUtilities.queryStatusImpl(ClientAlarmUtilities.java:40)

                         at com.inductiveautomation.ignition.common.script.builtin.AbstractAlarmUtilities.queryStatus(AbstractAlarmUtilities.java:61)

                         at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)

                         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                         at java.lang.reflect.Method.invoke(Unknown Source)

```

com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: Post Error, error code = 503

```
                         at org.python.core.Py.JavaError(Py.java:495)
                         at com.inductiveautomation.ignition.common.script.builtin.AbstractAlarmUtilities.queryStatus(AbstractAlarmUtilities.java:63)
                         at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
                         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                         at java.lang.reflect.Method.invoke(Unknown Source)
                         at org.python.core.PyReflectedFunction. __call__ (PyReflectedFunction.java:186)
                         at com.inductiveautomation.ignition.common.script.ScriptManager$ReflectedInstanceFunction. __call__ (ScriptManager.java:406)
                         at org.python.core.PyObject. __call__ (PyObject.java:320)
                         at org.python.pycode._pyx0.f$0(<expression:runScript>:1)
                         at org.python.pycode._pyx0.call_function(<expression:runScript>)
                         at org.python.core.PyTableCode.call(PyTableCode.java:165)
                         at org.python.core.PyCode.call(PyCode.java:18)
                         at org.python.core.Py.runCode(Py.java:1275)
                         at com.inductiveautomation.ignition.common.script.ScriptManager.runCode(ScriptManager.java:551)
                         ... 26 more

```

Caused by: com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: Post Error, error code = 503  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.newGatewayException(GatewayInterface.java:326)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.newGatewayException(GatewayInterface.java:322)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.getResponse(GatewayInterface.java:410)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.sendMessage(GatewayInterface.java:262)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.sendMessage(GatewayInterface.java:257)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.invoke(GatewayInterface.java:803)  
at com.inductiveautomation.factorypmi.application.script.builtin.ClientAlarmUtilities.queryStatusImpl(ClientAlarmUtilities.java:40)  
at com.inductiveautomation.ignition.common.script.builtin.AbstractAlarmUtilities.queryStatus(AbstractAlarmUtilities.java:61)  
… 38 more  
WARN [ExpressionPropertyAdapter-AWT-EventQueue-2] Error executing expression binding on  
Alarm Count Label.Alarm Count Label.count  
java.lang.Exception: Error executing expression binding on  
Alarm Count Label.Alarm Count Label.count  
at com.inductiveautomation.factorypmi.application.binding.ExpressionPropertyAdapter.runExpression(ExpressionPropertyAdapter.java:82)  
at com.inductiveautomation.factorypmi.application.binding.ExpressionPropertyAdapter.childInteractionUpdated(ExpressionPropertyAdapter.java:50)  
at com.inductiveautomation.ignition.common.expressions.functions.AbstractPollingFunction.actionPerformed(AbstractPollingFunction.java:80)  
at javax.swing.Timer.fireActionPerformed(Unknown Source)  
at javax.swing.Timer$DoPostEvent.run(Unknown Source)  
at java.awt.event.InvocationEvent.dispatch(Unknown Source)  
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)  
at java.awt.EventQueue.access$200(Unknown Source)  
at java.awt.EventQueue$3.run(Unknown Source)  
at java.awt.EventQueue$3.run(Unknown Source)  
at java.security.AccessController.doPrivileged(Native Method)  
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)  
at java.awt.EventQueue.dispatchEvent(Unknown Source)  
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)  
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)  
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)  
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)  
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)  
at java.awt.EventDispatchThread.run(Unknown Source)  
Caused by: com.inductiveautomation.ignition.common.expressions.ExpressionException: Error executing script for runScript() expression:len(system.alarm.queryStatus(state=[“ActiveUnacked”,“ActiveAcked”]))  
at com.inductiveautomation.ignition.common.expressions.functions.ScriptFunction.execute(ScriptFunction.java:62)  
at com.inductiveautomation.ignition.common.expressions.FunctionExpression.execute(FunctionExpression.java:69)  
at com.inductiveautomation.ignition.common.expressions.DefaultFunctionFactory$CastFunction.execute(DefaultFunctionFactory.java:1468)  
at com.inductiveautomation.ignition.common.expressions.FunctionExpression.execute(FunctionExpression.java:69)  
at com.inductiveautomation.ignition.common.expressions.DefaultFunctionFactory$IfFunction.execute(DefaultFunctionFactory.java:1393)  
at com.inductiveautomation.ignition.common.expressions.FunctionExpression.execute(FunctionExpression.java:69)  
at com.inductiveautomation.factorypmi.application.binding.ExpressionPropertyAdapter.runExpression(ExpressionPropertyAdapter.java:73)  
… 18 more  
Caused by: Traceback (most recent call last):  
File “expression:runScript”, line 1, in   
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.newGatewayException(GatewayInterface.java:326)

```
                         at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.newGatewayException(GatewayInterface.java:322)

                         at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.getResponse(GatewayInterface.java:410)

                         at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.sendMessage(GatewayInterface.java:262)

                         at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.sendMessage(GatewayInterface.java:257)

                         at com.inductiveautomation.ignition.client.gateway_interface.GatewayInterface.invoke(GatewayInterface.java:803)

                         at com.inductiveautomation.factorypmi.application.script.builtin.ClientAlarmUtilities.queryStatusImpl(ClientAlarmUtilities.java:40)

                         at com.inductiveautomation.ignition.common.script.builtin.AbstractAlarmUtilities.queryStatus(AbstractAlarmUtilities.java:61)

                         at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)

                         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                         at java.lang.reflect.Method.invoke(Unknown Source)

```

com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: Post Error, error code = 503

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [April 2, 2015, 12:46pm UTC](https://forum.inductiveautomation.com/t/about-redundancy/9859/7 "2015-04-02T12:46:33Z")

</div>

like kyle said, you need to uncheck “autodetect http address” and then add entries for both of your server ip addresses or domain names along with the correct http and https port numbers in the spot right below.

---

<div class="post-metadata">

**Author:** ![Sebastian\_coor](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@Sebastian\_coor](https://forum.inductiveautomation.com/u/Sebastian_coor)\
**Post date:** [April 2, 2015, 1:24pm UTC](https://forum.inductiveautomation.com/t/about-redundancy/9859/8 "2015-04-02T13:24:53Z")

</div>

I tried as you can see in the attached but, i get the same problem/error  
I did it in both servers (master and backup)

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/9c217416f35b0fe3756954636b09ed90960b1b9f.jpg)  
  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/90dffe7c3bb8a47e428d5e0d110fbe612240efe4.jpg)
