1827293 Members
2564 Online
109717 Solutions
New Discussion

PRM configuration

 
kholikt
Super Advisor

PRM configuration

Just wondering if I change any PRM configuration to the group, will this affect those process that was running.
abc
2 REPLIES 2
kholikt
Super Advisor

Re: PRM configuration

I mean do I need to restart the application after the change of PRM configuration
abc
Sunil Sharma_1
Honored Contributor

Re: PRM configuration

Hi,

Here is some info for you i have taken it from PRM user manual.

To update your configuration, simply change your configuration file and load it. You do not need to disable or reset PRM to make changes to your PRM configuration.
For small changes you can bring the configuration file into a text editor or xprm, make the changes, save the file, and then load the configuration with prmconfig or xprm.

If you are adding a large number of new users to the configuration file, you can use prmloadconf to add the users for you. For each user in the password file not already specified in the configuration file, prmloadconf appends a PRM user record to the configuration file. The added record specifies the user's login name from the password file and the user default group OTHERS (PRMID 1). After using prmloadconf, you may want to modify the user's initial group and add alternate groups. After changing the configuration file, you must still load the configuration using either prmconfig or xprm.

When using prmloadconf, if the configuration file already exists, elements of the existing file are checked for suitability (such as the presence of the user default group). Use the -f option to specify a configuration file other than /etc/prmconf.

If the new configuration deletes a group, then all currently running processes that were associated with that group are moved to the owner's initial group, and to the assigned groups for configured applications. If a process owner does not have an initial group or its group does not exist in the new configuration, the process is moved to the user default group OTHERS (PRMID 1). If the owner of a process running in a group that is deleted is a root user, the process is moved to the system group. The system group, PRM_SYS (PRMID 0), is automatically created by PRM, and system processes run there by default.

Change your configuration file then load the new configuration, as indicated in the following steps:

Step 1. Change the configuration using prmloadconf or as explained in Configuring PRM.
Step 2. Load the configuration using one of the following commands.

To initialize, moving user processes to the owners' initial groups and moving applications to their assigned groups, use the command:

# prmconfig -i [-f configfile] -s

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

# prmconfig -k [-f configfile] -s

Use the -f configfile option to specify a file other than the default /etc/prmconf. The -s option displays warnings regarding the configuration file.

Alternatively, you can load the configuration using xprm as shown in Loading the PRM configuration. xprm automatically performs validation before loading a new configuration.
Step 3. Enable resource managers if they are not already enabled:

# prmconfig -e

Enabling resource managers using xprm is described in the section Enabling resource managers.

follow link below for manual.

http://docs.hp.com/hpux/pdf/B8733-90009.pdf

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***