bernd at broermann.com
Fri Jun 4 01:18:57 CEST 2004
I want correctly set up a HA-DRBD cluster , which serve data via nfs.
I am using
on a 2.4.24 kernel based debian woody .
All is working so far.
When I gracefully stop Node1(master) with /etc/init.d/heartbeat stop ,
Node2 ( slave ) is taking over, becomes primary and the nfs share is
Even when Node1 comes back, all is working.
When I poweroff Node1, Node2 is taking over as I want as well.
But when Node1 comes back , heartbeat starts SyncAll from Node2 to Node1
and stops NFS without waiting for for finishing the sync. Node1 starts
nfs while secondary.
One have to wait all the SyncAll time until can access the cluster.
In my /etc/ha.d/haresources there is on both nodes.
node1 192.168.96.65 datadisk::drbd0 nfs-kernel-server
How can I tell heartbeat to wait with shutting down the nfs-server on
Node2 ( Wait to start the nfs server on Node1 ) ?
Do you have what options to put in the /etc/exports ?
More information about the drbd-user