Allow overriding corosync token_timeout

There are cases where the default allotted time (10s) is not enough.
This only works during cluster setup.

Change-Id: Ieecb8ce044123fbfcca9ee2d70ca9bad616b7cda
This commit is contained in:
Luca Miccini 2022-09-28 13:55:28 +02:00 committed by Ronelle Landy
parent 2acf398d75
commit 8a22c7170f
2 changed files with 12 additions and 1 deletions

View File

@ -46,6 +46,11 @@ parameters:
type: string
description: The password for the 'pcsd' user for pacemaker.
hidden: true
CorosyncTokenTimeout:
type: number
description: Time in milliseconds until a token loss is declared after
not receiving a token.
default: 10000
CorosyncSettleTries:
type: number
description: Number of tries for cluster settling. This has the
@ -150,7 +155,7 @@ outputs:
pacemaker::corosync::manage_fw: false
pacemaker::resource_defaults::defaults:
resource-stickiness: { value: INFINITY }
corosync_token_timeout: 10000
corosync_token_timeout: {get_param: CorosyncTokenTimeout}
pacemaker::corosync::settle_tries: {get_param: CorosyncSettleTries}
pacemaker::resource::bundle::deep_compare: true
pacemaker::resource::ip::deep_compare: true

View File

@ -0,0 +1,6 @@
---
features:
- |
Add option to override the default corosync token_timeout value.
There are cases where the default allotted time (10s) is not enough.
This only works during cluster setup (first deployment).