[ClusterLabs] Fwd: How to Fence Virtualbox VM with Windows 10 as host.

ArekW arkaduis at gmail.com
Wed Jul 5 04:18:39 EDT 2017


Hi,

I managed to run the Pacemaker Cluster From Scratch on two CentOS on
VirtualBox. I’m stuck at fence_vbox with similar problem as Durwin’s:
The script doesn’t accept the plug parameter:

[root at nfsnode1 ~]# fence_vbox --ip 10.0.2.2 --username=AW23321
--identity-file=/root/.ssh/id_rsa --plug=CentOS1
Failed: You have to enter existing name/UUID of virtual machine!

[root at nfsnode1 ~]# fence_vbox --ip 10.0.2.2 --username=AW23321
--identity-file=/root/.ssh/id_rsa
--plug={03991a96-bbdc-4a8d-8123-298e41c24342}
Unable to connect/login to fencing device

[root at nfsnode1 ~]# fence_vbox --ip 10.0.2.2 --username=AW23321
--identity-file=/root/.ssh/id_rsa
--plug=03991a96-bbdc-4a8d-8123-298e41c24342
Failed: You have to enter existing name/UUID of virtual machine!

The login and key is working OK. The passwordless authentication from
guest to VirtualBox host is working also (on Cygwin):

[root at nfsnode1 ~]# ssh -l AW23321 10.0.2.2 -i /root/.ssh/id_rsa
Last login: Wed Jul  5 09:41:50 2017 from 127.0.0.1
AW23321 at CEN4034397 ~
$ /cygdrive/c/Program\ Files/Oracle/VirtualBox/VBoxManage --nologo list vms
"CentOS1" {03991a96-bbdc-4a8d-8123-298e41c24342}
"CentOS2" {f7eb05e5-7cfb-4ef3-a97f-e6cafa612b0f}

Without a key:
[root at nfsnode1 ~]# ssh -l AW23321 10.0.2.2
Last login: Wed Jul  5 09:37:25 2017 from 127.0.0.1
AW23321 at CEN4034397 ~
$

What else can be done?<div
id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /> <table
style="border-top: 1px solid #D3D4DE;">
	<tr>
      <td style="width: 55px; padding-top: 18px;"><a
href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail"
target="_blank"><img
src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png"
alt="" width="46" height="29" style="width: 46px; height: 29px;"
/></a></td>
		<td style="width: 470px; padding-top: 17px; color: #41424e;
font-size: 13px; font-family: Arial, Helvetica, sans-serif;
line-height: 18px;">Wolny od wirusów. <a
href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail"
target="_blank" style="color: #4453ea;">www.avg.com</a> 		</td>
	</tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>




More information about the Users mailing list