[Linux-cluster] Fencing problems

Jari J. Taskinen jtaskine at cc.hut.fi
Wed Nov 30 13:22:32 UTC 2005


Hi there!


I'm running RHEL v3 and GFS-6.0.2.20-2 with it and having problems with manual
fencing. I'm planning to use other fencing methods, but will they work if
manual doesn't? By trying to fence a node (fence_node test3) I only get this
in /etc/log/messages:


Nov 30 14:28:43 test2 fence_node[10737]: Performing fence method, human, on test3.
Nov 30 14:28:43 test2 fence_node[10737]: The agent (fence_manual) reports:
Nov 30 14:28:43 test2 fence_node[10737]: Failed to exec the agent, fence_manual.
Nov 30 14:28:43 test2 fence_node[10737]:
Nov 30 14:28:43 test2 fence_node[10737]: All fencing methods FAILED!
Nov 30 14:28:43 test2 fence_node[10737]: Fence of "test3" was unsuccessful.



Here are the config files I'm using:



cluster.ccs

cluster {
           name = "gfs"
           lock_gulm {
               servers = ["test1","test2","test3"]
           }
}



fence.ccs

fence_devices {
          t1 {
                agent = "fence_manual"
          }
          t2 {
                agent = "fence_manual"
          }
          t3 {
                agent = "fence_manual"
          }
}


nodes.ccs

nodes {
    test1 {
       ip_interfaces {
          eth0 = "10.0.0.1"
       }
       fence {
          human {
             t1 {
                ipaddr = "10.0.0.1"
             }
          }
       }
    }
    test2 {
       ip_interfaces {
          eth0 = "10.0.0.4"
       }
       fence {
          human {
             t2 {
                ipaddr = "10.0.0.4"
             }
          }
       }
     }
    test3 {
       ip_interfaces {
          eth0 = "10.0.0.2"
       }
       fence {
          human {
             t3 {
                ipaddr = "10.0.0.2"
             }
          }
       }
     }
}




I did everything according to the manual to setup the environment.
Everything else seems to be working ok, but fencing gives me a head ache.

Help is very much appreciated :-)




Cheers,


Jari




More information about the Linux-cluster mailing list