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:
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?
pcs stonith create fence_vbox fence_virtualbox ipaddr=”192.168.57.1"
. This works perfectly when I runstonith_admin –-reboot <node id>
but still doesn't answer my question (if it's different name with node ID). Any further help would be appreciated. – Christophorus Reyhan Jan 11 at 3:46