On Wed, Jun 08, 2011 at 10:59:42AM +0800, xixi wrote:
> 
> Hi,all
> I'm using heartbeat-2.13 and drbd 8.2.6 in CentOS 5.6 with kernel
> 2.6.18-238.el5. When I exec ' service heartbeat stop' , the whole
> system will reboot. I dont know why.
> Is there some config error in my heartbeat config file?

Maybe you get a stop failure.
If "Filesystem stop" failes, i.e. it cannot be unmounted, then that is a
stop failure, which is fatal and will cause heartbeat to reboot.

There should be something in /var/log/ha.log (or ha.debug),
so go have a look.

> # cat /etc/ha.d/ha.cf 
> debugfile /var/log/ha.debug
> logfile /var/log/ha.log
> logfacility     local0
> keepalive 1
> initdead 60
> deadtime 5
> node Node1
> node Node2
> bcast eth1
> auto_failback off
> # cat /etc/ha.d/haresources 
> Node1 IPaddr::192.168.1.100
> Node1 drbddisk::r0 
> Node1 Filesystem::/dev/drbd0::/mnt/drbd::ext3
> 
> 192.168.1.100 is VIP.
> Node1 is primary drbd node and Node2 is secondary drbd node.

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to