Hi ,
ive setup heartbeat using crm and
using ipaddr2 to obtain a virtual address between my two nodes, but
the problem is the virtual address is not going the node i wish.
how do I specify which node will get the virtual below is a
copy of my CIB.XML file?
i would like the node hordepri to ge the virtual but it seems to land
up on hordesec..
and after my ha.cf file, Can u point me in the right direction on how
to sort this out?
<cib admin_epoch="0" have_quorum="true" ignore_dtd="false"
num_peers="2" cib_feature_revision="2.0" ccm_transition="2"
generated="true" dc_uuid="01f3c5ef-f9e6-4d17-b597-b211f7486dc9"
epoch="2" num_updates="3" cib-last-written="Mon Dec 29 17:36:33 2008">
<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="01f3c5ef-f9e6-4d17-b597-b211f7486dc9"
uname="hordesec.mydomain.co.za" type="normal"/>
<node id="b6ddd57a-78ac-4eb0-94e8-7c447c575703"
uname="hordepri.mydomain.co.za" type="normal"/>
</nodes>
<resources>
<group ordered="true" collocated="true" id="rg_horde">
<primitive id="IP-Addr" class="ocf" type="IPaddr2"
provider="heartbeat">
<instance_attributes id="IP-Addr_instance_attrs">
<attributes>
<nvpair id="IP-Addr_target_role" name="target_role"
value="started"/>
<nvpair id="2e967596-73fe-444e-82ea-18f61f3848d7"
name="ip" value="10.30.128.5"/>
</attributes>
</instance_attributes>
</primitive>
</group>
</resources>
<constraints/>
</configuration>
</cib>
--- ha.cf ---
logfile /var/log/ha-log
keepalive 2
deadtime 10
initdead 120
udpport 694
ucast eth0 10.30.128.2
ucast eth0 10.30.128.3
auto_failback on
node hordepri.mydomain.co.za
node hordesec.mydomain.co.za
ping 10.30.128.1
crm yes
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems