[ClusterLabs] How to Fence Virtualbox VM with Windows 10 as host.
durwin at mgtsciences.com
durwin at mgtsciences.com
Wed Jan 25 14:27:54 EST 2017
Marek Grac <mgrac at redhat.com> wrote on 01/25/2017 01:33:07 AM:
> From: Marek Grac <mgrac at redhat.com>
> To: Cluster Labs - All topics related to open-source clustering
> welcomed <users at clusterlabs.org>
> Date: 01/25/2017 01:34 AM
> Subject: Re: [ClusterLabs] How to Fence Virtualbox VM with Windows 10 as
> On Tue, Jan 24, 2017 at 9:06 PM, <durwin at mgtsciences.com> wrote:
> This is my first attempt at clustering, just so you know the level
> required to convey ideas.
> 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.
> 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?
> ipaddr (required): IP address or hostname of fencing device
> login (required): Login name
> port (required): Physical plug number on device, UUID or
> identification of machine
I entered the command below and got the message below.
fc25> fence_vbox --ip=172.23.93.249 --username=durwin
Failed: You have to enter existing name/UUID of virtual machine!
Please use '-h' for usage
> 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?
> You can take a look at manual page of fence_vbox (or run
> In your case it should be enough to set:
> * ipaddr
> * login
> * port (= node to shutdown)
> * identity_file (= private key)
> Users mailing list: Users at clusterlabs.org
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
This email message and any attachments are for the sole use of the
intended recipient(s) and may contain proprietary and/or confidential
information which may be privileged or otherwise protected from
disclosure. Any unauthorized review, use, disclosure or distribution is
prohibited. If you are not the intended recipient(s), please contact the
sender by reply email and destroy the original message and any copies of
the message as well as any attachments to the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users