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