DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Network services

Printing, installing, and replacing configuration scripts

The form of the SAC and port monitor administrative commands used to install the three types of configuration scripts are described. Per-system and per-port monitor configuration scripts are administered using the sacadm command. Per-service configuration scripts are administered using the pmadm command. These commands are described on the sacadm(1M) and pmadm(1M) manual pages.

Per-system scripts

   sacadm -G [ -z script ]
The -G option is used to print or replace the per-system configuration script. The -G option by itself prints the per-system configuration script. The -G option in combination with a -z option replaces /etc/saf/_sysconfig with the contents of the file script. Other combinations of options with a -G option are invalid.

Per-port monitor scripts

   sacadm -g -p pmtag [ -z script ]
The -g option is used to print, install, or replace the per-port monitor configuration script. A -g option requires a -p option. The -g option with only a -p option prints the per-port monitor configuration script for port monitor pmtag. The -g option with a -p option and a -z option installs the file script as the per-port monitor configuration script for port monitor pmtag, or, if /etc/saf/pmtag/_config exists, it replaces _config with the contents of script. Other combinations of options with -g are invalid.

Per-service configuration scripts

   pmadm -g -p pmtag -s svctag [ -z script ]
   pmadm -g -s svctag -t type -z script
Per-service configuration scripts are interpreted by the port monitor before the service is invoked.


NOTE: The SAC interprets both its own configuration file, _sysconfig, and the port monitor configuration files. Only the per-service configuration files are interpreted by the port monitors.

The -g option is used to print, install, or replace a per-service configuration script. The -g option with a -p option and a -s option prints the per-service configuration script for service svctag available through port monitor pmtag. The -g option with a -p option, a -s option, and a -z option installs the per-service configuration script contained in the file script as the per-service configuration script for service svctag available through port monitor pmtag. The -g option with a -s option, a -t option, and a -z option installs the file script as the per-service configuration script for service svctag available through any port monitor of type type. Other combinations of options with -g are invalid.


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004