[ClusterLabs] Antw: Re: Antw: [EXT] delaying start of a resource

Andrei Borzenkov arvidjaar at gmail.com
Fri Dec 18 02:01:28 EST 2020


17.12.2020 21:30, Ken Gaillot пишет:
> 
> This reminded me that some IPMI implementations return "success" for
> commands before they've actually been completed. This is why
> fence_ipmilan has a "power_wait" parameter that defaults to 2 seconds.
> 

But on this case we also do not know whether command has been completed
successfully or not. I'd say in this case the only safe way is to use
poweroff and verify in stonith agent that node is actually powered off
before returning success.

> The best thing would be to do some manual testing using ipmitool or
> whatnot to turn off the power, and observe how long it takes between
> when the command returns and the server actually is powered down. Then
> set power_wait to a comfortable margin above that. Or just keep raising
> power_wait until the problem goes away :)
> 



More information about the Users mailing list