<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>Does somebody know how to set up fence_vmware_soap correctly so that it will start fencing vmware machine in the esx 5.1?<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>My problem is the fence_vmware_soap resource agent for stonith timed out. Don’t know why.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>[root@pcmk1 ~]# crm_verify -L -V<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> warning: unpack_rsc_op: Processing failed op vm-fence-pcmk2_last_failure_0 on pcmk1: unknown exec error (-2)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> warning: unpack_rsc_op: Processing failed op vm-fence-pcmk1_last_failure_0 on pcmk2: unknown exec error (-2)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> warning: common_apply_stickiness: Forcing vm-fence-pcmk2 away from pcmk1 after 1000000 failures (max=1000000)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> warning: common_apply_stickiness: Forcing vm-fence-pcmk1 away from pcmk2 after 1000000 failures (max=1000000)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>I have 2 node cluster. If I tried to manually reboot vmware machine by calling fence_vmware_soap it worked.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>[root@pcmk1 ~]# fence_vmware_soap -a x.x.x.x -l administrator -p password -n "pcmk2" -o reboot –z<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>My settings are…<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>[root@pcmk1 ~]# stonith_admin -M -a fence_vmware_soap<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'><resource-agent name="fence_vmware_soap" shortdesc="Fence agent for VMWare over SOAP API"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <longdesc>fence_vmware_soap is an I/O Fencing agent which can be used with the virtual machines managed by VMWare products that have SOAP API v4.1+. <o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>.P<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>Name of virtual machine (-n / port) has to be used in inventory path format (e.g. /datacenter/vm/Discovered virtual machine/myMachine). In the cases when name of yours VM is unique you can use it instead. Alternatively you can always use UUID (-U / uuid) to access virtual machine.</longdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <vendor-url>http://www.vmware.com</vendor-url><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameters><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="action" unique="0" required="1"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="-o, --action=<action>"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="string" default="reboot"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">Fencing Action</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="ipaddr" unique="0" required="1"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="-a, --ip=<ip>"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="string"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">IP Address or Hostname</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="login" unique="0" required="1"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="-l, --username=<name>"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="string"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">Login Name</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="passwd" unique="0" required="0"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="-p, --password=<password>"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="string"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">Login password or passphrase</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="passwd_script" unique="0" required="0"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="-S, --password-script=<script>"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="string"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">Script to retrieve password</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="ssl" unique="0" required="0"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="-z, --ssl"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="boolean"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">SSL connection</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="port" unique="0" required="0"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="-n, --plug=<id>"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="string"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">Physical plug number or name of virtual machine</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="uuid" unique="0" required="0"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="-U, --uuid"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="string"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">The UUID of the virtual machine to fence.</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="ipport" unique="0" required="0"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="-u, --ipport=<port>"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="string"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">TCP port to use for connection with device</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="verbose" unique="0" required="0"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="-v, --verbose"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="boolean"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">Verbose mode</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="debug" unique="0" required="0"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="-D, --debug-file=<debugfile>"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="string"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">Write debug information to given file</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="version" unique="0" required="0"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="-V, --version"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="boolean"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">Display version information and exit</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="help" unique="0" required="0"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="-h, --help"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="boolean"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">Display help and exit</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="separator" unique="0" required="0"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="-C, --separator=<char>"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="string" default=","/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">Separator for CSV created by operation list</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="power_timeout" unique="0" required="0"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="--power-timeout"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="string" default="20"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">Test X seconds for status change after ON/OFF</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="shell_timeout" unique="0" required="0"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="--shell-timeout"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="string" default="3"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">Wait X seconds for cmd prompt after issuing command</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="login_timeout" unique="0" required="0"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="--login-timeout"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="string" default="5"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">Wait X seconds for cmd prompt after login</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="power_wait" unique="0" required="0"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="--power-wait"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="string" default="0"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">Wait X seconds after issuing ON/OFF</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="delay" unique="0" required="0"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="--delay"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="string" default="0"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">Wait X seconds before fencing is started</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <parameter name="retry_on" unique="0" required="0"><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <getopt mixed="--retry-on"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <content type="string" default="1"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <shortdesc lang="en">Count of attempts to retry power on</shortdesc><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameter><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </parameters><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <actions><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <action name="on"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <action name="off"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <action name="reboot"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <action name="status"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <action name="list"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <action name="monitor"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <action name="metadata"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <action name="stop" timeout="20s"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> <action name="start" timeout="20s"/><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> </actions><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'></resource-agent><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>[root@pcmk1 ~]# crm configure show<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>node pcmk1<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>node pcmk2<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>primitive drbd_pg ocf:linbit:drbd \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> params drbd_resource="postgres" \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> op monitor interval="15" role="Master" \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> op monitor interval="16" role="Slave" \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> op start interval="0" timeout="240" \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> op stop interval="0" timeout="120"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>primitive pg_fs ocf:heartbeat:Filesystem \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> params device="/dev/vg_local-lv_pgsql/lv_pgsql" directory="/var/lib/pgsql/9.2/data" options="noatime,nodiratime" fstype="xfs" \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> op start interval="0" timeout="60" \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> op stop interval="0" timeout="120"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>primitive pg_lsb lsb:postgresql-9.2 \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> op monitor interval="30" timeout="60" \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> op start interval="0" timeout="60" \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> op stop interval="0" timeout="60"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>primitive pg_lvm ocf:heartbeat:LVM \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> params volgrpname="vg_local-lv_pgsql" \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> op start interval="0" timeout="30" \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> op stop interval="0" timeout="30"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>primitive pg_vip ocf:heartbeat:IPaddr2 \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> params ip="x.x.x.x" iflabel="pcmkvip" \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> op monitor interval="5"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>primitive vm-fence-pcmk1 stonith:fence_vmware_soap \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> params ipaddr="x.x.x.x" login="administrator" passwd="password" port="pcmk1" ssl="1" retry_on="10" shell_timeout="20" login_timeout="15" action="reboot"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>primitive vm-fence-pcmk2 stonith:fence_vmware_soap \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> params ipaddr="x.x.x.x" login="administrator" passwd="password" port="pcmk2" ssl="1" retry_on="10" shell_timeout="20" login_timeout="15" action="reboot"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>group PGServer pg_lvm pg_fs pg_lsb pg_vip<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>ms ms_drbd_pg drbd_pg \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>location l-st-pcmk1 vm-fence-pcmk1 -inf: pcmk1<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>location l-st-pcmk2 vm-fence-pcmk2 -inf: pcmk2<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>location master-prefer-node1 pg_vip 50: pcmk1<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>colocation col_pg_drbd inf: PGServer ms_drbd_pg:Master<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>order ord_pg inf: ms_drbd_pg:promote PGServer:start<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>property $id="cib-bootstrap-options" \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> dc-version="1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14" \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> cluster-infrastructure="openais" \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> expected-quorum-votes="4" \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> stonith-enabled="true" \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> no-quorum-policy="ignore" \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> maintenance-mode="false"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>rsc_defaults $id="rsc-options" \<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'> resource-stickiness="100"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>Am I doing something wrong?<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>Best regards,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>Michal Mistina<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>