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
# users
root::::PRM_SYS
# application records
/opt/math/bin/tool::::math_dept,num_cruncher,print_answer
/usr/local/games/tetris::::computer_dept
EOF1
fi
# is PRM turned on?
/opt/prm/bin/prmconfig 2> /dev/null > /dev/null
if [ “$?” -eq “1” ]
then
# need to initialize PRM
/opt/prm/bin/prmconfig -ie -f /etc/opt/prm/conf/Serviceguard
if [ “$?” -eq “1” ]
then
echo “WARNING : prmconfig -f /etc/opt/prm/conf/Serviceguard failed”
return 0
fi
else
# make sure it has my group
/opt/prm/bin/prmconfig | grep math_dept > /dev/null 2> /dev/null
if [ “$?” -ne “0” ]
then
echo “WARNING : conflicting PRM already running on $UNAME”
return 0
else
# log the initial configuration
/opt/prm/bin/prmconfig
fi
fi
else
# no luck. PRM not installed
echo “PRM not installed on $UNAME”
return 0
fi
return 0
}
For information on setting up Serviceguard, see the manual Managing ServiceGuard.
128 Using PRM with Serviceguard