On Dec 13, 2007, at 8:11 PM, Scott Mann wrote:
I'm seeing about a 2.5minute delay between the time that heartbeat
starts and the time that the IP address comes up on eth0:0 (if it
were 5minutes, I'd at least have a clue).
i depends on your configured deadtime IIRC.
what does ha.cf look like?
Here's my ha.cf:
logfacility local0
keepalive 2
deadtime 30
warntime 10
initdead 120
120 - that's 2 of your 2.5 minutes right there
udpport 694
baud 19200
serial /dev/ttyS0 # Linux
mcast eth0 225.0.0.1 694 1 0
auto_failback off
autojoin any
apiauth azClient uid=root,smann
crm yes
That is strange.
3) The following "preference" showed up in the cib.xml as a result
of running haresources2cib.py:
<constraints>
<rsc_location
id="rsc_location_IPaddr_192_168_0_98" rsc="IPaddr_192_168_0_98">
<rule
id="prefered_location_IPaddr_192_168_0_98" score="100">
<expression
attribute="#uname" id="prefered_location_IPaddr_192_168_0_98_expr"
operation="eq" value="paul"/>
</rule>
</rsc_location>
</constraints>
Although, this doesn't seem to bother things (there's never a
match for "paul," because no such host exists),
In that case your haresources don't match any of the nodes. The
best would be to replace "paul" with whichever node you may
prefer.
when I removed
the constraint section in its entirety from cib.xml (with
heartbeat shutdown completely on both systems) and restarted
heartbeat, it complained and wouldn't restart. I put the
constraint section back and all was well again. Is there a
proper way to remove that section? Generally, what is the
correct way to manage the cib.xml file? I've fooled around with
cibadmin (not terribly successfully, yet ;-), but that requires
that heartbeat be up and running. Is there a way to edit the
file when heartbeat isn't running?
You're not to edit the CIB by hand. If you must (though it's
infinitely preferable to use cibadmin), then first stop the
cluster, edit, and remove the .sig files.
an easy way to (effectively) edit by hand without restarting the
cluster
cibadmin -Ql > tmp.xml
vi tmp.xml
cibadmin -R -x tmp.xml
Hey! This works! Thanks, again!
Thanks,
Dejan
Thanks, very much,
Scott Mann
Sr Software Engineer
Aztek Networks
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
<winmail.dat>_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems