In our active/passive cluster openais is started on the active node "cuzzonia"
and the resource "MONITOR" is started too.
During boot processing of the second node "cuzzonib" resource "MONITOR" is
started on cuzzonib too before openais is started on that node.
Later, when openais detects that the resource "MONITOR" is started on both
nodes, the resource is stopped on both nodes and restarted on
node "cuzzonia".
How can we prevent the resource "MONITOR" from being stopped on the active node
? The resource should be stopped only on the passive node.
Regards,
Armin Haußecker
Some parts from cib:
<cluster_property_set id="cib-bootstrap-options">
<nvpair id="CiB-resource-stickiness" name="default-resource-stickiness"
value="INFINITY"/>
........................................................................................................
</primitive>
<primitive id="MONITOR" class="ocf" type="Xen" provider="FSC">
<operations>
<op name="start" interval="0s" timeout="300s" id="MONITOR-op-01"/>
<op name="monitor" interval="10s" timeout="60s" requires="nothing"
id="MONITOR-op-02"/>
<op name="stop" interval="0s" timeout="300s" id="MONITOR-op-03"/>
</operations>
<meta_attributes id="MONITOR-managed">
<nvpair id="MONITOR-is-managed" name="is-managed" value="true"/>
</meta_attributes>
<instance_attributes id="MONITOR-ia">
<nvpair id="MONITOR-xen-01" name="xend_managed" value="yes"/>
<nvpair id="MONITOR-xen-02" name="configfile"
value="/etc/xen/vm/x2k_monitor.hvm"/>
<nvpair id="MONITOR-xen-03" name="domain_name" value="MONITOR"/>
<nvpair id="MONITOR-xen-04" name="paused" value="no"/>
<nvpair id="MONITOR-xen-05" name="destroy"
value="/etc/xen/vm/MONITOR_destroy"/>
<nvpair id="MONITOR-xen-06" name="target-role" value="started"/>
</instance_attributes>
</primitive>
......................................................................................................................
<rsc_location id="MONITOR_loc_0" rsc="MONITOR" node="cuzzonia"
score="400" />
<rsc_location id="MONITOR_loc_1" rsc="MONITOR" node="cuzzonib"
score="200" />
<rsc_order id="MONITOR_orderconstraints-01" first="GSstart" score="0"
then ="MONITOR"/>
<rsc_colocation id="MONITOR_colocconstraints-01" rsc="MONITOR"
score="INFINITY" with-rsc="GSstart"/>
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais