Question
How do I configure a server reboot delay when managing power through PDU?
Answer
To manage the server reboot delay through PDU, use the pdu_power_reset_delay parameter in the DCImanager API. The parameter sets the waiting time in seconds between turning off and turning on the power of the PDU port again.
To configure the delay:
- Open Swagger API DCImanager. To do this, click the
icon (Services) in the right menu → Swagger. - Go to the Location section.
- Select the method
POST /location/{location_id}Edit location.
- In the location_id field, specify the ID of the required location.
- In the Request body field, specify the
pdu_power_reset_delayparameter and the required delay value in seconds:
Explanation:Example section with the pdu_power_reset_delay parameter{ "settings": { "pdu_power_reset_delay": 20 }}20is the delay between turning the server off and on in seconds. By default,pdu_power_reset_delayis set to 3 seconds.
- Click Execute.
Useful tips
Related topics:
En
Es