...
When configuring instances in a resilient configuration, edit the phixflow-clusterinstance.xml file for each instance so that
...
b) The main instance has leaderOnStartup set to true, and the standby instance has it set to false.
Each phixflow-instance.xml should look something like this:
Code Block |
---|
<!-- The instance name must be different for each member of the cluster -->
<bean id="clusterInstance"
class="com.accipia.phixflow.service.cluster.main.ClusterInstance"
p:name="MAIN"
p:id=”1”
p:leaderOnStartup="true"
/> |
If no instance has leaderOnStartup set to true, one of the standby servers will become active after a timeout period..
...