[Linux-cluster] fence_node fails for fence_wti agent - cluster 3.0

Thomas Sjolshagen thomas at sjolshagen.net
Sat Aug 15 02:13:16 UTC 2009


I've got a WTI NPS power switch that I've configured as a fence device  
for my 2-node cluster. If I call 'fence_wti' directly with  
action=status or action=reboot, it does what I expect it to do; fence  
the node I'm telling it to fence.

However, if I issue "fence_node -vv <node>", the command fails with  
the following error:

# fence_node -vv node1
fence node1 dev 0.0 agent fence_wti result: error from agent
agent args: plug=1 agent=fence_wti ipaddr=  
debug-file=/tmp/wti-fence.debug inet4-only=1 verbose=1 ipport=23  
fence node1 failed

Also, there is no /tmp/wti-fence* file and the only entry in the error  
logs is in /var/log/messages:

fence_node[19172]: fence virt1-backup.sjolshagen.net failed

Suggestions on how I can further troubleshoot this or fix the problem?

Thanks in advance,

// Thomas

My cluster.conf file contains the following fencedevice entry:

    <!-- Definition of fence device named "power", referenced previously -->
    <fencedevice agent="fence_wti" name="power" ipaddr=""  
debug-file="/tmp/wti-fence.debug" inet4-only="1" verbose="1"  
ipport="23" action="reboot"/>
And for the clusternodes definitions:

         <clusternode name="node2" nodeid="1" votes="1">
                         <method name="1">
                                 <device name="power" plug="1"/>
         <clusternode name="node2" nodeid="3" votes="1">
                         <method name="1">
                                 <device name="power" plug="8"/>

This message was sent using IMP, the Internet Messaging Program.

More information about the Linux-cluster mailing list