<div dir="ltr">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.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 19, 2017 at 12:39 PM, Digimer <span dir="ltr"><<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 19/05/17 12:59 PM, Andrew Kerber wrote:<br>
> I have been setting up a cluster on virtual machines with some shared<br>
> resources. The only fencing tool I have found designed for that<br>
> configuration is fence virsh, but I have not been able to figure out<br>
> from the documentation how to get fence-virsh to issue the reboot<br>
> command. Does anyone have a good explanation of how to configure<br>
> fence-virsh to issue a reboot command? I understand its not perfect,<br>
> because in some hard lockup situations only hitting a power button will<br>
> work, but for this configuration thats not really an option.<br>
><br>
> --<br>
> Andrew W. Kerber<br>
<br>
</span>fence_virsh -a <hypervisor_host_ip> -l root -p <hypevisor_host_root_pw><br>
-n <name_of_server_in_virsh> -o status<br>
<br>
That should show the status. To reboot, change 'status' to 'reboot'.<br>
<br>
If this doesn't work, make sure you can ssh from the nodes to the<br>
hypervisor as the root user.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Digimer<br>
Papers and Projects: <a href="https://alteeve.com/w/" rel="noreferrer" target="_blank">https://alteeve.com/w/</a><br>
"I am, somehow, less interested in the weight and convolutions of<br>
Einstein’s brain than in the near certainty that people of equal talent<br>
have lived and died in cotton fields and sweatshops." - Stephen Jay Gould<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Andrew W. Kerber<br><br>'If at first you dont succeed, dont take up skydiving.'</div>
</div>