To set the interval for the application manager, set PRM_INTL_APPL to the number of seconds you want the interval to last:

PRM_INTL_APPL=seconds

To set the interval for the memory manager, set PRM_INTL_MEM to the number of seconds you want the interval to last:

PRM_INTL_MEM=seconds

To log application manager messages to /var/adm/syslog/syslog.log, set PRM_LOG_APPL to one:

PRM_LOG_APPL=1

To log memory manager messages to /var/adm/syslog/syslog.log, set PRM_LOG_MEM to one:

PRM_LOG_MEM=1

To start PRM’s SNMP agent on reboot, set PRM_SNMPAGT to one:

PRM_SNMPAGT=1

For more information on this agent, see Appendix C.

Reconstructing a configuration file

When PRM is configured, an internal copy of the configuration file is created as /var/opt/prm/PRM.prmconf. If PRM is then reconfigured, this file is renamed /var/opt/prm/PRM.prmconf.old, and a copy of the new configuration is created as /var/opt/prm/PRM.prmconf. If PRM is reset after being configured, the /var/opt/prm/PRM.prmconf file is renamed /var/opt/prm/PRM.prmconf.old.

These internal copies can be used as backups if your configuration file is lost or corrupted. Be aware though that records for applications or users that were not present when the configuration was loaded will not be in the files.

Table 16 shows when the various files are available.

Table 16 Internal copies of configuration files

State

Files available

Boot-time

None

Load a configuration

/var/opt/prm/PRM.prmconf (current configuration)[LINEBREAK]/var/tmp/PRM.prmconf

 

(configuration kept for legacy purposes)

Load a configuration when a /var/opt/prm/PRM.prmconf (current

configuration is already

configuration)[LINEBREAK]/var/opt/prm/PRM.prmconf.old (previous

present

configuration)[LINEBREAK]/var/tmp/PRM.prmconf (configuration kept for legacy

 

purposes)

Reset PRM

/var/opt/prm/PRM.prmconf.old (previous configuration)

Backup copies of various files are available in /var/opt/prm/.

You may also see the files /var/opt/prm/PRM.prmconf.src and /var/opt/prm/PRM.prmconf.srcinfo if, with a release prior to C.02.01, you have automatically started PRM at boot time through settings in your /etc/rc.config.d/prm file. The PRM.prmconf.src file is used to configure PRM in such cases.

Special case of interest: Client/server connections

NOTE: The scenario described in this section applies only when the application manager is not enabled. Prevent this scenario by enabling the manager using the prmconfig -ecommand.

In a client/server configuration, users attaching to a system via a socket connect (bypassing the normal login procedure) all run as the same user (typically, root or other username). Because PRM

Reconstructing a configuration file

99

Page 99
Image 99
HP Process Resource Manager (PRM) Reconstructing a configuration file, Special case of interest Client/server connections