[one-users] Fencing

Ruben S. Montero rsmontero at opennebula.org
Thu Nov 27 13:49:17 PST 2014


Just in case you haven't figured out yet.... host_id and host_name holds
the id and name of the host, you can easily execute your fencing command
like `fence #{host_name}` ...

Good luck

Ruben

On Tue Nov 18 2014 at 8:13:23 PM Sander Klein <roedie at roedie.nl> wrote:

> Hi,
>
> Can anyone help me with modifying ft/host_error.rb to call a custom
> fencing script.
>
> I would like to feed my script the ID of the failing host. My script
> will then do some checks and return 0 if the host is indeed dead and
> host_error.rb can continue resubmitting VM's. It will return 1 if the
> host is not dead and host_error.rb must do nothing.
>
> Since I'm not a ruby guy I was hoping if anyone could help me with a
> couple of lines or a small patch.
>
> Greets,
>
> Sander
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20141127/5e290de0/attachment.htm>


More information about the Users mailing list