Manuals
/
HP
/
Computer Equipment
/
Software
HP
Process Resource Manager (PRM)
manual
Enter public in the field Community Name
Models:
Process Resource Manager (PRM)
1
120
154
154
Download
154 pages
33.55 Kb
117
118
119
120
121
122
123
124
Install
Error codes
Administering PRM
PRM configuration planning
Resetting PRM
Accessing PRM’s Snmp data
Command reference 101
Prmrecover Prmrecover resource
Using PRM with Serviceguard
Using OpenView’s xnmbrowser
Page 120
Image 120
4.
Enter “public” in the field Community Name.
120 Monitoring PRM through SNMP
Page 119
Page 121
Page 120
Image 120
Page 119
Page 121
Contents
HP Process Resource Manager User Guide
Legal Notice
Contents
PRM configuration planning
Setting up PRM
Using PRM with HP System Management Homepage SMH
Using PRM with HP Systems Insight Manager SIM
Fine-tuning your PRM configuration
Administering PRM
Command reference 101
Ovpm
Glossary 145 Index 148
Preface
New in this edition
Supported platforms
Notational conventions
Associated documents
Providing feedback
Support and patch policies Training
What is HP Process Resource Manager?
Overview
Introduction to PRM commands
Why use HP Process Resource Manager?
Standard HP-UX resource allocation
How PRM can improve on standard allocation
Balancing resource use between users
Resources managed by PRM
Prioritizing resource use between users
Prioritizing resource use for applications
Limiting resource consumption
Isolating resource use for applications and users
Understanding how PRM manages resources
How PRM controls resources
PRM groups
Resource allocation
What are processor sets?
How processor sets work?
Processor sets example
Altered configuration
What are shares?
How shares work
Converting shares to percentages
Hierarchical PRM groups
Parent, child, sibling, and leaf PRM groups
Hierarchical PRM groups-top level
Hierarchical PRM groups-Development’s child groups
How PRM manages CPU resources
Example PRM CPU resource management
PRM CPU resource management
CPU allocation and number of shares assigned
Capping CPU resource use
How PRM manages CPU resources for real-time processes
Hyper-Threading
Multiprocessors and PRM
How PRM manages real memory resources
How HP-UX manages memory
Available memory
How PRM controls memory usage
Example of available memory on a 1024-Mbyte system
Reducing memory shares
Capping memory use
Implementation of shares and caps
Isolating a group’s private memory resources
How PRM manages shared memory
How PRM manages locked memory
Example memory management
Locked memory distribution
How resource allocations interact
How PRM manages applications
How PRM handles child processes
Pattern matching for filenames
PRM’s group assignments at process start-up
Pattern matching for renamed application processes
Opt/specialapps/bin/*GroupS
Precedence of PRM group assignments
Myfavoriteapp
Prmrun -g GroupA barnone
Bar
Phonehome
Understanding how PRM manages resources
PRM configuration planning
Using multiple configurations
Selecting a configuration model
Budget model configurations
Application priority model configurations
MEM
Identifying resource use
Quick analysis
Detailed analysis
Using prmanalyze to quickly identify resource use
Initial configuration based on prmanalyze’s CPU report
#prmanalyze -s command -r mem -p -t summary -1filename
Initial configuration based on prmanalyze’s memory report
25%
Setting up PRM
Installing PRM
Setting PRM to start automatically at reboot
Installing PRM Setting PRM to start automatically at reboot
Using PRM with HP System Management Homepage SMH
Quick start to using PRM’s SMH interface
#/opt/prm/bin/prmsmhconfig -c
#ps -efP
Using PRM with HP Systems Insight Manager SIM
Configuring user authorizations
What PRM tasks are available through SIM?
Quick start to using PRM’s SIM interface
Role PRM administrator
HP SIM toolboxes needed for PRM administrator role
Role PRM operator
#ps -efP
Configuring and enabling PRM on the command line
Quick start to using PRM’s command-line interface
#prmconfig -s -c -fconfigfile
#prmconfig -i -fconfigfile
Configuring PRM
PRM configuration file
#prmconfig -e
Configuration tips and requirements
Specifying PRM groups/controlling CPU resource use
Reserved PRM groups
Group/CPU record syntax
Development/Compilers/Fortran
Hier
Adding/modifying PRM groups and CPU allocations
Explained in the section Group/CPU record syntax
Capping CPU resource use
Removing groups/CPU allocations
Controlling memory use
Memory record syntax
Private memory
#!PRMMEM
Shared memory
Megabytes
#prmconfig -e MEM
Adding/modifying private memory shares/caps
Adding/modifying shared memory allocations
Explained in the section Memory record syntax
Removing private memory shares
Removing shared memory allocations
Isolating private memory for a group
Controlling applications
Duplicate application records
Missing applications are ignored
Application record syntax
See Launching a Java program under PRM
See Pattern matching for filenames
Adding/modifying an application’s group assignment
#prmconfig -e Appl
# prmconfig -k
Removing an application’s group assignment
# prmmove critapps -g
Launching an application under PRM
# prmrun criticalapp
Launching a script under PRM
Launching an application in its assigned group
Launching an application in a user-specified group
#prmrun -g sales CustomerOrder
Specifying PRM users
Launching a Java program under PRM
User record syntax
Prmmove -p $$groupname
User
Displaying netgroup expansions
Adding/modifying a user’s group assignment
Removing a user’s group assignment
Example Changing the initial group of a user
#prmmove purchasing -u advisor6
Assigning secure compartments to PRM groups
Compartment record syntax
Adding/modifying a compartment’s group assignment
Removing a compartment’s group assignment
Explained in the section Compartment record syntax
Assigning Unix groups to PRM groups
Unix group record syntax
Adding/modifying a Unix group’s PRM group assignment
Removing a Unix group’s PRM group assignment
Explained in the section Unix group record syntax
Checking the configuration file
Loading the PRM configuration
Loading the PRM configuration with prmconfig
Differences in loads when a configuration is already loaded
Prmconfig
Enabling resource managers
Updating the configuration
Enabling resource managers with prmconfig
Enabling specific resource management on the command line
#prmconfig -i -fconfigfile -s -c
Fine-tuning your PRM configuration
Using prmanalyze to analyze your configuration
Example Locating system bottlenecks
Daily weekly monthly
#prmanalyze -r cpu -1 -t hourly -s prmid myacct
#prmanalyze -r mem -E -1 -t hourly -s prmid myacct
Example Checking for patterns and configuration accuracy
Example High-level views of usage
#prmanalyze -t weekly -d 16 *.acct98 Jan.acct99 Feb.acct99
#prmanalyze -s prmid -r cpu -p -t daily -x 0 filename
Using GlancePlus to analyze your configuration
Analyzing memory use
GlancePlus information on PRM
#prmconfig -L MEM Stop
#ps -ef grep prm2d
#tail -f /var/adm/syslog/syslog.log grepPIDofcurrentprm2d
Var/adm/syslog/syslog.log file
Administering PRM
Moving processes between PRM groups
Displaying application filename matches
Displaying netgroup expansions
Bin/b*Bapplications
#prmlist -a
#prmlist
Displaying accessible PRM groups
Displaying state and configuration information
#prmconfig
#prmlist -u +prime
Displaying application and configuration information
Setting the memory manager’s polling interval
Setting the application manager’s polling interval
Setting the interval with prmconfig
Resetting PRM
Disabling PRM with prmconfig
Resetting PRM with prmconfig
Disabling PRM
Controlling memory logging with prmconfig
Controlling application logging with prmconfig
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
#prmmonitor 30
Displaying number of cores to determine number of shares
Displaying past process information
Displaying current process information
Monitoring PRM with GlancePlus
#ps -R Others
Log global application=prm process dev=disk,lvm transaction
Mwa restart scope
Automating PRM administration with scripts
Protecting the PRM configuration from reboots
PRMCONFIGFILE=/etc/opt/prm/conf/dayconf.prm
PRMSLEEP=n
Reconstructing a configuration file
Internal copies of configuration files
Special case of interest Client/server connections
PRMINTLAPPL=seconds
Online cell operations
Backing up PRM files
Command reference
Prmagt Prmagt -plock -stop -intervalseconds
Prmagt user options/parameters
Plock
Prmanalyze -s command -r cpu -t summary /var/adm/pacct
Stop
Interval seconds
Auto uid gid command prmid
Fconfigfile
Prmanalyze options/parameters
Disk mem cpu
Summary conflict hourly daily weekly monthly
Conflict
Hourly
Daily , weekly , monthly
Prmavail Prmavail -p -f CPU Disk MEM
Dresourcedensity
Mminimumduration
Xexcludevaluekey
Prmconfig user options
Prmconfig root user options
Configfile-i -k -s -c
Configuration lock already held by %s
Manager
Iintervalmanager
Prminitconfig -a -r -h
Prmconfig -r to reset
Lmanager logarg
Mmode
Prminitconfig options/parameters
Group
Prmloadconf Prmloadconf -fconfigfile
Prmlist user options
Prmloadconf root user options
Differences in output from prmmonitor and top
Prmmonitor user options/parameters
Resource
Interval
Prmrecover Prmrecover resource
Prmrecover user options/parameters
Prmmove user options/parameters
Prmsmhconfig -c -u -h
Prmsmhconfig options/parameters
Prmrun -w
Prmrun user options/parameters
Prm2scomp -pprmpath-sscomppath-i
Prm2scomp options/parameters
Scomp2prm -m -pprmpath
Scomp2prm options/parameters
Srpgen options/parameters
Fbasepath
HP-UX command/system call support
HP-UX commands/system calls that support PRM groups
PRM options in HP-UX commands
Monitoring PRM through Snmp
Structure of PRM’s Snmp data prmReadOnly
Accessing PRM’s Snmp data
Using OpenView’s snmpwalk
Using OpenView’s xnmbrowser
#/opt/prm/bin/prmagt
Start xnmbrowsesr
#/opt/OV/bin/xnmbrowser
Enter public in the field Community Name
Navigate to the PRM’s data by following the hierarchy
Monitoring PRM through Snmp
Graphing resource usage
Monitoring PRM through Snmp
PRM groups in xnmbrowser graph
Databases/inventory
Databases/order
Mailserver
Creating Secure Resource Partitions
Using PRM with Serviceguard
SERVICECMD0=/opt/prm/bin/prmrun -g mathdeptapplication
EOF1
Using PRM with HP Integrity Virtual Machines
PRM and Virtual Machines
PRM error messages
Prmmonitor error messages
PRM is not configured
PRM resource managers disabled
Prmconfig error messages
Message Cannot display configuration. PRM is not configured
Message PRM is disabled and not configured
Message The -i and -k options cannot be used together
-f option requires an argument
Prmconfig command
-M option requires a keyword argument
Unrecognized keyword argument for -M option
Prmmove error messages
Could not find group %s in configuration file
Requires users to be specified by login names
Requires that PRM be configured
User %s does not have permission to move process %d
Prmrun error messages
Could not launch application %s in group %sperror
Users Path environment variable is empty
Application file %s does not exist
Application file %s is empty
Prmlist error messages
Could not find group %s in the configuration file
Could not find user %s in the configuration file
Could not find full path of application %s
Please specify only one -s option
Prmloadconf error messages
Prmrecover error messages
Prmavail error messages
Prmanalyze error messages
Unable to create temp file in /tmp
Unable to open temp file %s
File format with acctcom
Unable to read event temp file %s
Prmagt error messages
Glossary
Alternate group
Others group
UID
Index
CPU
Syntax, 111 prmrecover
Index
NIS
Index
153
Index
Top
Page
Image
Contents