[Linux-HA] Heartbeat IP problem
Andrew Beekhof
beekhof at gmail.com
Tue Oct 10 04:34:35 MDT 2006
On 10/10/06, Dan Track <dan.track at gmail.com> wrote:
> Hi
>
> There seems to be a bug in heartbeat. I'm running heartbeat 2.0.7 on
> rhel 4 es. The problem is that once I shutdown heartbeat on both nodes
> (nodes are in active/passive mode) the primary node doesn't release
> the IP. I don't know how to get rid of the IP.
>
> Any ideas?
Any logs?
>
> My configs:
>
> node1: ha.cf
>
> logfile /var/log/ha-log
> logfacility daemon
> keepalive 1
> deadtime 10
> warntime 5
> initdead 120 # depend on your hardware
> udpport 694
> ping 10.11.8.40
> bcast eth1
> ucast eth1 192.168.16.2
> auto_failback off
> node zhang
> node quan
> respawn hacluster /usr/lib/heartbeat/ipfail
> use_logd yes
>
> node2: ha.cf
> logfile /var/log/ha-log
> logfacility daemon
> keepalive 1
> deadtime 10
> warntime 5
> initdead 120 # depend on your hardware
> udpport 694
> ping 10.11.8.40
> bcast eth1
> ucast eth1 192.168.16.2
> auto_failback off
> node zhang
> node quan
> respawn hacluster /usr/lib/heartbeat/ipfail
> use_logd yes
>
>
> /var/lib/heartbeat/crm/cib.xml:
>
> <?xml version="1.0" ?>
> <cib>
> <configuration>
> <crm_config>
> <nvpair id="transition_idle_timeout"
> name="transition_idle_timeout" value="120s"/>
> <nvpair id="symmetric_cluster" name="symmetric_cluster"
> value="true"/>
> <nvpair id="no_quorum_policy" name="no_quorum_policy" value="stop"/>
> </crm_config>
> <nodes/>
> <resources>
> <group id="group_1">
> <primitive class="ocf" id="IPaddr_1"
> provider="heartbeat" type="IPaddr">
> <operations>
> <op id="1" interval="5s" name="monitor" timeout="5s"/>
> </operations>
> <instance_attributes>
> <attributes>
> <nvpair name="ip" value="10.11.8.42"/>
> <nvpair name="netmask" value="16"/>
> <nvpair name="nic" value="eth0"/>
> </attributes>
> </instance_attributes>
> </primitive>
> </group>
> </resources>
> <constraints>
> <rsc_location id="rsc_location_group_1" rsc="group_1">
> <rule id="prefered_location_group_1" score="100">
> <expression attribute="#uname" operation="eq"
> value="zhang"/>
> </rule>
> </rsc_location>
> </constraints>
> </configuration>
> <status/>
> </cib>
>
> Thanks in advance
> Dan
> _______________________________________________
> 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