Starts the group services subsystems.
grpsvcsctrl { -a | -s | -k | -d | -c | -u | -t | -o | -r | -h }
The grpsvcsctrl command starts the group services subsystems. This control script controls the operation of the subsystems that are required for group services. These subsystems are under the control of the system resource controller (SRC) and belong to a subsystem group called grpsvcs. A daemon is associated with each subsystem. From an operational point of view, the group services subsystem group is organized as follows:
The grpsvcs subsystem is associated with the hagsd daemon. The subsystem name on the nodes is grpsvcs. The grpsvcs subsystem on each node is associated with the cluster to which the node belongs.
The hagsd daemon provides the majority of the group services functions.
The grpsvcsctrl script is not normally run from the command line. It is normally called by the startup command during installation of the cluster.
The grpsvcsctrl script provides a variety of controls for operating the group services subsystems:
Before performing any of these functions, the script obtains the current cluster name.
Adding the subsystem: When the -a flag is specified, the control script uses the mkssys command to add the group services subsystems to the SRC. The control script operates as follows:
Starting the subsystem: When the -s flag is specified, the control script uses the startsrc command to start the group services subsystems, grpsvcs and grpsvcsglsm.
Stopping the subsystem: When the -k flag is specified, the control script uses the stopsrc command to stop the group services subsystems, grpsvcs and grpsvcsglsm.
Deleting the subsystem: When the -d flag is specified, the control script uses the rmssys command to remove the group services subsystems from the SRC. The control script operates as follows:
Cleaning up the subsystems: When the -c flag is specified, the control script stops and removes the group services subsystems for all system partitions from the SRC. The control script operates as follows:
Turning tracing on: When the -t flag is specified, the control script turns tracing on for the hagsd daemon, using the traceson command.
Turning tracing off: When the -o flag is specified, the control script turns tracing off (returns it to its default level) for the hagsd daemon, using the tracesoff command.
Logging: While they are running, the group services daemons provide information about their operation and errors by writing entries in a log file in the /var/ha/log directory.
Each daemon limits the log size to a pre-established number of lines. The default is 5000 lines. When the limit is reached, the daemon appends the string .bak to the name of the current log file and begins a new log. If a .bak version already exists, it is removed before the current log is renamed.
The -r flag has no effect for this subsystem.
You must be running with an effective user ID of root.
This script is valid in an HACMP environment only.
When the -h flag is specified, this command's usage statement is written to standard output.
This command writes error messages (as necessary) to standard error.
grpsvcsctrl -a
grpsvcsctrl -s
grpsvcsctrl -k
grpsvcsctrl -d
grpsvcsctrl -c
grpsvcsctrl -t
grpsvcsctrl -o
The file name includes these variables:
Commands: lssrc, startsrc, stopsrc
Daemons: hagsd