I'm trying to use iDRAC 8 as a fencing device.
Status query works fine, however `fence_node node2` aborts after a few seconds with "agent fence_drac5 result: status error". However, the node (gracefully) shuts down nonetheless.
I tried to manually start fence_drac5 and I can see that the connection times out immediately after issueing "powerstatus":
I get similar results when powering the node up (it starts, but I get a "Connection timed out" error).
What can I do to solve the problem?
Status query works fine, however `fence_node node2` aborts after a few seconds with "agent fence_drac5 result: status error". However, the node (gracefully) shuts down nonetheless.
I tried to manually start fence_drac5 and I can see that the connection times out immediately after issueing "powerstatus":
Code:
# time fence_drac5 --ip=xxxxxxxxxx -l fencing_user -p xxxxxxxxx -c "admin1->" -x -v -v -v -o off
INFO:root:Delay 0 second(s) before logging in to the fence device
INFO:root:Running command: /usr/bin/ssh fencing_user@xxxxxxxxxx -p 22 -o PubkeyAuthentication=no
DEBUG:root:Received: fencing_user@xxxxxxxxxxxx's password:
DEBUG:root:Sent: xxxxxxxxxxxxxx
DEBUG:root:Sent:
DEBUG:root:Received:
/admin1->
DEBUG:root:Sent: racadm serveraction powerstatus
DEBUG:root:Received: racadm serveraction powerstatus
Server power status: ON
/admin1->
DEBUG:root:Sent: racadm serveraction powerdown
DEBUG:root:Received:
/admin1->
DEBUG:root:Sent: racadm serveraction powerstatus
ERROR:root:Connection timed out
real 0m7.624s
user 0m0.028s
sys 0m0.007s
I get similar results when powering the node up (it starts, but I get a "Connection timed out" error).
What can I do to solve the problem?