Hi again,
sorry for late reply.
Your answer helped indeed, thank you.
I was able to Shut down One Server with
ipmitool -H ipipip -U Administrator -P pwpwpw -L Administrator -I lanplus power off
but often I get sth like:
ERROR: error executing ipmitool: ipmitool: lanplus.c:2153: ipmi_lanplus_send_payload: Assertion `session->v2_data.session_state == LANPLUS_STATE_PRESESSION' failed. Aborted
or
ERROR: error executing ipmitool: ipmitool: lanplus.c:2167: ipmi_lanplus_send_payload: Assertion `session->v2_data.session_state == LANPLUS_STATE_OPEN_SESSION_RECEIEVED' failed. Aborted
or
Unable to set Chassis Power Control to Down/Offionol: Error in open session response message : insufficient resources for session
Well it doesn't work when somebody is logged in, but even if no one is logged in it only works sometimes, seems the connection is very unstable ?!
Surfing the web gui of ilo is very slow also, maybe this is a problem?
Why you do c 4 ? You have the same problems?
My stonith isn't working anyway...
with:
stonith -t external/ipmi hostname=visn2 ipaddr=ipipip userid=Administrator passwd=pwpwpwpw interface=lanplus -c 4 -T off visn2
external/ipmi[9366]: ERROR: error executing ipmitool: ipmitool: lanplus.c:2153: ipmi_lanplus_send_payload: Assertion `session->v2_data.session_state == LANPLUS_STATE_PRESESSION' failed. Aborted
CRIT: external_reset_req: 'ipmi off' for host visn2 failed with rc 1
Unable to set Chassis Power Control to Down/Offtool: Error: Unable to establish IPMI v2 / RMCP+ session
CRIT: external_reset_req: 'ipmi off' for host visn2 failed with rc 1
external/ipmi[9691]: ERROR: error executing ipmitool: ipmitool: lanplus.c:2153: ipmi_lanplus_send_payload: Assertion `session->v2_data.session_state == LANPLUS_STATE_PRESESSION' failed. Aborted
CRIT: external_reset_req: 'ipmi off' for host visn2 failed with rc 1
Unable to set Chassis Power Control to Down/Offtool: Error: Unable to establish IPMI v2 / RMCP+ session
CRIT: external_reset_req: 'ipmi off' for host visn2 failed with rc 1
Even with -c 50 ;-)
Is there anyway to fix this?
**EDIT**
I created another User @Ilo webinterface and now stonith is working! but still need at least 4 tries with (-c) ... thats makes me a little nervous :)
but THANK YOU!!!