Services¶
Default Section¶
DEFAULT.hard_affinity¶
This parameter can be used to force a service to run on the same node running other services.
See also
DEFAULT.soft_affinity¶
This parameter can be used to help a service to run on the same node running other services.
See also
DEFAULT.hard_anti_affinity¶
This parameter can be used to force a service to avoid execution on the same node running other services.
See also
DEFAULT.soft_anti_affinity¶
This parameter can be used to help a service try to avoid execution on the same node running other services.
See also
DEFAULT.orchestrate¶
This parameter is used to specify the daemon behaviour regarding service orchestration
DEFAULT.constraints¶
A boolean expression evaluated in order to constrain the service instance placement to nodes where expression is True.
See also
DEFAULT.parents¶
This parameter is used to store a list of services that must be avail up for the agent daemon to proceed on starting the service.
The parents must be in the same cluster.
See also
DEFAULT.children¶
This parameter is used to store a list of services that must be avail down for the agent daemon to proceed on stopping the service.
See also
DEFAULT.stonith¶
A boolean mandating the stale node previously running the service to be shot by the daemon monitor upon failover.
Defaults to false.
DEFAULT.scale¶
Activates the scaler mode. An integer setting the target number of running instances of this service. To meet this target, the scaler clones itself as slave services. If the scaler topology is a flex, the flex_min_nodes and flex_max_nodes of each slave is automatically adjusted by the daemon.
Defaults to None.
Node¶
Cluster Section¶
cluster.secret¶
Auto-generated.
cluster.nodes¶
Janitored by the join and leave om node daemon actions.
cluster.name¶
Defaults to default
. Users can set it to a more meaningful value.
Note
Changing that parameter on a joined cluster will break communications until the nodes share the same cluster.name, thus cause a massive split-brain situation. So take care of freezing the cluster nodes before.