[Linux-cluster] Fencing using brocade

James Parsons jparsons at redhat.com
Wed Oct 25 17:53:55 UTC 2006


isplist at logicore.net wrote:

>>>I want to use my brocade switch as the fencing device for my cluster. I
>>>      
>>>
>
>  
>
>>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.
>>    
>>
>
>For what ever reason, I cannot run system-config-cluster on any of my 
>machines. Could you look at this and let me know if it looks right? Seems to 
>be working.
>
><?xml version="1.0"?>
><cluster config_version="57" name="vgcomp">
><fence_daemon clean_start="1" post_fail_delay="0" post_join_delay="3"/>
>    <clusternodes>
>        <clusternode name="compdev" votes="1">
>                <fence>
>                    <method name="1">
>                        <device name="fence_brocade" port="0"/>
>
Here you are not referring to the name of the fence device, but the 
agent name. you need to refer to the name you gave the fence device - in 
this case, "brocade". Same for all nodes.

>                    </method>
>                </fence>
>        </clusternode>
>        <clusternode name="cweb92" votes="1">
>                <fence>
>                    <method name="1">
>                        <device name="fence_brocade" port="1"/>
>                    </method>
>                </fence>
>        </clusternode>
>        <clusternode name="cweb93" votes="1">
>                <fence>
>                    <method name="1">
>                        <device name="fence_brocade" port="2"/>
>                    </method>
>                </fence>
>        </clusternode>
>        <clusternode name="cweb94" votes="1">
>                <fence>
>                    <method name="1">
>                        <device name="fence_brocade" port="3"/>
>                    </method>
>                </fence>
>        </clusternode>
>        <clusternode name="qm250" votes="1">
>                <fence>
>                    <method name="1">
>                        <device name="fence_brocade" port="4"/>
>                    </method>
>                </fence>
>        </clusternode>
>        <clusternode name="qm249" votes="1">
>                <fence>
>                    <method name="1">
>                        <device name="fence_brocade" port="5"/>
>                    </method>
>                </fence>
>        </clusternode>
>        <clusternode name="qm248" votes="1">
>                <fence>
>                    <method name="1">
>                        <device name="fence_brocade" port="6"/>
>                    </method>
>                </fence>
>        </clusternode>
>        <clusternode name="qm247" votes="1">
>                <fence>
>                    <method name="1">
>                        <device name="fence_brocade" port="7"/>
>                    </method>
>                </fence>
>        </clusternode>
>        <clusternode name="dev" votes="1">
>                <fence>
>                    <method name="1">
>                        <device name="fence_brocade" port="8"/>
>                    </method>
>                </fence>
>        </clusternode>
>    </clusternodes>
><fencedevices>
>    <fencedevice agent="fence_brocade" ipaddr="x.x.x.x" login="user" 
>name="brocade" passwd="xxx"/>
></fencedevices>
></cluster>
>
>
>
>--
>Linux-cluster mailing list
>Linux-cluster at redhat.com
>https://www.redhat.com/mailman/listinfo/linux-cluster
>  
>





More information about the Linux-cluster mailing list