[Linux-cluster] fence_apc 7930s

Eric Schneider eschneid at uccs.edu
Fri May 11 15:34:19 UTC 2007


I am having issues getting fence_apc to work in my environment.

 

I get the following error when I try to fence:

 

May 11 09:22:22 sleepy fence_node[4002]: agent "fence_apc" reports: failed:
unrecognised menu response

 

I remember dealing with this before (on RHEL 4) and I had to use a 3rd party
fence_apc to get this working.

 

Has anyone else had this problem?  If so, how did you fix it?

 

OS - CentOS 5 2 node cluster

Fence Devices - 2 x apc 7930s

Cluster config - 

 

<?xml version="1.0"?>

<cluster alias="beta_cluster" config_version="35" name="beta_cluster">

        <fence_daemon clean_start="0" post_fail_delay="0"
post_join_delay="3"/>

        <clusternodes>

                <clusternode name="node1" nodeid="1" votes="1">

                        <fence>

                                <method name="1">

                                        <device name="apc1" option="off"
switch="1" port="22"/>

                                        <device name="apc2" option="off"
switch="1" port="22"/>

                                        <device name="apc1" option="on"
switch="1" port="22"/>

                                        <device name="apc2" option="on"
switch="1" port="22"/>

                                </method>

                        </fence>

                </clusternode>

                <clusternode name="node2" nodeid="2" votes="1">

                        <fence>

                                <method name="1">

                                        <device name="apc1" option="off"
switch="1" port="21"/>

                                        <device name="apc2" option="off"
switch="1" port="21"/>

                                        <device name="apc1" option="on"
switch="1" port="21"/>

                                        <device name="apc2" option="on"
switch="1" port="21"/>

                                </method>

                        </fence>

                </clusternode>

        </clusternodes>

        <cman expected_votes="1" two_node="1"/>

        <fencedevices>

                <fencedevice agent="fence_manual" name="human"/>

                <fencedevice agent="fence_apc" ipaddr="IP" login="apc"
name="apc1" passwd="bob"/>

                <fencedevice agent="fence_apc" ipaddr="IP" login="apc"
name="apc2" passwd="bob"/>

        </fencedevices>

        <rm>

                <failoverdomains>

                        <failoverdomain name="www" ordered="0"
restricted="1">

                                <failoverdomainnode name="node1"
priority="1"/>

                                <failoverdomainnode name="node2"
priority="1"/>

                        </failoverdomain>

                </failoverdomains>

                <resources/>

                <service autostart="1" domain="www" name="www"
recovery="relocate">

                        <script file="/etc/init.d/httpd" name="httpd">

                                <ip address="IP" monitor_link="1"/>

                                <clusterfs device="/dev/vg_1/lv_www"
force_unmount="0" fsid="44137" fstype="gfs" mountpoint="/var/www/html"
name="www" options=""/>

                        </script>

                </service>

        </rm>

</cluster>

 

 

Eric Schneider

Tech Services

UCCS, IT Department

262-3453 

eschneid at uccs.edu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20070511/c9d02250/attachment.htm>


More information about the Linux-cluster mailing list