PRM Software


In HP-UX 11i PRM is one of the bundled products of the Enterprise Operating Environment. The following listing shows PRM as part of an swlist :

 root@dwdbp1[/.root] >  swlist HPUX11i-OE-Ent  # Initializing... # Contacting target "dwdbp1"... # # Target:  dwdbp1:/ # # HPUX11i-OE-Ent        B.11.11.0109      HP-UX Enterprise Operating Environment Component   HPUX11i-OE-Ent.ApacheStrong1.3.19.20    HP Apache-based Web Server with                                                 Strong (128bit) Encryption   HPUX11i-OE-Ent.ServControlMgrA.02.03    HP-UX ServiceControl Manager   HPUX11i-OE-Ent.Proc-Resrc-MgrC.02.00    Process Resource Manager Proc-Resrc-Mgr product   HPUX11i-OE-Ent.PRM-Sw-LibC.02.00        Process Resource Manager PRM-Sw-Lib product   HPUX11i-OE-Ent.PAM-NTLMA.01.06          HP NTLM Pluggable Authentication Module   HPUX11i-OE-Ent.PAM-KerberosB.11.11     PAM-Kerberos Version 1.0   HPUX11i-OE-Ent.OnlineJFSB.11.11         Online features of the VxFS File System   HPUX11i-OE-Ent.OVOPC-SEA.05.57          IT/Operations Special Edition Product   HPUX11i-OE-Ent.OVOPC-SE-GUIA.05.57      IT/Operations Special Edition Java UI   HPUX11i-OE-Ent.OVOPC-SE-DOCA.05.57      IT/Operations Special Edition Documentation   HPUX11i-OE-Ent.OVOPC-DFLTA.05.57        IT/Operations Special Edition Default   HPUX11i-OE-Ent.OVOPC-AGTA.05.57         IT/Operations Agent   HPUX11i-OE-Ent.OE     B.11.11.0109      HP-UX OE control script product   HPUX11i-OE-Ent.NS-communicateB.11.00.05  Netscape Communicator 4.75   HPUX11i-OE-Ent.MeasurementIntC.03.35.00  HP-UX Measurement Interface for 11i   HPUX11i-OE-Ent.MeasureWareC.03.35.00     MeasureWare Software/UX   HPUX11i-OE-Ent.LVM    B.11.11            LVM   HPUX11i-OE-Ent.Java2RTE_perf1.2.2.08B.02 Java 2 RTE (700/800), PA2.0 Performance   HPUX11i-OE-Ent.Java2RTE_doc1.2.2.08B.02  Java 2 RTE (700/800), Distribution License   HPUX11i-OE-Ent.Java2RTE_base1.2.2.08B.02 Java 2 RTE (700/800), PA1.1 Portable   HPUX11i-OE-Ent.Java-PlugIn1-21.2.2.08B.02    HPplug-In for Java 2   HPUX11i-OE-Ent.Glance C.03.35.00             HP GlancePlus/UX   HPUX11i-OE-Ent.EMS-RdbmsMonA.03.20.01        EMS Database Monitor   HPUX11i-OE-Ent.EMS-MIBMonitorA.03.20.01      EMS MIB Resource Monitor Product   HPUX11i-OE-Ent.EMS-DiskMonitorA.03.20.01     EMS Disk Resource Monitor   HPUX11i-OE-Ent.CIFS-ServerA.01.07            CIFS/9000 (Samba)   HPUX11i-OE-Ent.CIFS-DevelopmentA.01.07       CIFS/9000 server source code   HPUX11i-OE-Ent.CIFS-ClientA.01.06            HP CIFS/9000 Client root@dwdbp1[/.root] > 

The PRM- related software is shown in the 11i Enterprise Operating Environment.

PRM is loaded in /opt/prm . The following is a long listing of this directory:

 root@dwdbp1[/.root] >  ls -l /opt/prm  total 44 dr-xr-xr-x   3 bin        bin         1024 Oct 29 18:28 bin drwxr-xr-x   2 root       sys           96 Oct 29 18:29 conf dr-xr-xr-x   2 bin        bin           96 Oct 29 18:28 doc -rw-r--r--   1 root       sys          110 Jul 19  2001 exempt dr-xr-xr-x   3 bin        bin           96 Oct 29 18:29 help dr-xr-xr-x   3 bin        bin           96 Oct 29 18:29 lbin dr-xr-xr-x   3 bin        bin         1024 Oct 29 18:29 lib dr-xr-xr-x   6 bin        bin           96 Oct 29 18:28 man dr-xr-xr-x   3 bin        bin           96 Oct 29 18:29 newconfig -r--r--r--   1 bin        bin        18847 Jul 19  2001 prm.my 

The release notes for PRM are in the directory /opt/prm/newconfig/RelNotes.

After PRM is loaded, we have to set the value of variables in /etc/rc.config.d/prm to suit our needs. The variables in this file give you control over such functions as whether or not capping is enabled, configuring PRM on reboot, and other such basic setup functions. These variables are described in both the startup file and User's Guide . You can set all of the variables to 1 to enable everything, or pick and choose which functions you want enabled. The following is a list of the variables with all functions enabled except PRM's SNMP agent:

 PRM_CONFIG=1        # PRM configured on reboot PRM_ENABLE=1        # Enable resource managers PRM_CAPPING=1       # Enable CPU capping PRM_SNMPAGT=0       # Don't start PRM's SNMP agent PRM_RMTCONF=1       # Enable PRM remote configuration 

The following listing shows the entire contents of the /etc/rc.config.d/prm file.

 root@dwdbp1[/.root] >  cat /etc/rc.config.d/prm  #!/sbin/sh # # PRM configuration.  See prmconfig(1) # # To configure (and enable) PRM automatically at boot time, PRM must have # been previously configured.  The most recent configuration will be used, # that is the configuration in place prior to system shutdown or before the # most recent prmconfig -r (reset). # # PRM_CONFIG: Set to 1 to configure PRM # PRM_ENABLE: Set to 1 to enable PRM # PRM_CAPPING: Set to 1 to start PRM in CPU capping mode when enabled # PRM_SNMPAGT: Set to 1, always spawn prmagt at boot time # PRM_RMTCONF: Set to 1, always spawn remote config daemon at boot # # NOTE:  in order to use PRM_ENABLE=1, you must set PRM_CONFIG=1 # NOTE:  in order to use PRM_CAPPING=1, you must set PRM_ENABLE=1 # PRM_CONFIG=1 PRM_ENABLE=1 PRM_CAPPING=1 PRM_SNMPAGT=0 PRM_RMTCONF=1 

With PRM loaded and running, we can now begin to configure PRM to manage resources.



HP-UX 11i Systems Administration Handbook and Toolkit
HP-UX 11i Systems Administration Handbook and Toolkit (2nd Edition)
ISBN: 0131018833
EAN: 2147483647
Year: 2003
Pages: 301

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net