HP Process Resource Manager User's Guide

Configuring and enabling PRM on the command line
Configuring PRM
Chapter 7 153
Checking the configuration file
Use prmconfig -s to perform validation without changing the current
PRM configuration. This can be helpful to validate a configuration file
that will be activated by a script at a later time. To specify a
configuration file other than /etc/prmconf, use prmconfig -s
-f configfile.
Validation checks for:
Duplicate group names
Duplicate user names
Undefined groups in user access lists
Mismatches between the users listed in the configuration file and the
logins in the password files accessible by the C function getpwnam
The checks are made when you save or load a configuration file.
Warnings reported in the check may indicate an invalid configuration.
These warnings do not prevent you from loading the configuration and
enabling PRM. For example, you may not specify all users in the PRM
configuration file and mismatches may exist, but the file is still valid.
Users not specified in the PRM configuration file use the user default
group OTHERS (PRMID 1) as their initial group, and they have no
alternate groups.
Loading the PRM configuration
Once you plan your configuration, install PRM, and create your custom
configuration file, you are ready to load your configuration.
Neither the prmconfig options for loading a configuration nor the GUI
equivalents start PRM management of resources; they only load your
specific configuration. All existing and newly spawned processes are
stamped with their PRM group identifiers. However, standard HP-UX is
still managing resource allocation. prmconfig and the corresponding
GUI menu items can be executed regardless of whether PRM or the
standard HP-UX resource management is currently being used.
When you load a configuration with prmconfig -i, prmconfig -k, or
the GUI equivalents, the configuration file is checked for errors. If errors
are found, PRM issues error messages, and does not change the
configuration. Errors in the configuration file must be corrected before
PRM can be configured and enabled.