When a server is turned off, normally takes a couple of seconds, about a minute to turn it off. Could be interesting to have way to set a delay timer to request the next state to the ipmi tool after the server is powered off.
Currently:
1.-Press off button-
2.-Switch state is OFF.
3.-state update is triggered, now the switch turns back to on, because the server is still shutting down.
3.-after about 30-60 seconds, when the server is off, the power button switch is now off.
What I believe could be better;
1.-Set somewhere in the config, a seconds variable with the approximate time that the server needs to shut down.
2-When the server is turned off, the switch will remain off, and the next change/request to ipmi will happen after the seconds set in the previous variable.
Note_
There is a switch and a sensor for power on/off state. This must affect only the switch.
Hi!,
When a server is turned off, normally takes a couple of seconds, about a minute to turn it off. Could be interesting to have way to set a delay timer to request the next state to the ipmi tool after the server is powered off.
Currently:
1.-Press off button- 2.-Switch state is OFF. 3.-state update is triggered, now the switch turns back to on, because the server is still shutting down. 3.-after about 30-60 seconds, when the server is off, the power button switch is now off.
What I believe could be better;
1.-Set somewhere in the config, a seconds variable with the approximate time that the server needs to shut down. 2-When the server is turned off, the switch will remain off, and the next change/request to ipmi will happen after the seconds set in the previous variable.
Note_ There is a switch and a sensor for power on/off state. This must affect only the switch.
Thanks!