On Wed, 16 May 2018 21:18:14 +0200
Jehan-Guillaume de Rorthais <j...@dalibo.com> wrote:

> On Wed, 16 May 2018 12:43:15 -0600
> Casey & Gina <caseyandg...@icloud.com> wrote:
> ...
> > fence_vmware - Fence agent for VMWare  
> 
> If I remember correctly, this fencing agent is able to connect to vcenter
> (and/or esxi) to fence a VM.

Here is a command to adapt that work to fence a VM connecting to an esxi server:

  pcs stonith create <fence_id> fence_vmware_soap                       \
    pcmk_host_check="static-list" pcmk_host_list="<nodeid>"             \
    port="<vm_name>" ipaddr="<esxi IP address>" login="<granted_login>" \
    passwd="<>password" ssl="1" ssl_insecure="1"                        \
    login_timeout=60 power_wait=3                                       \
    op monitor interval=60s

The customer that played with it told me it was working against its vcenter as
well, but with more latency, so they prefer to connect to the esxi servers.
_______________________________________________
Users mailing list: Users@clusterlabs.org
https://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to