<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div data-html-editor-font-wrapper="true" style="font-family: arial, sans-serif; font-size: 13px;"> <br>Hi,<br><br>I have a 2 node pacemaker cluster configured with the fence agent vmware_soap.<br>Everything works fine until the vCenter is restarted. After that, stonith fails and stop.<br><br>[root@node1 ~]# pcs status <br>Cluster name: psqltest<br>Stack: corosync<br>Current DC: node2 (version 1.1.16-12.el7_4.7-94ff4df) - partition with quorum<br>Last updated: Thu Feb 22 11:30:22 2018<br>Last change: Mon Feb 19 09:28:37 2018 by root via crm_resource on node1<br><br>2 nodes configured<br>6 resources configured<br><br>Online: [ node1 node2 ]<br><br>Full list of resources:<br><br> Master/Slave Set: ms_drbd_psqltest [drbd_psqltest]<br> Masters: [ node1 ]<br> Slaves: [ node2 ]<br> Resource Group: pgsqltest<br> psqltestfs (ocf::heartbeat:Filesystem): Started node1<br> psqltest_vip (ocf::heartbeat:IPaddr2): Started node1<br> postgresql-94 (ocf::heartbeat:pgsql): Started node1<br> vmware_soap (stonith:fence_vmware_soap): Stopped<br><br>Failed Actions:<br>* vmware_soap_start_0 on node1 'unknown error' (1): call=38, status=Error, exitreason='none',<br> last-rc-change='Thu Feb 22 10:55:46 2018', queued=0ms, exec=5374ms<br>* vmware_soap_start_0 on node2 'unknown error' (1): call=56, status=Error, exitreason='none',<br> last-rc-change='Thu Feb 22 10:55:39 2018', queued=0ms, exec=5479ms<br><br>Daemon Status:<br> corosync: active/enabled<br> pacemaker: active/enabled<br> pcsd: active/enabled<br> <br> <br>[root@node1 ~]# pcs stonith show --full <br> Resource: vmware_soap (class=stonith type=fence_vmware_soap)<br> Attributes: inet4_only=1 ipaddr=192.168.1.1 ipport=443 login=MYDOMAIN\User passwd=mypass pcmk_host_list=node1,node2 power_wait=3 ssl_insecure=1 action= pcmk_list_timeout=120s pcmk_monitor_timeout=120s pcmk_status_timeout=120s<br> Operations: monitor interval=60s (vmware_soap-monitor-interval-60s)<br> <br><br>I need to manually perform a "resource cleanup vmware_soap" to put it online again.<br>Is there any way to do this automatically?.<br>Is it possible to detect vSphere online again and enable stonith?.<br><br>Thanks.<br><signature></signature> </div></body></html>