Hello,
I am trying to do an update of resources to include a stonith clone. I
can't update but clone of stonith is configure as other clone resources
of the cluster. This is my config file:
<resources>
<master_slave id="MySQL_Server">
<instance_attributes id="mysql_server_1">
<attributes>
<nvpair id="mysql_server_nv1" name="clone_max" value="2"/>
<nvpair id="mysql_server_nv2" name="clone_node_max" value="1"/>
<nvpair id="mysql_server_nv3" name="master_max" value="1"/>
<nvpair id="mysql_server_nv4" name="master_node_max"
value="1"/>
</attributes>
</instance_attributes>
<primitive id="mysqld-child" class="ocf"
type="mysql_slave_master" provider="heartbeat" failstop-type="ignore">
<operations>
<op id="mysqld-child-monitor" name="monitor" interval="20s"
timeout="40s" prereq="nothing"/>
<op id="mysqld-child-start" name="start" prereq="nothing"/>
<op id="mysqld-child-stop" name="stop" timeout="600"
on_fail="fence"/>
<op name="monitor" id="mysql-child-start-Slave"
interval="10s" timeout="10s" role="Slave"/>
<op name="monitor" id="mysql-child-start-Master"
interval="5s" timeout="10s" role="Master"/>
</operations>
</primitive>
</master_slave>
<clone id="pingd">
<instance_attributes id="pingd">
<attributes>
<nvpair id="pingd-clone_node_max"
name="clone_node_max" value="1"/>
</attributes>
</instance_attributes>
<primitive id="pingd-child" provider="heartbeat" class="ocf"
type="pingd">
<operations>
<op id="pingd-child-monitor" name="monitor" interval="20s"
timeout="40s" prereq="nothing"/>
<op id="pingd-child-start" name="start" prereq="nothing"/>
</operations>
<instance_attributes id="pingd_inst_attr">
<attributes>
<nvpair id="pingd-dampen" name="dampen" value="5s"/>
<nvpair id="pingd-multiplier" name="multiplier" value="100"/>
</attributes>
</instance_attributes>
</primitive>
</clone>
<clone id="Stonith">
<instance_attributes id="ia_stonith">
<attributes>
<nvpair id="1-max" name="clone_max" value="2"/>
<nvpair id="1-node" name="clone_node_max" value="1"/>
</attributes>
</instance_attributes>
<primitive id="child_stonith" provider="heartbeat"
class="stonith" type="apcmaster">
<operations>
<op id="op_mon" name="monitor" interval="10s"
timeout="30s" prereq="nothing"/>
<op id="op_start" name="start" timeout="31s" prereq="nothing"/>
</operations>
<instance_attributes id="pia_stonith">
<attributes>
<nvpair id="stonith_ip" name="ipaddr"
value="192.168.18.160"/>
<nvpair id="stonith_user" name="login"
value="login"/>
<nvpair id="stonith_pass" name="password"
value="passwd"/>
</attributes>
</instance_attributes>
</primitive>
</clone>
</resources>
Could you take a look ?
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems