HP Process Resource Manager User's Guide

Configuring and enabling PRM on the command line
Configuring PRM
Chapter 7132
With prmconfig -k, typically all of the application’s currently running
processes continue to execute in their current groups until:
•Aprmmove is executed
The application is restarted
The application manager moves any processes that are not in their
assigned groups
However, prmconfig -k does move a currently running application if:
It is running in the system group (PRM_SYS) and that is not its
assigned group
The group it is running in is deleted in the new configuration
For more information on these options, see Table 7-1 on page 154.
Step 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
Example: Grouping an application by its alternate names and
functions To place an application in the same group as its alternate
names, add the application’s name to the list of alternate names. For
example, to put the main database program in the group
order_process, add it to the list of alternate names in the record, as
shown below:
#PRM application records
/usr/bin/database::::business_apps,db_inventory,db_payroll
/usr/bin/database::::order_process,db_orders,database
Example: Assigning a running application to another group
Assume the sales department purchased a new application called
CustomerTrack to help them track their customer base. Because the
application does not have a record, it runs in the group of the users that
invoke it. Because everyone on the sales staff is assigned to the sales
group, CustomerTrack runs in the sales group.