Lower cluster-recheck-interval to 1 minute
The upstream default for cluster-recheck-interval is 15 minutes. This renders any quick timer (i.e. failure-timeout) effectively meaningless, as in many cases their expiration will only be checked 4 times per hour. This commit lowers cluster-recheck-interval to 1 minute, which ensures a fine enough granularity for specifying timers on a scale of minutes, without overly stressing the policy engine. Change-Id: I756d53e7267e6fa1b6fb348e219e30bafe757360 Closes-Bug: 1804667
This commit is contained in:
parent
334f9eb547
commit
81b386d379
|
@ -568,6 +568,10 @@ def configure_cluster_global():
|
|||
'resource-stickiness="100"')
|
||||
pcmk.commit(cmd)
|
||||
|
||||
log('Configuring cluster-recheck-interval to 60 seconds', level=DEBUG)
|
||||
cmd = "crm configure property cluster-recheck-interval=60"
|
||||
pcmk.commit(cmd)
|
||||
|
||||
|
||||
def get_ip_addr_from_resource_params(params):
|
||||
"""Returns the IP address in the resource params provided
|
||||
|
|
Loading…
Reference in New Issue