#StackBounty: #virtualbox #virtual-machine #pacemaker #high-availability #pcs fence_virtualbox failed to reboot

Bounty: 100

I’m learning how to fence pacemaker using fence_virtualbox from [ClusterLabs] Fence agent for VirtualBox, but I can’t get it working. When I try to run stonith_admin –-reboot <node id> it failed.

Currently, my setup is:

Node ID:        VM name:
orcllinux1      OL7
orcllinux2      OL7_2

I set it up using:

pcs stonith create fence_vbox fence_virtualbox pcmk_host_map=”orcllinux1:OL7,orcllinux2:OL7_2” pcmk_host_list=”orcllinux1,orcllinux2” pcmk_host_check=static_list ipaddr=”192.168.57.1” login=”root”

But stonith_admin –-reboot <node id> resulting in this error:
Error

I tried to use the fence_virtualbox manually using:

fence_virtualbox -s 192.168.57.1 -p OL7 -o=reboot

and it succeeded.

Is my stonith create syntax wrong? What’s the right syntax if it’s wrong?


Get this bounty!!!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.