Table 14 Differences in loads when a configuration is already loaded

Command

prmconfig

-i[LINEBREAK](Initialize or Move)

prmconfig

-k[LINEBREAK](Keep)

Description

Loads a PRM configuration as follows:

Places processes subject to compartment, application, user, or Unix group records in their assigned PRM groups.

Places all currently running processes—not owned by root—in their owners’ initial groups, as defined in the owners’ user records. The initial group is OTHERS for nonroot users without user records.

If root has a user record, root logins that occur after the load are placed in the PRM group specified as the initial group in the user record. However, any root processes that exist when the load happens are left as is, unless the process is executing in a group that is deleted in the new configuration, in which case, the processes are moved to the specified initial group.

Loads a PRM configuration, keeping all processes in their current PRM groups, with the following exceptions:

User processes running in PRM_SYS (the PRM system group) and processes running in groups that do not exist in the new configuration

Each process is moved to the initial group of the process owner, as defined in the configuration file. The initial group is PRM_SYS for root users without user records. The initial group is OTHERS for nonroot users without user records.

User processes where the initial group is a PSET PRM group—and at least one PSET group in the configuration has specific cores assigned to it

Each process is moved to the initial group of its user as defined in the configuration file.

Application processes matching application records running in PRM_SYS or in a PSET PRM group—and at least one PSET group in the configuration has specific cores assigned to it

These processes are moved to the assigned groups when the application manager is enabled.

This load does not negate any previous prmrun or prmmove commands.

Loading the PRM configuration with prmconfig

When loading a configuration, you have two options. To initialize on the load of a configuration, moving user processes to the owners’ initial groups and moving applications to their assigned groups, use the command:

#prmconfig -i [-fconfigfile] {-s -c}

To keep the existing assignments of users, processes, and groups, use the command:

#prmconfig -k [-fconfigfile] {-s -c}

Use the -fconfigfile option to specify a file other than the default /etc/prmconf. The -soption displays warnings regarding the configuration file. (The -coption displays a subset of the -swarnings.)

NOTE: After you load your configuration, you can enable PRM, as discussed in “Enabling resource managers” (page 80).

Enabling resource managers

Enable PRM’s resource managers after you load your configuration.

80 Configuring and enabling PRM on the command line

Page 80
Image 80
HP Process Resource Manager (PRM) Enabling resource managers, Loading the PRM configuration with prmconfig, Prmconfig