I just trying a simple v2.08 config to get an IP up and failing over. I
can't seem to get the IP to even start when heartbeat starts. Running
IPaddr manually does work. Any pointers would be much appreciated.
ha.cf looks like:
use_logd on
debug 1
debugfile /var/log/ha-debug
udpport 694
keepalive 1 # 1 second
ping 10.32.0.1
deadtime 10
initdead 80
bcast eth1
node els-sj-tftpha1 els-sj-tftpha2
crm yes
auto_failback yes
cib.xml looks like:
<cib generated="true" admin_epoch="0" have_quorum="true"
ignore_dtd="false" num_peers="2" ccm_transition="2"
cib_feature_revision="1.3"
dc_uuid="ce64297f-474f-49d9-b026-1a1580d481ee" epoch="1"
num_updates="11" cib-last-written="Sat Jun 30 22:44:52 2007">
<configuration>
<crm_config/>
<nodes>
<node id="ce64297f-474f-49d9-b026-1a1580d481ee"
uname="els-sj-tftpha2" type="normal"/>
<node id="73fd5614-e8ad-4c8a-bb3b-32bff0dd5a82"
uname="els-sj-tftpha1" type="normal"/>
</nodes>
<resources>
<primitive id="ip_resource" class="ocf" type="IPaddr"
provider="heartbeat">
<instance_attributes id="ip_attr">
<attributes>
<nvpair id="public_ip" name="ip" value="10.32.2.44"/>
<nvpair id="public_netmask" name="netmask" value="20"/>
<nvpair id="public_nic" name="nic" value="eth0"/>
</attributes>
</instance_attributes>
</primitive>
</resources>
<constraints>
<rsc_location id="run_ip_resource" rsc="ip_resource">
<rule id="pref_run_ip_resource" score="100">
<expression id="express_pref_server" attribute="#uname"
operation="eq" value="els-sj-tftpha1"/>
</rule>
</rsc_location>
</constraints>
</configuration>
</cib>
--
-------------------------------------
Scott Machtmes, Sr. Systems Administrator
Engineering Lab Services
Brocade
1745 Technology Drive
San Jose, Ca. 95110
408-333-7203
[EMAIL PROTECTED]
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems