[Linux-HA] heartbeat + IPaddr Resource is stopped

Andrew Beekhof beekhof at gmail.com
Wed Dec 27 12:02:29 MST 2006


On 12/22/06, prashant n <massoo at 30gigs.com> wrote:
> So,
>
> this warning / info message can be ignored ?

correct

>
> shann
>
> On Wed, 20 Dec 2006 13:15:26 +0100, "Andrew Beekhof" <beekhof at gmail.com> wrote:
> > On 12/20/06, prashant n <massoo at 30gigs.com> wrote:
> >> hi,
> >>
> >> as I said I get the IPaddr Resource is stopped message whenever i start
> > / restart the HA.
> >
> > thats an info message and doesn't indicate a problem
> >
> > also, BasicSanityCheck is for checking the build is sane and uses its
> > own configuration.
> > it wont check that your configuration is ok (if thats what you're
> > thinking)
> >
> >> On Fri, 15 Dec 2006 15:38:04 +0100, "Andrew Beekhof" <beekhof at gmail.com>
> > wrote:
> >> > what is the problem here?
> >> >
> >> > On 12/14/06, prashant n <massoo at 30gigs.com> wrote:
> >> >> 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
> >> >>
> >> > _______________________________________________
> >> > 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
> >>
> >> -----------------------------------------------------------
> >> 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
> >>
> > _______________________________________________
> > 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
>
> -----------------------------------------------------------
> 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