[Linux-HA] heartbeat + IPaddr Resource is stopped
prashant n
massoo at 30gigs.com
Wed Dec 13 21:23:48 MST 2006
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!
More information about the Linux-HA
mailing list