<div dir="ltr">Hi,<div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 24, 2017 at 9:06 PM, <span dir="ltr"><<a href="mailto:durwin@mgtsciences.com" target="_blank">durwin@mgtsciences.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font size="2" face="sans-serif">This is my first attempt at clustering,
just so you know the level required to convey ideas.</font>
<br>
<br><font size="2" face="sans-serif">I have Windows 10 running Virtualbox
with 2 VMs running Fedora 25. I have followed 'Pacemaker 1.1 Clusters
from Scratch' 9th edition up through chapter 7. It works. I
am uncertain as how to fence the VMs with Windows 10 as host. The
output from 'pcs stonith describe fence_vbox' is below.</font>
<br>
<br><font size="2" face="sans-serif">I have Cygwin installed with sshd configured
and running. I can remotely ssh into the Windows 10 machine. I
can add the keys from the machines into Windows authorized_keys so no user/password
is required. I however do not know which of the options are *required*.
Nor do I know what the options should be set to. Some of the
options *are* obvious. If I use *only* required ones, ipaddr is obvious,
login is obvious, but not sure what port is. Would it be the name
of the VM as Virtualbox knows it?</font>
<br>
<br><font size="2" face="sans-serif"> ipaddr
(required): IP address or hostname of fencing device</font>
<br><font size="2" face="sans-serif"> login
(required): Login name</font>
<br><font size="2" face="sans-serif"> port
(required): Physical plug number on device, UUID or identification of machine</font>
<br>
<br><font size="2" face="sans-serif">Does the host require anything running
on it to support the fence? Do I require any other options in addition
to 'required'? How do I test it from a nodes commandline?</font>
<br></blockquote><div><br></div><div>You can take a look at manual page of fence_vbox (or run fence_vbox --help). </div><div><br></div><div>In your case it should be enough to set:</div><div>* ipaddr</div><div>* login</div><div>* port (= node to shutdown)</div><div>* identity_file (= private key)</div><div><br></div><div>m,</div></div></div></div>