[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] two fencing problems

On Wed, 2005-12-07 at 10:08 -0500, Greg Forte wrote:

>                                          <device name="FENCE1" 
> option="reboot" port="1"/>
>                                          <device name="FENCE2" 
> option="reboot" port="1"/>
> and increased the reboot wait time on the PDUs to make sure it'd wait 
> long enough, and that SEEMS to work (once I remembered to turn off ccsd 
> before updating my cluster.conf by hand so that it didn't end up 
> replacing it with the old one immediately ;-)

I don't know how I missed this, but this is a poor idea.

What if fenced hangs in the middle?  Then you haven't turned off the
power at all, but the cluster thinks you did!  Goodbye, file systems!

There's no way to guarantee that both ports were turned off
simultaneously, irrespective of the timeout values. :(

You could do:

   <device name="FENCE1" option="off" port="1"/>
   <device name="FENCE2" option="reboot" port="1"/>
   <device name="FENCE1" option="on" port="1"/>

...but that's about as "optimal" as you can get while still being safe.

-- Lon

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]