On 2003-10-11T11:42:44,
Michael Lee <ctlee@xxxxxxxxxxx> said:
> Is it possible to let a slave to obtain a resource (let it execute a
> script) when it start up as a slave, and give it up (let it execute
> another script) when the master failover to it?
No.
> I have setup a 2-boxes LVS-NAT cluster, one of them is the primary
> director / realserver, and the other one is backup director /
> realserver. Everytime after I started hearbeat on both boxes, I need
> to manually add a default gateway in the slave. And I need to do the
> same thing again after I inducted a failover - failback sequence.
Why? Can't you just leave the default gateway statically in place?
Sincerely,
Lars Marowsky-Brée <lmb@xxxxxxx>
--
High Availability & Clustering ever tried. ever failed. no matter.
SuSE Labs try again. fail again. fail better.
Research & Development, SUSE LINUX AG -- Samuel Beckett
|