[ClusterLabs] question about fence-virsh
Digimer
lists at alteeve.ca
Fri May 19 13:39:27 EDT 2017
On 19/05/17 12:59 PM, Andrew Kerber wrote:
> I have been setting up a cluster on virtual machines with some shared
> resources. The only fencing tool I have found designed for that
> configuration is fence virsh, but I have not been able to figure out
> from the documentation how to get fence-virsh to issue the reboot
> command. Does anyone have a good explanation of how to configure
> fence-virsh to issue a reboot command? I understand its not perfect,
> because in some hard lockup situations only hitting a power button will
> work, but for this configuration thats not really an option.
>
> --
> Andrew W. Kerber
fence_virsh -a <hypervisor_host_ip> -l root -p <hypevisor_host_root_pw>
-n <name_of_server_in_virsh> -o status
That should show the status. To reboot, change 'status' to 'reboot'.
If this doesn't work, make sure you can ssh from the nodes to the
hypervisor as the root user.
--
Digimer
Papers and Projects: https://alteeve.com/w/
"I am, somehow, less interested in the weight and convolutions of
Einstein’s brain than in the near certainty that people of equal talent
have lived and died in cotton fields and sweatshops." - Stephen Jay Gould
More information about the Users
mailing list