<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi!<br>
<br>
I can only recommend the system-config-cluster GUI, but if you feel
brave enough you can do it by hand<br>
<br>
This example is for a sanbox2, but it should get you going:<br>
<br>
...<br>
<fence_daemon post_fail_delay="0" post_join_delay="3"/><br>
<clusternodes><br>
<clusternode name="clusty1" votes="1"><br>
<fence><br>
<method name="1"><br>
<device name="sanbox"
port="0"/><br>
</method><br>
</fence><br>
</clusternode><br>
<clusternode name="clusty2" votes="1"><br>
<fence><br>
<method name="1"><br>
<device name="sanbox"
port="1"/><br>
</method><br>
</fence><br>
</clusternode><br>
....<br>
</clusternodes><br>
<fencedevices><br>
<fencedevice agent="fence_sanbox2"
ipaddr="xxx.xxx.xxx.xxx" login="username" name="sanbox"
passwd="password"/><br>
</fencedevices><br>
...<br>
<br>
And don't forget to check the fence_brocade manpage for your brocade
switch for further options...<br>
<br>
Cheers,<br>
<br>
Frank...<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:isplist@logicore.net">isplist@logicore.net</a> wrote:
<blockquote cite="mid200691310054.237706@leena" type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">I want to use my brocade switch as the fencing device for my cluster. I
cannot find any documentation showing what I need to set up on the brocade
itself and within the cluster.conf file as well to make this work.
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap="">The system-config-cluster application supports brocade fencing. It is a
two part process - first you define the switch as a fence device; type
brocade, then you select a node an click "Manage fencing for this node"
and declare a fence instance.
</pre>
</blockquote>
<pre wrap=""><!---->
Ah, I'm at the command line :).
So, there is nothing I need to do on the brocade itself then? The cluster
ports aren't connected directly, they are connected into a compaq hub, then
the hub is connected into the brocade. The brocade seems to know about the
external ports however since they are listed when I look on the switch.
As for the conf file, I've not found enough information on how to build a good
conf file so know this one is probably not even complete. Been working on
other parts of the problems then wanting to get to this.
<?xml version="1.0"?>
<cluster config_version="40" name="vgcomp">
<fence_daemon clean_start="1" post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="cweb92.companions.com" nodeid="92" votes="1"/>
<clusternode name="cweb93.companions.com" nodeid="93" votes="1"/>
<clusternode name="cweb94.companions.com" nodeid="94" votes="1"/>
<clusternode name="dev.companions.com" nodeid="99" votes="1"/>
<clusternode name="qm247.companions.com" nodeid="247" votes="1"/>
<clusternode name="qm248.companions.com" nodeid="248" votes="1"/>
<clusternode name="qm249.companions.com" nodeid="249" votes="1"/>
<clusternode name="qm250.companions.com" nodeid="250" votes="1"/>
</clusternodes>
<cman/>
<fencedevices>
<fencedevice agent="fence_brocade" ipaddr="x.x.x.x" login="xxx"
name="brocade" passwd="xxx"/>
</fencedevices>
<rm>
<failoverdomains/>
<resources/>
</rm>
</cluster>
--
Linux-cluster mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/linux-cluster">https://www.redhat.com/mailman/listinfo/linux-cluster</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
--------------------------------------------------------------------------
Frank Hellmann Optical Art GmbH Waterloohain 7a
DI Supervisor <a class="moz-txt-link-freetext" href="http://www.opticalart.de">http://www.opticalart.de</a> 22769 Hamburg
<a class="moz-txt-link-abbreviated" href="mailto:frank@opticalart.de">frank@opticalart.de</a> Tel: ++49 40 5111051 Fax: ++49 40 43169199 </pre>
</body>
</html>