[Linux-cluster] fenced(8) not fencing through all fenceing devices

Miroslav Zubcic mvz+rhcluster at nimium.hr
Thu Feb 1 17:50:36 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

As subject says, I have problem with yet another critical cluster
installation. If we cannot reslove this problem, our customer is
considering another cluster solution. :-(

I have two nodes - IBM servers with redundant power. Every server is
connected on the other APC power switch. If we pool out all ethernet
cables from active node, other node will fence faulty unreachable node,
but fenced(8) will only fork ONE fence_apc command to ONE APC power switch.

Every server has first power cable in first, and second in second power
switch for maximal redundancy and secutiry.

By recycling only one power device, server normaly doesn't shut down
because it has redundant power.

I have attached strace(1) on fenced and I see only one fence_apc beeing
execve(2)d and only one connect(2) - on the first (pwr01) switch.

This has worked on RHEL 3 2-3 years ago AFAIR ...


This is relevant part of cluster.conf(5):


        <clusternodes>
                <clusternode name="tan9f1" votes="1">
                        <fence>
                                <method name="1">
                                        <device name="pwr01" port="1"
switch="10.52.2.240"/>
                                </method>
                                <method name="2">
                                        <device name="pwr02" port="1"
switch="10.52.2.241"/>
                                </method>
                        </fence>
                </clusternode>
                <clusternode name="tan9f2" votes="1">
                        <fence>
                                <method name="1">
                                        <device name="pwr01" port="2"
switch="10.52.2.240"/>
                                </method>
                                <method name="2">
                                        <device name="pwr02" port="2"
switch="10.52.2.241"/>
                                </method>
                        </fence>
                </clusternode>
        </clusternodes>
        <cman expected_votes="1" two_node="1"/>
        <fencedevices>
                <fencedevice agent="fence_apc" ipaddr="10.52.2.240"
login="clumgr" name="pwr01" passwd="XXXXXXXXXXX"/>
                <fencedevice agent="fence_apc" ipaddr="10.52.2.241"
login="clumgr" name="pwr02" passwd="XXXXXXXXXXX"/>
        </fencedevices>



- --
Miroslav Zubcic, Nimium d.o.o., email: <mvz at nimium.hr>
Tel: +385 01 4852 639, Fax: +385 01 4852 640, Mobile: +385 098 942 8672
Gredicka 3, 10000 Zagreb, Hrvatska

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEVAwUBRcIobMqzT+8/3SzgAQLErgf9FDTGtj6mnb0xQwEUxfiejzpObhcPelQr
GZhmf51ANJlEXwvH6Z17LxA5Y0QPU1xByUNR1bVBY45EYH3aZx90dWqBy7JNwq54
C1DOYCaoi+djeI7SUu/k5yhX20cDDqCKJfczQxKaW9LrIOYYIPmryBagnvPC2qaC
wLeYubrXGXJgn0HDeGFzDw/uWsLTJJItQnqHrCrFF+HI8nXNSYfaN5VmztkfUIhT
9D5/06z+k3nClMok5g1PLc+L5+8/7SYDrlfCs/mf5JBygW7H2vF9U2XRdKnIlPC0
iLYr/yGAcYqnj2DBDeyJqYZ+XK67RPsySFELGDF7kkv7fsMzLPMRrg==
=hZCZ
-----END PGP SIGNATURE-----




More information about the Linux-cluster mailing list