[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

System Management Guide:
Operating System and Devices

System Resource Controller and Subsystems

This section contains procedures for starting and stopping, tracing, and obtaining status of the System Resource Controller (SRC) subsystems, including:

Starting the System Resource Controller

The System Resource Controller (SRC) is started during system initialization with a record for the /usr/sbin/srcmstr daemon in the /etc/inittab file. The default /etc/inittab file already contains such a record, so this procedure might be unnecessary. You can also start the SRC from the command line, a profile, or a shell script, but there are several reasons for starting it during initialization:

See the srcmstr command for the configuration requirements to support remote SRC requests.

Prerequisites

Procedure

Note
This procedure is necessary only if the /etc/inittab file does not already contain a record for the srcmstr daemon.
  1. Make a record for the srcmstr daemon in the /etc/inittab file using the mkitab command. For example, to make a record identical to the one that appears in the default /etc/inittab file, type:

    mkitab -i fbcheck srcmstr:2:respawn:/usr/sbin/srcmstr

    The -i fbcheck flag ensures that the record is inserted before all subsystems records.

  2. Tell the init command to reprocess the /etc/inittab file by typing:

    telinit q

    When init revisits the /etc/inittab file, it processes the newly entered record for the srcmstr daemon and starts the SRC.

Starting or Stopping a Subsystem, Subsystem Group, or Subserver

Use the startsrc command to start a System Resource Controller (SRC) resource such as a subsystem, a group of subsystems, or a subserver. The startsrc command can be used:

When you start a subsystem group, all of its subsystems are also started. When you start a subsystem, all of its subservers are also started. When you start a subserver, its parent subsystem is also started if it is not already running.

Use the stopsrc command to stop an SRC resource such as a subsystem, a group of subsystems, or a subserver. When you stop a subsystem, all its subservers are also stopped. However, when you stop a subserver, the state of its parent subsystem is not changed.

Both the startsrc and stopsrc commands contain flags that allow requests to be made on local or remote hosts.See the srcmstr command for the configuration requirements to support remote SRC requests.

Prerequisites

Starting/Stopping a Subsystem Tasks
Task SMIT Fast Path Command or File
Start a Subsystem smit startssys /bin/startsrc -s SubsystemName
OR
edit /etc/inittab
Stop a Subsystem smit stopssys /bin/stopsrc -s SubsystemName

Displaying the Status of a Subsystem or Subsystems

Use the lssrc command to display the status of a System Resource Controller (SRC) resource such as a subsystem, a group of subsystems, or a subserver.

All subsystems can return a short status report that includes which group the subsystem belongs to, whether the subsystem is active, and what its process ID (PID) is. If a subsystem does not use the signals communication method, it can be programmed to return a long status report containing additional status information.

The lssrc command provides flags and parameters for specifying the subsystem by name or PID, for listing all subsystems, for requesting a short or long status report, and for requesting the status of SRC resources either locally or on remote hosts.

See the srcmstr command for the configuration requirements to support remote SRC requests.

Displaying the Status of Subsystems Tasks
Task SMIT Fast Path Command or File
Display the status of a subsystem (long format) smit qssys lssrc -l -s SubsystemName
Display the status of all subsystems smit lsssys lssrc -a
Display the status of all subsystems on a particular host lssrc -hHostName -a

Refreshing a Subsystem or Subsystem Group

Use the refresh command to tell a System Resource Controller (SRC) resource such as a subsystem or a group of subsystems to refresh itself.

The refresh command provides flags and parameters for specifying the subsystem by name or PID. You can also use it to request a subsystem or group of subsystems be refreshed, either locally or on remote hosts. See the srcmstr command for the configuration requirements to support remote SRC requests.

Prerequisites

Refreshing a Subsystem or Subsystem Group
Task SMIT Fast Path Command or File
Refresh a Subsystem smit refresh refresh -s Subsystem

Turning On or Off Subsystem, Subsystem Group, or Subserver Tracing

Use the traceson command to turn on tracing of a System Resource Controller (SRC) resource such as a subsystem, a group of subsystems, or a subserver.

Use the tracesoff command to turn off tracing of a System Resource Controller (SRC) resource such as a subsystem, a group of subsystems, or a subserver.

The traceson and traceoff commands can be used to remotely turn on or turn off tracing on a specific host. See the srcmstr command for the configuration requirements for supporting remote SRC requests.

Prerequisites

Turning On/Off Subsystem, Subsystem Group, or Subserver Tasks
Task SMIT Fast Path Command or File
Turn on Subsystem Tracing (short format) smit tracessyson traceson -s Subsystem
Turn on Subsystem Tracing (long format) smit tracessyson traceson -l -s Subsystem
Turn off Subsystem Tracing smit tracessysoff tracesoff -s Subsystem

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]