[ Next Article |
Previous Article |
Book Contents |
Library Home |
Legal |
Search ]
System Management Guide: Operating System and Devices
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 may 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:
- Starting the SRC from the /etc/inittab file
allows the init command to restart the SRC should it stop for any reason.
- The SRC is designed to simplify and reduce the
amount of operator intervention required to control subsystems. Starting the
SRC from any source other than the /etc/inittab file would be
counterproductive to that goal.
- The default /etc/inittab file contains a
record for starting the print scheduling subsystem (qdaemon) with the
startsrc command. Typical installations have other subsystems started
with startsrc commands in the /etc/inittab file as well. Since
the srcmstr
command requires the SRC to be running, removing the srcmstr daemon
from the /etc/inittab file would cause these startsrc commands
to fail.
See srcmstr (man page) for the configuration
requirements to support remote SRC requests.
Prerequisites
- Reading and writing the /etc/inittab file
requires root user authority.
- The
mkitab command
requires root user authority.
- The
srcmstr daemon
record must exist in the /etc/inittab file.
Procedure
Note: This procedure is necessary
only if the /etc/inittab file does not already contain a record for
the srcmstr daemon.
- 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, enter:
mkitab -i fbcheck srcmstr:2:respawn:/usr/sbin/srcmstr
The -i fbcheck flag ensures that the record will be inserted before
all subsystems records.
- Tell the init command to reprocess the
/etc/inittab file by entering:
telinit q
When init revisits the /etc/inittab file, it will process the
newly entered record for the srcmstr daemon and start the SRC.
[ Next Article |
Previous Article |
Book Contents |
Library Home |
Legal |
Search ]