Patch Name: PHSS_9957 Patch Description: s700_800 10.01 MeasureWare B.02.02 Creation Date: 97/03/25 Post Date: 97/03/27 Hardware Platforms - OS Releases: s700: 10.01 s800: 10.01 Products: MeasureWare B.02.02 Filesets: MeasureWare.MWA MeasurementInt.MI MeasurementInt.TT Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_9957 Symptoms: PHSS_9957: 1. MWA metric GBL_RUN_QUEUE lower than expected. 2. Scopeux core dumps on system with greater than 512 disks. 3. Very large password file: glance/gpm and possibly scopeux will have very long start up times if the password file is excessively large. 4. Incorrect logical Volume Group Info: glance/gpm/scopeux may display incorrect logcial volume info 5. Metric PROC_UID invalid. Process user name comes up as a random string digits. This occurs especially with short lived processes. 6. Summation of process information inside an application group will not add up to what is being reported by the application metrics. 7. Glance incorrectly shows disks against IDX1 PHSS_7844: 1. The MWA daemon will display the following message if available disk space is greater than 2 GB: ERROR: collection stopped due to lack of disk space. 2. Log files are corrupted during a resize. 3. Incorrect PROC_STOP reasons being displayed. Defect Description: PHSS_9957: 1. Scope was getting the data from the metric GBL_CPU_QUEUE and displaying it as GBL_RUN_QUEUE. 2. We only support 512 disks within scopeux & there is no check if we go over that number. This means we just start writing to the log file which then ultimately causes a core dump abort. 3. The password file is cached before any measurement is taken. When the password file is excessively large (say > 10000 entries) This may cause the products to have very long start up times. 4. The number of open logical volumes is attained (n) and the first n volumes are displayed, whether they are opened or not, not the volumes that are opened. 5. In the kernel, only the ruid and euid are updated as long as the process is not a zombie or waiting to exit. 6. Application CPU (metric class APP_) calculation was below the sum of the processes contained by that application. The cause was due to the conversion of CPU utilization times from the MI to internal measurement times (micro seconds to milliseconds). Due to these conversions, those numbers were being truncated and accuracy was lost. 7. Modified the algorithm to fit the way the hardware path is defined for past and present hardware (basically from decimal to binary internal representation). PHSS_7844: 1. Scope is overflowing to a negative integer, consequently, it complains that there is not enough disk space. 2. There is a buffering problem at the O.S. level whenever rolls are performed. A temporary fix is to open log files with the OSYNC option. 3. metdesc file is not up to date, resulting in stop reason mismatch. SR: D500255471 D500260679 D500254151 1653176123 D500297499 D500297515 D500297549 D500251546 D500261321 5000715540 Patch Files: /opt/perf/bin/scopeux /opt/perf/newconfig/metdesc /opt/perf/lib/libnums.sl /opt/perf/bin/midaemon /opt/perf/bin/ttd /opt/perf/lib/libtt.a /opt/perf/lib/libtt.sl /opt/perf/lib/libttNOP.sl what(1) Output: /opt/perf/bin/scopeux: scopeux B.02.18 03/11/97 HP-UX 10.01+ =*= /opt/perf/newconfig/metdesc: metdesc B.02.08 06/26/96 =*= /opt/perf/lib/libnums.sl: libnums.sl B.10.01.06 03/10/97 =*= /opt/perf/bin/midaemon: midaemon B.10.01.04 03/05/97 HPUX/MI-A =*= /usr/lib/libc: $Revision: 74.9.1.16 $ /opt/perf/bin/ttd: ttd A.10.01.04 03/05/97 HPUX/MI-A =*= /usr/lib/libc: $Revision: 74.9.1.16 $ /opt/perf/lib/libtt.a: libtt A.10.01.04 03/05/97 HPUX/MI-A 700/800 =*= /opt/perf/lib/libtt.sl: libtt A.10.01.04 03/05/97 HPUX/MI-A 700/800 =*= /opt/perf/lib/libttNOP.sl: libtt - NOP A.10.01.04 03/05/97 HP-UX 10.0+ =*= cksum(1) Output: 514004321 123226 /opt/perf/bin/scopeux 1915397223 224535 /opt/perf/newconfig/metdesc 971980077 1201512 /opt/perf/lib/libnums.sl 3656615075 464342 /opt/perf/bin/midaemon 76904871 456046 /opt/perf/bin/ttd 3589660463 18374 /opt/perf/lib/libtt.a 512110987 28788 /opt/perf/lib/libtt.sl 3211276501 12336 /opt/perf/lib/libttNOP.sl Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_7844 Equivalent Patches: None Patch Package Size: 2540 Kbytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHSS_9957 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_9957.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHSS_9957.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_9957. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. Warning: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHSS_9957.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_9957.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: After installation, you will need to restart MeasureWare processes by typing the command: '/opt/perf/bin/mwa start'.