On 2008-07-14T10:13:21, Nikhil Kulkarni <[EMAIL PROTECTED]> wrote:

> This is my haresources file:
> 
> watchdog-client1 IPaddr::10.0.38.71/24/eth0 drbddisk::r0 Delay::3::0
> Filesystem::/dev/drbd1:://mnt/data::ext3 kill nfs Delay::3::0 nfs
> nfslock

Why all the Delay resources? They don't help anything, it just slows
your failover.

> Now, when I power back client1, it never becomes the secondary and the
> file system on client2 for some reason gets un-mounted and never gets
> mounted again.

drbd going to secondary is outside heartbeat's control; drbd (if used
with drbddisk) is started before heartbeat, and heartbeat just moves the
primary around.

If you mean to say that client1 never automatically switches back the
resources (from heartbeat's point of view), you did set auto_failback
off, so that won't happen.

> The logs on the client1 machine, tell me that it's trying to mount the
> file system twice (as shown in bold below) and it fails the second time,
> since the file system is already mounted the first time successfully.

There is no bold. This is text/plain, not html.

> Since, it fails the second time, the heartbeat resource just stops all
> its other processes.

Filesystem won't fail if started twice. (No RA is allowed to fail if
started twice, that's a legitimate operation.) Which version are you
running? That seems as if you're running an old and buggy version, and
really really should upgrade.


Regards,
    Lars

-- 
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________
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