Patch Name: PHSS_18433 Patch Description: s700_800 10.20 Event Monitoring Services(EMS) Eng. A.03.00 Creation Date: 99/05/10 Post Date: 99/07/08 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: B7609BA EMS Framework A.03.00 Filesets: EMS-Core.EMS-CORE EMS-Config.EMS-GUI Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_18433 Symptoms: PHSS_18433: 1. The EMS GUI running in character mode on 11.0 would not show resources when attempting an "Add" operation. When running on 10.20 or 11.0 in GUI mode, resources would sometimes be missing for the "Add" operation as well. 2. Persistence file grows when client issues rm_query_resource. 3. send_opc_notifcation sends the wrong message when the condition is normal. "Normal" in this case is when the threshold condition is not true and either the initial or return notification is being sent. But in this case, "Problem" is the text for the event parameter instead of normal. 4. startmon_client and psmctd report repeated time-outs in client.log for monitor and subclass requests. 5. Log entries appear to be out of order occassionally, based on timestamp. 6. Log file improvements to help troubleshooting: a. Timestamp has sub-second resolution. b. If /etc/opt/resmon/unlimited_log file is present, disable log file size check, roll-over to log.old, and loss of previous log.old data. 7. "Error renaming p.1.***" error messages from p_client in client.log file. 8. Event 711 error message "Unknown Resource Type" has been logged many times in api.log file. 9. "Bad file number" messages appear in registrar.log, possibly leading to anomalous behavior in clients and miscellaneous errors in client.log. Defect Description: PHSS_18433: Resolution: 1. A pointer value was not being handled. correctly which led to the problems 2. The Info Block of a query request should not be written to the persistence file. 3. The test of RmNotificationTrigger is done to late in send_opc_notification(). This causes the test to fail when notification_trigger == RM_NORMAL. 4. registrar gets stuck sleeping in wait() after exec'g p_client, if it had previously exec'g monitors that are still active. 5. Log semaphore is acquired after calling ctime() to create timestamp. 6. Log file improvements: a. Make it easier to see how long activities take when debug logging is enabled. b. Ensure that log data is not lost, particularly useful when debug logging is enabled. 7. p_client was allocating one-less byte than needed for the persistence file path, causing clobbering of data. 8. checking a duplicated monitor request does not work correctly when the operator of a request is RM_CHANGE or RM_FORCED_NOTIFICATION. 9. If a registrar (possibly the same registrar) catches the connect request by selecting on the listen port in the main loop, it will errantly try to read data from the listen port. This causes the registrar to summarily close the listen port without realizing it. Consequently, all subsequent attempts to contact monitors will fail. SR: 4701420828 4701427609 4701428573 4701428672 4701428870 4701429050 Patch Files: /opt/resmon/bin/emsui /etc/opt/resmon/lbin/p_client /etc/opt/resmon/lbin/registrar /etc/opt/resmon/lib/libopcn.1 /etc/opt/resmon/lib/libresmon.1 /etc/opt/resmon/lib/nls/msg/C/resmon.cat what(1) Output: /opt/resmon/bin/emsui: EMS (A.03.00) (English PHSS_18433, Japanese PHSS_184 34) /etc/opt/resmon/lbin/p_client: EMS (A.03.00) (English PHSS_18433, Japanese PHSS_184 34) /etc/opt/resmon/lbin/registrar: EMS (A.03.00) (English PHSS_18433, Japanese PHSS_184 34) /etc/opt/resmon/lib/libopcn.1: EMS (A.03.00) (English PHSS_18433, Japanese PHSS_184 34) /etc/opt/resmon/lib/libresmon.1: $Header: send_email_notification.c,v x.0306 98/08/05 08:35:47 $Header: log_source.c,v x.0305 98/07/29 11:00:47 hmg r Exp $ EMS (A.03.00) (English PHSS_18433, Japanese PHSS_184 34) /etc/opt/resmon/lib/nls/msg/C/resmon.cat: None cksum(1) Output: 2804657117 122880 /opt/resmon/bin/emsui 1203562774 69632 /etc/opt/resmon/lbin/p_client 904631652 114688 /etc/opt/resmon/lbin/registrar 3689210097 28672 /etc/opt/resmon/lib/libopcn.1 1492646146 503808 /etc/opt/resmon/lib/libresmon.1 1356537907 73795 /etc/opt/resmon/lib/nls/msg/C/resmon.cat Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 950 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_18433 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_18433.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_18433.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_18433. 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_18433.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_18433.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: Various EMS shared libraries have changed and in order for these changes to take affect, any EMS monitors or EMS clients that are running when the patch is installed will need to be stopped (kill -9) and restarted. Please refer to specific client and monitor documentation on how to restart these processes.