[ClusterLabs] question about fence-virsh
Andrew Kerber
andrew.kerber at gmail.com
Fri May 19 14:32:19 EDT 2017
Thanks for the answer, but thats not the problem. I dont have access to
the console, its a security issue. I only have access within the virtual
machines, so I want to send the reboot command within the virtual machine,
not to the console. Typically our hangups are such that the reboot command
works, and the machine hangs at starting back up, and I get an admin to go
hit the console.
On Fri, May 19, 2017 at 12:39 PM, Digimer <lists at alteeve.ca> wrote:
> 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
>
--
Andrew W. Kerber
'If at first you dont succeed, dont take up skydiving.'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20170519/4078dc5b/attachment-0003.html>
More information about the Users
mailing list