[Linux-cluster] Adding a new fence agent

Marcos David marcos.david at efacec.pt
Thu Mar 5 16:42:20 UTC 2009


Hi,

I modified the bladecenter fence agent script to work with an HP c7000
enclosure and i named it fence_c7000 and placed it in the/sbin dir.

In order to use this as a fencing device I created the following entries
in my cluster.conf:

<?xml version="1.0" ?>
<cluster config_version="2" name="new_cluster">
        <fence_daemon post_fail_delay="0" post_join_delay="3"/>
        <clusternodes>
                <clusternode name="node1" nodeid="1" votes="1">
                        <fence>
                                <method name="1">
                                        <device name="node1_ilo"/>
                                </method>
                                <method name="2">
                                        *<device blade="1"
name="HP_C7000_OA1"/>*
                                </method>
                        </fence>
                </clusternode>
        </clusternodes>
        <cman/>
        <fencedevices>
                *<fencedevice agent="fence_c7000" ipaddr="10.11.0.1"
login="test" name="HP_C7000_OA1" passwd="pwd"/>*
                <fencedevice agent="fence_ilo" hostname="10.11.0.11"
login="test" name="node1_ilo" passwd="pwd"/>
        </fencedevices>
        <rm>
                <failoverdomains/>
                <resources/>
        </rm>
</cluster>


I then added a new fence level and this fence device to each node.

Is this enough to used the new fence_c7000 script? Or is there another
configuration to be done?


Once I have a stable version, where can I upload it so it can be added
to the cluster packages?



Thanks.
Marcos David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20090305/848956d3/attachment.htm>


More information about the Linux-cluster mailing list