AW: drbd resource script patch

"Martin Bene" <[email protected]> Thu, 9 May 2002 14:27:15 +0200
Newsgroups gmane.linux.failsafe
Message-ID <[email protected]>
> - FailSafe should not only control the primary, but also the 
> secondary via a
>   resource.
> 
>   (ie, the secondary is "online pending" until it is fully 
> sync'ed etc)
>   
> - The primary resource _knows_ about this and can control the 
> secondary
>   resource.
> 
> - A special failover policy script will automatically pick 
> the right node for
>   the primary.

While a good idea, this looks like way more work than I can currently put
into failsafe - esp. since the kludge used in the drbd resource scripts
actually works quite well :-) For more complex replicating systems this
aproach would probably be necessary. doing scripts for a replicating
database that works on more than 2 nodes could be fun :-)

There's another solution possible: the current failover scripts already have
"InPlaceRecovery" as one of the possible failover attributes for  failover.
just letting the exclusive script show "running on this node" while
replication is in progress and relying on "InPlace Recovery" to pick the
right node to start a resource group should work. I didb't use this because
default for recovery parameter is "Automatic Recovery", at least when using
the GUI to configure the cluster. 

> A very minor nit pick - could you try to set your line-length 
> in e-mail to 78 characters or so?

Argh, the blessings of MS exchange - sorry. (No I don't need any comments on
the combination of interest in high availability and the MUA/MTA combination
I'm using.) should be fixed now.

Bye, Martin