This section contains procedures for starting and stopping, tracing, and obtaining status of the System Resource Controller (SRC) subsystems, including:
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.
mkitab -i fbcheck srcmstr:2:respawn:/usr/sbin/srcmstr
The -i fbcheck flag ensures that the record is inserted before all subsystems records.
telinit q
When init revisits the /etc/inittab file, it processes the newly entered record for the srcmstr daemon and starts the SRC.
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.
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 |
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.
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 |
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.
Task | SMIT Fast Path | Command or File |
---|---|---|
Refresh a Subsystem | smit refresh | refresh -s Subsystem |
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.
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 |