I ran packemaker http://clusterlabs.org/wiki/Debian_Lenny_HowTo instructions
and chose openais.
Nods if both are included in the IP is enabled. If I disable one node is the IP
address is disabled and is not running on the second node. What should I add to
the IP switched to next node?
r...@noc-test-20:~# crm_mon -1
============
Last updated: Tue Sep 15 14:37:39 2009
Stack: openais
Current DC: noc-test-10 - partition with quorum
Version: 1.0.4-2ec1d189f9c23093bf9239a980534b661baf782d
2 Nodes configured, 2 expected votes
1 Resources configured.
============
Online: [ noc-test-10 noc-test-20 ]
failover-ip (ocf::heartbeat:IPaddr): Started noc-test-20
r...@noc-test-10:/etc/ha.d# /etc/init.d/openais-legacy stop
r...@noc-test-20:~# crm_mon -1
============
Last updated: Tue Sep 15 14:38:19 2009
Stack: openais
Current DC: noc-test-20 - partition WITHOUT quorum
Version: 1.0.4-2ec1d189f9c23093bf9239a980534b661baf782d
2 Nodes configured, 2 expected votes
1 Resources configured.
============
Online: [ noc-test-20 ]
OFFLINE: [ noc-test-10 ]
<?xml version="1.0" ?>
<cib admin_epoch="0" crm_feature_set="3.0.1" dc-uuid="noc-test-10" epoch="65"
have-quorum="1" num_updates="10" validate-with="pacemaker-1.0">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<nvpair id="cib-bootstrap-options-stonith-enabled"
name="stonith-enabled" value="false"/>
<nvpair id="cib-bootstrap-options-expected-quorum-votes"
name="expected-quorum-votes" value="2"/>
<nvpair id="cib-bootstrap-options-dc-version" name="dc-version"
value="1.0.4-2ec1d189f9c23093bf9239a980534b661baf782d"/>
<nvpair id="cib-bootstrap-options-cluster-infrastructure"
name="cluster-infrastructure" value="openais"/>
</cluster_property_set>
</crm_config>
<rsc_defaults/>
<op_defaults/>
<nodes>
<node id="noc-test-10" type="normal" uname="noc-test-10">
<instance_attributes id="nodes-noc-test-10">
<nvpair id="nodes-noc-test-10-standby" name="standby" value="off"/>
</instance_attributes>
</node>
<node id="noc-test-20" type="normal" uname="noc-test-20"/>
</nodes>
<resources>
<primitive class="ocf" id="failover-ip" provider="heartbeat"
type="IPaddr">
<instance_attributes id="failover-ip-instance_attributes">
<nvpair id="failover-ip-instance_attributes-ip" name="ip"
value="10.1.49.124"/>
</instance_attributes>
<operations>
<op id="failover-ip-monitor-10s" interval="10s" name="monitor"/>
</operations>
</primitive>
</resources>
<constraints>
<rsc_location id="cli-prefer-failover-ip" rsc="failover-ip">
<rule id="cli-prefer-rule-failover-ip" score="INFINITY">
<expression attribute="#uname" id="cli-prefer-expr-failover-ip"
operation="eq" value="noc-test-20"/>
</rule>
</rsc_location>
</constraints>
</configuration>
</cib>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems