[Linux-HA] heartbeat + IPaddr Resource is stopped
MIQUET Pascal
pascal.miquet at wanadoo.fr
Thu Dec 14 00:52:41 MST 2006
I'd suggest to set the node definition on 2 lines.
node drdb1.mobiapps.com # List our cluster members
node drdb2.mobiapps.com # List our cluster members
And concerning the HAResources set IPAdrr
drdb1.mobiapps.com IPaddr2::172.16.1.50/24/eth1/172.16.1.255
drbddisk::r0 Filesystem::/dev/drbd0::/data::ext3 apache
My system on RH EL 3 and CentOS 3 using HA 1.2.3 using only eth0 and
eth1 for Heartbeat, I mean i do not use the serial connection to set
Heartbeat.
I also need to remove the ping or ping_group directive as it fails and
then stop the service on the node.
HTH
Regards
Pascal
Le mercredi 13 décembre 2006 à 22:23 -0600, prashant n a écrit :
> hi,
>
> I have a 2 node HA test setup in which i have the following configuration :
> O.S : CentOS 4.4 x86_64
> drbd : kernel-module-drbd-2.6.9-42.EL-0.7.21-1.c4 & drbd-0.7.21-1.c4
> heartbeat : heartbeat-2.0.7-1.c4
> 2 NICs :
> on node1 eth0=10.1.1.46, eth1=172.16.1.155
> on node2 eth0=10.1.1.56, eth1=172.16.1.56
> 1 Serial-Port-Cable and 1 RJ45 Cross-Over-Cable(connected to both nodes on eth0) is connecting both the nodes
>
> All the above was installed from the official rpms from CentOS releases.
> I have configured the drbd successfully and it is running properly
> When I try to do the sanity check as : sh /usr/lib64/heartbeat/BasicSanityCheck , I get the following output :
> ----------------------------------------------------------------------------------------------
> Using interface: eth1
> Starting base64 and md5 algorithm tests
> base64 and md5 algorithm tests succeeded.
> Starting heartbeat
> Starting High-Availability services:
> 2006/12/13_22:33:07 INFO: IPaddr Resource is stopped
> [ OK ]
> Reloading heartbeat
> Reloading heartbeat
> Stopping heartbeat
> Stopping High-Availability services:
> [ OK ]
> Checking STONITH basic sanity.
> Performing apphbd success case tests
> Performing apphbd failure case tests
> Starting IPC tests
> Starting LRM tests
> Starting heartbeat
> Starting High-Availability services:
> 2006/12/13_22:34:25 INFO: IPaddr Resource is stopped
> [ OK ]
> starting STONITH Daemon tests
> STONITH Daemon tests passed.
> Stopping heartbeat
> Stopping High-Availability services:
> [ OK ]
> Starting CRM tests
> CRM tests passed.
> Starting heartbeat
> Starting High-Availability services:
> [ OK ]
> starting SNMP Agent tests
> SNMP Agent tests failed.
> Stopping heartbeat
> Stopping High-Availability services:
> [ OK ]
> 1 errors. Log file is stored in /tmp/linux-ha.testlog
> ----------------------------------------------------------------------------------------------
> My /etc/ha.d/ha.cf is
> ----------------------------------------------------------------------------------------
> logfacility local0 # syslog facility
> debugfile /var/log/ha-debug # ha-debug logs
> logfile /var/log/ha-log # ha info logs
> keepalive 1 # Send one heartbeat each second
> warntime 2 # late HB
> deadtime 10 # Declare nodes dead after 10 seconds
> node drdb1.mobiapps.com drdb2.mobiapps.com # List our cluster members
> ping 172.16.1.1 # Ping our router to monitor ethernet connectivity
> bcast eth0 eth1 # Broadcast heartbeats on eth0 and eth1 interfaces
> baud 19200 # baud rate
> serial /dev/ttyS0 # HB serial link
> auto_failback no # Don't fail back to drbd1.mobiapps.com automatically
> ---------------------------------------------------------------------------------------------------
> My /etc/ha.d/haresources is
> ------------------------------------------------------------------------------------------------------
> drdb1.mobiapps.com IPaddr2::172.16.1.50 drbddisk::r0 Filesystem::/dev/drbd0::/data::ext3 apache
> -----------------------------------------------------------------------------------------------------
> If any one wants the complete log I can attach the same.
>
> Please guide me howto resolve this IPaddr Resource is stopped issue
>
> Thanks & Regards
> Prashant
>
>
> -----------------------------------------------------------
> Sign up and get your 30GB webmail at www.30gigs.com now!
> _______________________________________________
> 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