Hi,

i have a Problem with Linux-HA.

My /etc/ha.d/haresources file (on both Servers) looks like this:

host1 10.10.121.130 drbddisk::drbd0 Filesystem::/dev/drbd0::/dus::ext3 drbddisk::drbd2 Filesystem::/dev/drbd2::/home/dus::ext3 resource1 host2 10.10.121.131 drbddisk::drbd1 Filesystem::/dev/drbd1::/fra::ext3 drbddisk::drbd3 Filesystem::/dev/drbd3::/home/fra::ext3 resource2

at Server startup Heartbeat starts the Networkinterface (121.130 / 121.131), starts DRBD, mounts the DRBD Devices on each Server (drbd0 / 2 ist primary on host1 and drbd1 / 3 is primary on host2) and starts the resource1/2 Script (1 on host1 and 2 on host2). Thats perfect.

If host1 fails, host2 takes his IP, his DRBD Devices (and gets primary for them) and starts the resources1 script via heartbeat. Thats perfect too. But at failover heartbeat on host2 (or on host1 if host2 fails) also starts his own resource script again (here resource2).

I dont want him to do that. at failover the server should only start the resources from the failed host...not his own again. At start up it is perfect that heartbeat starts the resources (IP, DRBD, Script..) for his own host but not at failover.

Is it possible to configure something like that?

Thanks in Advanced.

--
Mit freundlichen Grüßen / Kind regards


Sebastian Kösters

systems architect
Trade Haven GmbH
In der Steele 37,      40599 Düsseldorf
T +49 211 749659 14    mailto:[EMAIL PROTECTED]
F +49 211 749659 29    http://www.tradehaven.de
--------------------------------------------------------------------
Geschäftsführer: Michael Heck | Oliver Wagner Handelsregister Düsseldorf:  HRB 
53379

_______________________________________________
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