[Linux-HA] Problem apprehending heartbeat 2.1.3
Andrew Beekhof
beekhof at gmail.com
Wed Jul 9 11:39:48 MDT 2008
On Wed, Jul 9, 2008 at 16:32, Thibaut Perrin <tperrinha at gmail.com> wrote:
> Hi everyone,
>
> I'm quite new to this list, so please forgive me if this looks a stupid
> question.
>
> I am having a bit trouble getting heartbeat 2.1.3 working. (I compiled it on
> Ubuntu Dapper 6.06.2).
>
> Here is my problem, I'm only trying to get things working with an IP
> address.
>
> ( the line in haresources was "troll IPaddr::192.168.150.110" )
> I have 2 nodes : troll & gobelin.
>
> I have created the cib.xml using
> /usr/lib/heartbeat/haresources2cib.py -c /etc/ha.d/ha.cf --stdout >
> /var/lib/heartbeat/cib.xml
Go to
http://clusterlabs.org/mw/Image:Configuration_Explained.pdf
and read the bit called "How Should the Configuration be Updated?"
>
> I can't find the webpage of what is needed for anyone to help me, so just
> ask and don't hesistate to tell me what's wrong :-)
>
> Thanks in advance
>
> Thibaut Perrin
>
> here's the result of cibadmin -Ql (on troll)
> <cib generated="true" admin_epoch="0" have_quorum="true" ignore_dtd="false"
> num_peers="2" cib_feature_revision="2.0" epoch="2" num_updates="15"
> cib-last-written="Wed Jul 9 14:03:51 2008" ccm_transition="2"
> dc_uuid="42086702-87aa-48e7-be1c-309e4829a5c7">
> <configuration>
> <crm_config>
> <cluster_property_set id="cib-bootstrap-options">
> <attributes>
> <nvpair id="cib-bootstrap-options-dc-version" name="dc-version"
> value="2.1.3-node: 552305612591183b1628baa5bc6e903e0f1e26a3"/>
> </attributes>
> </cluster_property_set>
> </crm_config>
> <nodes>
> <node id="42086702-87aa-48e7-be1c-309e4829a5c7" uname="troll"
> type="normal"/>
> <node id="64da6bea-149f-4e83-96b7-d142be0bb44c" uname="gobelin"
> type="normal"/>
> </nodes>
> <resources/>
> <constraints/>
> </configuration>
> <status>
> <node_state id="64da6bea-149f-4e83-96b7-d142be0bb44c" uname="gobelin"
> crmd="online" crm-debug-origin="do_lrm_query" shutdown="0" in_ccm="true"
> join="member" ha="active" expected="member">
> <lrm id="64da6bea-149f-4e83-96b7-d142be0bb44c">
> <lrm_resources/>
> </lrm>
> <transient_attributes id="64da6bea-149f-4e83-96b7-d142be0bb44c">
> <instance_attributes
> id="status-64da6bea-149f-4e83-96b7-d142be0bb44c">
> <attributes>
> <nvpair
> id="status-64da6bea-149f-4e83-96b7-d142be0bb44c-probe_complete"
> name="probe_complete" value="true"/>
> </attributes>
> </instance_attributes>
> </transient_attributes>
> </node_state>
> <node_state id="42086702-87aa-48e7-be1c-309e4829a5c7" uname="troll"
> crmd="online" crm-debug-origin="do_lrm_query" in_ccm="true" join="member"
> ha="active" expected="member" shutdown="0">
> <lrm id="42086702-87aa-48e7-be1c-309e4829a5c7">
> <lrm_resources/>
> </lrm>
> <transient_attributes id="42086702-87aa-48e7-be1c-309e4829a5c7">
> <instance_attributes
> id="status-42086702-87aa-48e7-be1c-309e4829a5c7">
> <attributes>
> <nvpair
> id="status-42086702-87aa-48e7-be1c-309e4829a5c7-probe_complete"
> name="probe_complete" value="true"/>
> </attributes>
> </instance_attributes>
> </transient_attributes>
> </node_state>
> </status>
> </cib>
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
More information about the Linux-HA
mailing list