Patch Name: PHSS_10435 Patch Description: s700_800 10.24 VirtualVault TGA Daemon Performance Patch Creation Date: 97/03/18 Post Date: 97/03/27 Hardware Platforms - OS Releases: s700: 10.24 s800: 10.24 Products: VirtualVault Transaction Server A.02.00 US/Canada Release (B5409AA, B5411AA) VirtualVault Transaction Server A.02.00 International Release (B5410AA, B5412AA) Filesets: VaultTS.VAULT-CORE-CMN,A.02.00 Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_10435 Symptoms: PHSS_10435: 1. Disk I/O significantly increases with rising Web traffic load and subsequently slows system performance. 2. Program Integrity Code failures with TGA daemon 3. CGI execution failures auditing same generic message Defect Description: PHSS_10435: 1) The creation of a new Unix Domain socket on the filesystem for each CGI execution becomes prohibitive during heavy load conditions. The establishment and subsequent unlinking of files causes a thrashing of the systems disk and degrades the overall performance of the machine. By switching to a single connection point throughout execution, the thrashing is elliminated. 2) The MD5 routine used to generate the Program Integrity Codes (PIC) had an extra 'byteReverse()' call in it. This made the resultant sum have the byte ordering reversed throughout the hash value. As a result, PICs from the VV 1.x versions of the product would not be usable with 2.0. 3) If the TGA daemon can not execute a given CGI request, it places a specific error message into a buffer for later auditing. This specific error message was always being overwritten by a more generic message just before the audit event was written to disk. SR: 4701349415 4701349506 4701349514 Patch Files: /opt/vaultTS/root/tcb/lib/tgad what(1) Output: /opt/vaultTS/root/tcb/lib/tgad: swp/src/gateway/cgi2/daemon/communications.c, swp_gw _server, vaultTS_2.0 1.3.1.3 03/20/97 PHS S_10435 swp/src/gateway/cgi2/daemon/configuration.c, swp_gw_ server, vaultTS_2.0 1.2.1.4 03/20/97 PHSS _10435 swp/src/gateway/cgi2/daemon/execute.c, swp_gw_server , vaultTS_2.0 1.2.1.5 03/20/97 PHSS_10435 swp/src/gateway/cgi2/daemon/main.c, swp_gw_server, v aultTS_2.0 1.3.1.3 03/20/97 PHSS_10435 swp/src/gateway/cgi2/daemon/md5sum.c, swp_gw_server, vaultTS_2.0 1.1 01/03/97 swp/src/gateway/cgi2/daemon/security.c, swp_gw_serve r, vaultTS_2.0 1.2.1.1 01/15/97 swp/src/gateway/cgi2/daemon/tga_audit.c, swp_gw_serv er, vaultTS_2.0 1.2 01/06/97 Internal_Unsupported_Version libc.a_ID@@/main/r10dav /libc_dav/15 /ux/libc/libs/libc/archive_pa1/libc.a_ID Jan 27 1997 18:28:57 cksum(1) Output: 808936818 312282 /opt/vaultTS/root/tcb/lib/tgad Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 360 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_10435 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_10435.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_10435.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_10435. 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_10435.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_10435.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None