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