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. Use the stopsrc command to stop an SRC resource such as a subsystem, a group of subsystems, or a subserver.

The following are the prerequisites for starting or stopping a subsystem, subsystem group, or subserver:

  • To start or stop an SRC resource, the SRC must be running. The SRC is normally started during system initialization. The default /etc/inittab file, which determines what processes are started during initialization, contains a record for the srcmstr daemon (the SRC). To see if the SRC is running, type ps -A and look for a process named srcmstr.
  • The user or process starting an SRC resource must have root user authority. The process that initializes the system (init command) has root user authority.
  • The user or process stopping an SRC resource must have root user authority.

The startsrc command can be used:

  • From the /etc/inittab file so the resource is started during system initialization
  • From the command line
  • With SMIT

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.

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.

Starting or 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