[Pacemaker] Question about the resource to fence a node

Kazunori INOUE kazunori.inoue3 at gmail.com
Tue Oct 15 09:24:46 UTC 2013


Hi,

I'm using pacemaker-1.1 (the latest devel).
I started resource (f1 and f2) which fence vm3 on vm1.

$ crm_mon -1
Last updated: Tue Oct 15 15:16:37 2013
Last change: Tue Oct 15 15:16:21 2013 via crmd on vm1
Stack: corosync
Current DC: vm1 (3232261517) - partition with quorum
Version: 1.1.11-0.284.6a5e863.git.el6-6a5e863
3 Nodes configured
3 Resources configured

Online: [ vm1 vm2 vm3 ]

 pDummy (ocf::pacemaker:Dummy): Started vm3
 Resource Group: gStonith3
     f1 (stonith:external/libvirt):     Started vm1
     f2 (stonith:external/ssh): Started vm1


"reset" of f1 which hasn't been started on vm2 was performed when vm3 is fenced.

$ ssh vm3 'rm -f /var/run/Dummy-pDummy.state'
$ for i in vm1 vm2; do ssh $i 'hostname; egrep " reset | off "
/var/log/ha-log'; done
vm1
Oct 15 15:17:35 vm1 stonith-ng[14870]:  warning: log_operation:
f2:15076 [ Performing: stonith -t external/ssh -T reset vm3 ]
Oct 15 15:18:06 vm1 stonith-ng[14870]:  warning: log_operation:
f2:15464 [ Performing: stonith -t external/ssh -T reset vm3 ]
vm2
Oct 15 15:17:16 vm2 stonith-ng[9160]:  warning: log_operation: f1:9273
[ Performing: stonith -t external/libvirt -T reset vm3 ]
Oct 15 15:17:46 vm2 stonith-ng[9160]:  warning: log_operation: f1:9588
[ Performing: stonith -t external/libvirt -T reset vm3 ]

Is it specifications?

Best Regards,
Kazunori INOUE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stopped_resource_performed_reset.tar.bz2
Type: application/x-bzip2
Size: 193248 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20131015/d1dfa3e2/attachment-0003.bz2>


More information about the Pacemaker mailing list