[ClusterLabs] Q: rulke-based operation pause/freeze?
hunter86_bg at yahoo.com
Thu Mar 5 08:27:13 EST 2020
for HA NFS , you should expect no more than 90s (after the failover is complete) for NFSv4 clients to recover. Due to that, I think that all resources (in same cluster or another one) should have a longer period of monitoring. Maybe something like 179s .
Of course , if you NFS will be down for a longer period, you can set all HA resources that depend on it with a "on-fail=ignore" and once the maintenance is over to remove it.
After all , you seek the cluster not to react for that specific time , but you should keep track on such changes - as it is easy to forget such setting.
Another approach is to leave the monitoring period high enough ,so the cluster won't catch the downtime - but imagine that the downtime of the NFS has to be extended - do you believe that you will be able to change all affected resources on time ?
В четвъртък, 5 март 2020 г., 14:25:36 ч. Гринуич+2, Ulrich Windl <ulrich.windl at rz.uni-regensburg.de> написа:
I'm wondering whether it's possible to pause/freeze specific resource operations through rules.
The idea is something like this: If your monitor operation needes (e.g.) some external NFS server, and thst NFS server is known to be down, it seems better to delay the monitor operation until NFS is up again, rather than forcing a monitor timeout that will most likely be followed by a stop operation that will also time out, eventually killing the node (which has no problem itself).
As I guess it's not possible right now, what would be needed to make this work?
In case it's possible, how would an example scenario look like?
Manage your subscription:
ClusterLabs home: https://www.clusterlabs.org/
More information about the Users