clstop command

Purpose

Stops the cluster subsystems.

Syntax

clstop { -f | -g | -gr } [-s] [-y] [ -N | -R | -B ]

Description

The clclstop stops cluster services on the local node and processes any active resource groups according to the flags that you specify. The command optionally removes automatic start on reboot through the entry in the /etc/inittab file.

Flags

-f
Forces a shutdown. Cluster daemons terminate without running any local procedures.
-g
Graceful shutdown with no takeover.
-gr
Graceful shutdown with the resources that are being released by this node and taken over by another node. The daemon terminates gracefully, and the node releases its resources, which are taken over. A node list must be specified for graceful shutdown with takeover.
-s
Performs a silent shutdown. This flag does not broadcast a shutdown message through wall command. The default setting is to broadcast.
-y
Do not ask operator for confirmation before shutting down the cluster nodes. This flag is the default.
-B
Stop now and on subsequent system restart.
-N
Shut down now.
-R
Stops on subsequent system restart and removes the entry in the /etc/inittab file.
Note: The /etc/rc.shutdown file is an optional file that contains commands that are run during the shutdown command.

Examples

  1. To shut down the cluster node by using the gracefully option and releasing the resources without sending a warning message to users before the cluster processes are stopped, enter:
    clstop -gr -s -y
  2. To forcefully and immediately shut down the cluster on all cluster nodes (resources not released) with a warning message that is broadcast to users before the cluster processes are stopped, enter:
    clstop -f -y
  3. To shut down the cluster node by using the gracefully option and releasing resources that are taken over with a warning message that is broadcast to users before cluster processes are stopped, enter:
    clstop -gr -y