Greetings,

I am testing a Linux-HA configuration on RHEL 6.2. It appears that the
configuration is working fine except the failing node is not
fenced/shutoff by stonith. If I shutdown the corosync service on a
node the resources move to the surviving node without error. crm_mon
appears to show the stonith process starting but the machine is never
powered off.

I tried testing with fence_ipmilan using the parameters in the
corosync primitive definition and the fence_ipmilan run works fine
(status, off, reboot).

Can anyone tell from the below outputs from 'crm_mon', 'crm resource
show', 'crm configure show' and 'crm ra list stonith' what I may be
missing in the configuration?

This is a test system hence the use of root/password. This isn't production.

Many thanks to any/all who take a moment to look these over.

--Jeff

----crm_mon----
============
Last updated: Fri Oct 26 22:29:56 2012
Last change: Fri Oct 26 20:05:54 2012 via cibadmin on node1
Stack: openais
Current DC: node1 - partition with quorum
Version: 1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14
2 Nodes configured, 2 expected votes
5 Resources configured.
============

Online: [ node1 node2 ]

 resFS00        (ocf::heartbeat:Filesystem):    Started node1
 resFS01        (ocf::heartbeat:Filesystem):    Started node1
 resFS02        (ocf::heartbeat:Filesystem):    Started node2
 ston-ipmi-node1        (stonith:fence_ipmilan):        Started node2
 ston-ipmi-node2        (stonith:fence_ipmilan):        Started node1
----------------

----crm_resource_show----
resFS00 (ocf::heartbeat:Filesystem) Started
resFS01 (ocf::heartbeat:Filesystem) Started
resFS02 (ocf::heartbeat:Filesystem) Started
ston-ipmi-node1 (stonith:fence_ipmilan) Started
ston-ipmi-node2 (stonith:fence_ipmilan) Started
----------------------------

----crm_configure_show----
node node1 \
        attributes standby="off"
node node2 \
        attributes standby="off"
primitive resFS00 ocf:heartbeat:Filesystem \
        meta target-role="Started" \
        operations $id="resFS00-operations" \
        op monitor interval="120" timeout="60" \
        op start interval="0" timeout="300" \
        op stop interval="0" timeout="300" \
        params device="/dev/disk/by-uuid/4dbe699b-ca8c-4353-a6a8-1678a35af294"
directory="/export/fs00" fstype="ext4"
primitive resFS01 ocf:heartbeat:Filesystem \
        meta target-role="Started" \
        operations $id="resFS01-operations" \
        op monitor interval="120" timeout="60" \
        op start interval="0" timeout="300" \
        op stop interval="0" timeout="300" \
        params device="/dev/disk/by-uuid/c80fc63c-7b2f-4e60-9e2f-3ba13af077ef"
directory="/export/fs01" fstype="ext4"
primitive resFS02 ocf:heartbeat:Filesystem \
        meta target-role="Started" \
        operations $id="resFS02-operations" \
        op monitor interval="120" timeout="60" \
        op start interval="0" timeout="300" \
        op stop interval="0" timeout="300" \
        params device="/dev/disk/by-uuid/332ba3b7-041f-4896-8157-9ea800a5e231"
directory="/export/fs02" fstype="ext4"
primitive ston-ipmi-node1 stonith:fence_ipmilan \
        params pcmk_host_check="static-list" pcmk_host_list="node1"
ipaddr="10.0.0.139" login="root" passwd="password" lanplus="true"
power_wait="4" action="off" timeout="30"
primitive ston-ipmi-node2 stonith:fence_ipmilan \
        params pcmk_host_check="static-list" pcmk_host_list="node2"
ipaddr="10.0.0.104" login="root" passwd="password" lanplus="true"
power_wait="4" action="off" timeout="30" \
        meta target-role="Started"
location cli-prefer-resFS02 resFS02 \
        rule $id="cli-prefer-rule-resFS02" inf: #uname eq node2
location loc-ston-node1 ston-ipmi-node1 -inf: node1
location loc-ston-node2 ston-ipmi-node2 -inf: node2
location locFS00 resFS00 50: node1
location locFS01 resFS01 50: node1
location locFS02 resFS02 50: node2
property $id="cib-bootstrap-options" \
        dc-version="1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="2" \
        no-quorum-policy="ignore" \
        stonith-enabled="true"
------------------------

----crm_list_ra_stonith-----
fence_ack_manual        fence_apc               fence_apc_snmp
 fence_bladecenter       fence_bladecenter_snmp  fence_brocade
  fence_cisco_mds         fence_cisco_ucs
fence_drac              fence_drac5             fence_egenera
 fence_eps               fence_ibmblade          fence_ifmib
  fence_ilo               fence_ilo_mp
fence_intelmodular      fence_ipmilan           fence_kdump
 fence_kdump_send        fence_nss_wrapper       fence_pcmk
  fence_rhevm             fence_rsa
fence_rsb               fence_sanbox2           fence_scsi
 fence_virsh             fence_vmware            fence_vmware_helper
  fence_vmware_soap       fence_wti
-------------------------------
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to