The table below lists the Quorum parameters. These values are tuned by editing the /etc/default/LifeKeeper configuration file.
QUORUM_MODE | Specifies the quorum mode. | majority tcp_remote storage none or off |
majority | As required | Refer to “Quorum/Witness” in SIOS Technical Documentation. |
QUORUM_HOSTS | Specifies a host and port name combination to be used for determining quorum. The format for entries is “host:port”. When specifying more than one host:port combination, the entries must be comma separated (do not include a space). (Example) |
String | (not set) | As required | This parameter is applied only when the QUORUM_MODE is tcp_remote. |
WITNESS_MODE | Specifies the witness mode. | remote_verify storage none or off |
remote_verify | As required | Refer to “Quorum/Witness” in SIOS Technical Documentation. |
QUORUM_TIMEOUT_SECS | The time allowed for tcp/ip witness connections to complete. Connections that don’t complete within this time are treated as failed/unavailable. This only applies when the QUORUM_MODE is tcp_remote. | Integers | 20 | As required | This parameter is applied only when the QUORUM_MODE is tcp_remote. |
QUORUM_LOSS_ACTION | Specifies the action when quorum is lost. | fastkill fastboot osu |
fastkill | As required | Refer to “Quorum/Witness” in SIOS Technical Documentation. |
QWK_STORAGE_TYPE | Specifies the type of shared storage. Must be specified when QUORUM_MODE is storage. |
block file aws_s3 |
(not set) | When executing qwk_storage_init | This parameter is applied only when storage is specified for QUORUM_MODE and WITNESS_MODE. For details, see “Storage Mode” in the Technical Documentation. |
QWK_STORAGE_HBEATTIME | Specifies the interval in seconds between reading and writing the QWK objects. | An integer between 5 and 10 | 6 | When executing qwk_storage_init | This parameter is applied only when storage is specified for QUORUM_MODE and WITNESS_MODE. For details, see “Storage Mode” in the Technical Documentation. |
QWK_STORAGE_NUMHBEATS | Specifies the number of consecutive heartbeat checks that when reached indicates the target node has failed. A missed heartbeat occurs when the QWK object has not been updated since the last check. | An integer of 3 or more | 4 | When executing qwk_storage_init | This parameter is applied only when storage is specified for QUORUM_MODE and WITNESS_MODE. For details, see “Storage Mode” in the Technical Documentation. |
QWK_STORAGE_OBJECT_<Host name> Note: If the host name contains a “-” or “.”, replace them with an underscore “_” (e.g. lksios-1 → lksios_1). Note: The host name used by LifeKeeper can be checked via the lcduname command |
Specifies the path to the QWK objects. You must specify paths for all nodes in the cluster.
[When QWK_STORAGE_TYPE is block] [When QWK_STORAGE_TYPE is file] [When QWK_STORAGE_TYPE is aws_s3] |
String (Maximum length is 256 characters) |
(not set) | When executing qwk_storage_init | This parameter is applied only when storage is specified for QUORUM_MODE and WITNESS_MODE. For details, see “Storage Mode” in the Technical Documentation. |
HTTP_PROXY HTTPS_PROXY NO_PROXY |
Set this parameter when using HTTP proxy for accessing the service endpoint. The value set here will be passed to AWS CLI. See AWS Documentation for details. |
String | (not set) | When executing qwk_storage_init | This is a common parameter for “EC2” and “Route53. |
QUORUM_DEBUG | Specifies the debug mode. | 0: disabled 1: enabled |
0 | As required | Refer to Quorum/Witness in SIOS Technical Documentation. |
Post your comment on this topic.