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
These compartment records map:
• The compartment Comp1 into the group development
• The compartment Comp2 into the group sales
• The compartment Comp3 into the group mktg
Adding/modifying a compartment’s group assignment
To add or modify a compartment record, follow these steps:
1. Open the desired configuration file in a text editor.
2. Using the syntax shown below:
#!SCOMP:COMPARTMENT_NAME:{GROUP | (NONE)}
and explained in the section “Compartment record syntax” (page 75):
a. Add or modify a line specifying a compartment name.
b. Add or modify the group—or replace it with (NONE).
3. Save the file and exit your editor.
4. Load the configuration using one of the following commands:
To initialize, moving user processes to the owners’ initial groups and moving applications to
their assigned groups, use the command:
#prmconfig -i [-fconfigfile] {-s | -c}
To keep the existing assignments of users, processes, and groups, use the command:
#prmconfig -k [-fconfigfile] {-s | -c}
Use the -f configfile option to specify a file other than the default /etc/prmconf. The -s
option displays warnings regarding the configuration file. (The -c option displays a subset
of the -s warnings.)
5. Enable PRM’s application manager if it is not already enabled:
#prmconfig -e APPL
Alternatively, enable all PRM resource managers using prmconfig -e without any additional
arguments:
#prmconfig -e
Removing a compartment’s group assignment
To remove a compartment record manually:
1. Open the configuration file in a text editor.
2. Remove the line corresponding to the compartment record you wish to remove. Compartment
records have the following form:
#!SCOMP:COMPARTMENT_NAME:{GROUP | (NONE)}
3. Save the file and exit the text editor.
4. Load the configuration using one of the following commands:
To initialize, moving user processes to the owners’ initial groups and moving applications to
their assigned groups, use the command:
#prmconfig -i [-fconfigfile] {-s | -c}
To keep the existing assignments of users, processes, and groups, use the command:
#prmconfig -k [-fconfigfile] {-s | -c}
Use the -f configfile option to specify a file other than the default /etc/prmconf. The -s
option displays warnings regarding the configuration file. (The -c option displays a subset
of the -s warnings.)
76 Configuring and enabling PRM on the command line