Enable and disable cluster services

Enable the cluster services with the following command. This configures the cluster services to run on startup on the specified node or nodes.

About this task

Enabling cluster services allows nodes to automatically rejoin the cluster after being fenced, minimizing cluster downtime. If cluster services remain disabled, administrators can investigate failures before manually restarting the services, preventing nodes with hardware issues from rejoining prematurely.

Procedure

  • Enable the cluster services:
    • If you specify the --all option, the command enables cluster services on all nodes.
    • If you do not specify any nodes, cluster services are enabled on the local node only.
      # pcs cluster enable [--all | node] [...]
  • Use the following command to configure the cluster services not to run on startup on the specified node or nodes:
    • If you specify the --all option, the command disables cluster services on all nodes.
    • If you do not specify any nodes, cluster services are disabled on the local node only.
      # pcs cluster disable [--all | node] [...]