User's Manual
Table Of Contents
- HP Process Resource Manager User Guide
- Contents
- Preface
- 1 Overview
- 2 Understanding how PRM manages resources
- 3 PRM configuration planning
- 4 Setting up PRM
- 5 Using PRM with HP System Management Homepage (SMH)
- 6 Using PRM with HP Systems Insight Manager (SIM)
- 7 Configuring and enabling PRM on the command line
- Quick start to using PRM’s command-line interface
- Configuring PRM
- The PRM configuration file
- Configuration tips and requirements
- Specifying PRM groups/controlling CPU resource use
- Controlling memory use
- Controlling applications
- Specifying PRM users
- Assigning secure compartments to PRM groups
- Assigning Unix groups to PRM groups
- Checking the configuration file
- Loading the PRM configuration
- Enabling resource managers
- Updating the configuration
- 8 Fine-tuning your PRM configuration
- 9 Administering PRM
- Moving processes between PRM groups
- Displaying application filename matches
- Displaying netgroup expansions
- Displaying accessible PRM groups
- Displaying state and configuration information
- Displaying application and configuration information
- Setting the memory manager’s polling interval
- Setting the application manager’s polling interval
- Disabling PRM
- Resetting PRM
- Monitoring PRM groups
- Logging PRM memory messages
- Logging PRM application messages
- Displaying groups’ allocated and used resources
- Displaying user information
- Displaying available memory to determine number of shares
- Displaying number of cores to determine number of shares
- Displaying past process information
- Displaying current process information
- Monitoring PRM with GlancePlus
- Monitoring PRM with OpenView Performance Agent (OVPA) / OpenView Performance Manager (OVPM)
- Automating PRM administration with scripts
- Protecting the PRM configuration from reboots
- Reconstructing a configuration file
- Special case of interest: Client/server connections
- Online cell operations
- Backing up PRM files
- A Command reference
- B HP-UX command/system call support
- C Monitoring PRM through SNMP
- D Creating Secure Resource Partitions
- E Using PRM with Serviceguard
- F Using PRM with HP Integrity Virtual Machines
- G PRM error messages
- Glossary
- Index

In addition to syntax requirements, it is important to keep the following configuration file requirements
in mind:
• PRM automatically assigns system processes to the group PRM_SYS (PRMID 0) and calculates
this group’s resource needs. You do not need to specify the PRM_SYS group in the PRM
configuration file.
NOTE: If you are configuring PRM to manage memory resources, the PRM configuration file
must not contain a PRM_SYS group. If the group is already present, delete it.
• The user default group, OTHERS (PRMID 1), is required in the PRM configuration file.
• Nonroot users cannot have access to the system group PRM_SYS (PRMID 0).
The default PRM configuration file, /etc/prmconf, is created automatically when you install PRM.
Execute the prmloadconf utility to create the /etc/prmconf file if it is not present. To create the
same configuration file with a name other than /etc/prmconf, use prmloadconf -f configfile,
specifying your preferred name in place of configfile. Keep alternate configuration files in the
directory /etc/opt/prm/conf/, with the owner set to hpsmh.
Use the configuration file created by prmloadconf as a template to establish your specific
configuration. Customize this file based on your configuration planning. Configuration planning
is discussed in “PRM configuration planning ” (page 37).
The generic configuration file contains:
• A PRM group/CPU record for the user default group, OTHERS (PRMID 1) and 100 CPU shares.
• A PRM user record for each user specified in the /etc/passwd file. Root users are assigned
to the group PRM_SYS. For each nonroot user, instead of placing the user in a PRM group,
a record is created using the placeholder (NONE). The typical PRM placement rules then
apply to the processes owned by the given user. (For information on the placement rules, see
“Precedence of PRM group assignments” (page 34).)
• On HP-UX 11i v2 (B.11.23) and later, a PRM compartment record for each active secure
compartment. Instead of mapping the compartment to a PRM group, each record uses the
placeholder (NONE). (You create secure compartments using the HP-UX feature Security
Containment. You can also create secure compartment configurations using a PRM utility such
as srpgen or prm2scomp.)
• A PRM Unix group record for each Unix group defined on the system. Instead of mapping
the Unix group to a PRM group, each record uses the placeholder (NONE).
If you add or modify users in /etc/passwd after installing PRM, execute prmloadconf to add
new PRM user records to your configuration file for the new or modified /etc/passwd entries.
These new PRM user records are created with the placeholder (NONE) instead of a PRM group.
Compartment records and Unix group records are also created. prmloadconf retains any
customization you have made to an existing configuration file.
Configuration tips and requirements
When altering a PRM configuration, keep in mind:
• Assigning memory shares to groups is optional. However, if do you assign memory shares,
you must assign them to all PRM groups. You cannot assign memory shares in a configuration
with PRM_SYS explicitly defined.
• The minimum CPU and memory shares are one. (Assigning one share is rarely a good idea
for any resource.)
• FSS PRM group PRMID numbers must be in a range from 0 to 63 or from 0 to 255 starting
with HP-UX 11i v2 Update 2. (PRMIDs for PSET PRM groups are assigned by PRM). PRMID 0
Configuring PRM 53