Re: two fencing problems

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

 



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

--

Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux