Brad Filipek wrote:
I have a two node cluster and each node has two power supplies. Each
power supply is going to be plugged into a different APC switch. I
currently only have one power supply plugged in to one APC switch (for
testing purposes) and fencing works fine. Now I want to plug the
second power supply in. Do I need to add another fence level, or do I
just add a second fence device to the first fence level?
Thanks,
Brad Filipek
*_Confidentiality Notice: _*This message is intended for the use of
the individual or entity to which it is addressed and may contain
information that is privileged, confidential and exempt from
disclosure under applicable law. If the reader of this message is not
the intended recipient or the employee or agent responsible for
delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited.
If you have received this communication in error, please notify us
immediately by email reply or by telephone and immediately delete this
message and any attachments.
------------------------------------------------------------------------
--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster
Add a second device to the same level, and use the 'option="Off"' and
'option="On"' attributes to make certain both power supplies are
completely shut off before turning either one on again. Without setting
the option attribute, the default is Reboot. It would look like this:
.....
<fence>
<method name="1">
<device name="my_apc" port="1" option="Off"/>
<device name="my_apc" port="2" option="Off"/>
<device name="my_apc" port="1" option="On"/>
<device name="my_apc" port="2" option="On"/>
</method>
</fence>
If you are using one of the GUI tools, it should be smart enough to
detect that you are using two power switch type devices in the same
level and add the option attributes for you. ..all you need to do is
specify the device names and the ports.
-J
--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster