[one-users] Fencing

Sander Klein roedie at roedie.nl
Tue Nov 18 11:13:18 PST 2014


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


More information about the Users mailing list