Services ******** Default Section =============== :kw:`DEFAULT.hard_affinity` --------------------------- This parameter can be used to force a service to run on the same node running other services. .. seealso:: | :ref:`Keyword Reference ` | :ref:`Service Orchestration ` :kw:`DEFAULT.soft_affinity` --------------------------- This parameter can be used to help a service to run on the same node running other services. .. seealso:: | :ref:`Keyword Reference ` | :ref:`Service Orchestration ` :kw:`DEFAULT.hard_anti_affinity` -------------------------------- This parameter can be used to force a service to avoid execution on the same node running other services. .. seealso:: | :ref:`Keyword Reference ` | :ref:`Service Orchestration ` :kw:`DEFAULT.soft_anti_affinity` -------------------------------- This parameter can be used to help a service try to avoid execution on the same node running other services. .. seealso:: | :ref:`Keyword Reference ` | :ref:`Service Orchestration ` :kw:`DEFAULT.orchestrate` ------------------------- This parameter is used to specify the daemon behaviour regarding service orchestration .. seealso:: | :ref:`Keyword Reference ` | :ref:`Service Orchestration ` | :ref:`Agent Migration ` :kw:`DEFAULT.placement` ----------------------- This setting is used to identify the best node to start the service on. .. seealso:: | :ref:`Keyword Reference ` | :ref:`Service Orchestration ` :kw:`DEFAULT.constraints` ------------------------- A boolean expression evaluated in order to constrain the service instance placement to nodes where expression is True. .. seealso:: | :ref:`Keyword Reference ` | :ref:`Service Orchestration ` :kw:`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. .. seealso:: | :ref:`Keyword Reference ` | :ref:`Service Orchestration ` :kw:`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. .. seealso:: | :ref:`Keyword Reference ` | :ref:`Service Orchestration ` :kw:`DEFAULT.stonith` --------------------- A boolean mandating the stale node previously running the service to be shot by the daemon monitor upon failover. Defaults to false. :kw:`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. Resource Sections ================= :kw:`standby` ------------- :kw:`shared` ------------ :kw:`provision` --------------- :kw:`app.start_timeout` ----------------------- :kw:`app.stop_timeout` ---------------------- :kw:`app.check_timeout` ----------------------- :kw:`app.info_timeout` ---------------------- Node **** Node Section ============ :kw:`node.maintenance_grace_period` ----------------------------------- :kw:`node.rejoin_grace_period` ------------------------------ Cluster Section =============== :kw:`cluster.secret` -------------------- Auto-generated. :kw:`cluster.nodes` ------------------- Janitored by the join and leave om daemon actions. :kw:`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 :kw:`cluster.name`, thus cause a massive split-brain situation. So take care of freezing the cluster nodes before. :kw:`cluster.dns` ----------------- :kw:`cluster.id` ---------------- Heartbeat Section ================= :kw:`hb.type` ------------- :kw:`hb[type=unicast].addr` --------------------------- :kw:`hb[type=unicast].intf` --------------------------- :kw:`hb[type=unicast].port` --------------------------- :kw:`hb[type=unicast].timeout` ------------------------------ :kw:`hb[type=multicast].addr` ----------------------------- :kw:`hb[type=multicast].intf` ----------------------------- :kw:`hb[type=multicast].port` ----------------------------- :kw:`hb[type=multicast].timeout` -------------------------------- :kw:`hb[type=disk].dev` ----------------------- :kw:`hb[type=disk].timeout` ---------------------------