Patch Name: PHCO_27828 Patch Description: s700_800 11.11 ups_mond(1M) cumulative patch Creation Date: 02/10/24 Post Date: 02/11/26 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: OS-Core.ADMN-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP OS-Core.UPS-TOOLS,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No (superseded patches were critical) PHCO_23832: OTHER If this defect occurs, the system will be gracefully shutdown. Category Tags: defect_repair hardware_enablement general_release critical Path Name: /hp-ux_patches/s700_800/11.X/PHCO_27828 Symptoms: PHCO_27828: ( SR:8606200702 CR:JAGad69878 ) When ups_mond(1M) is forced to shutdown the system, it initiates shutdown in real-time priority. Some shutdown scripts cannot run in real-time priority and on a single processor machine these scripts may hang during shutdown initiated by ups_mond(1M), resulting in improper shutdown of the system. PHCO_24173: ( SR:8606200816 CR:JAGad69992 ) Ups_mond did not support UPS systems with battery life longer than 16 minutes. ( SR:8606198008 CR:JAGad67199 ) The ups_conf(4) man page was confusing. There was no explanation of UPS types, what the default for the "kill_after_shutdown" keyword is, or an example that shows how to use the "kill_after_shutdown" keyword. The "Series 800 Only" text in ups_conf(4), ups_mond(1M), and power_onoff(1M) man pages is misleading since it is supported on Series 700. PHCO_23832: ( SR:8606186115 CR:JAGad55320 ) If the Support Tool Manager (STM) version A.25.00 is installed; and ups_mond and the EMS monitor (dm_ups) are both running; and the system receives a power outage for approximately one second; then the system always gets shut down by ups_mond. Defect Description: PHCO_27828: ( SR:8606200702 CR:JAGad69878 ) ups_mond(1M) does not provide an option to issue /sbin/shutdown(1M) command with timeshare priority. Resolution: ups_mond(1M) is modified to support a new "-t" option to issue /sbin/shutdown(1M) command with timeshare priority. PHCO_24173: ( SR:8606200816 CR:JAGad69992 ) If ups_mond reads a value larger than 999 seconds, it will truncate to 999 seconds. The maximum allowed in the configuration file is 16 minutes. Resolution: PowerTrust II LR and PowerTrust II MR UPS units have been enhanced with a new command that would allow the value of the "shutdown_timeout_mins" keyword in ups_mond's config file increase from 16 minutes to 1092 minutes. The firmware rev that supports the new functionality for these units is: PowerTrust II LR: 2.0 PowerTrust II MR: BD On the PowerTrust II MR unit, the PTPI interface card must be visually inspected since there is no way to programmatically get the firmware revision. If the PTPI interface card has a date code of 4130 or greater, then it supports this new functionality. This version of ups_mond has been enhanced to determine if it is running on new UPS firmware or not. If so, it accepts a maximum of 1092 for the "shutdown_timeout_mins" keyword. If old firmware, it behaves exactly as the previous version of ups_mond. ( SR:8606198008 CR:JAGad67199 ) Man pages needed to be corrected and clarified. Resolution: Updated the ups_conf(4) man page. Added text to explain the "SOLA" UPS type and how it is used. Added text that defines the default value for the "kill_after_shutdown" keyword. Added "kill_after_shutdown" to an example. Removed "Series 800 Only" from ups_conf(4), ups_mond(1M), and power_onoff(1M) man pages. PHCO_23832: ( SR:8606186115 CR:JAGad55320 ) If a system has STM version A.25.00 installed; ups_mond and the EMS monitor (dm_ups) are running; and the system receives a one second power outage; then ups_mond never gets the "power return" status and the system gets shut down. Resolution: The code was modified to not gather state information about the UPS in the case of a power outage. Enhancement: No SR: 8606186115 8606198008 8606200702 8606200816 Patch Files: OS-Core.ADMN-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64, v=HP: /usr/share/man/man1m.Z/power_onoff.1m /usr/share/man/man1m.Z/ups_mond.1m /usr/share/man/man4.Z/ups_conf.4 OS-Core.UPS-TOOLS,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/lbin/ups_mond what(1) Output: OS-Core.ADMN-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64, v=HP: /usr/share/man/man1m.Z/power_onoff.1m: None /usr/share/man/man1m.Z/ups_mond.1m: None /usr/share/man/man4.Z/ups_conf.4: None OS-Core.UPS-TOOLS,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/lbin/ups_mond: ups_mond.c $Date: 2002/10/01 17:51:18 $Revision: r11 .11/3 PATCH_11.11 (PHCO_27828) $Revision: @(#) ups_mond CUP11.11_BL2002_1024_4 PATC H_11.11 PHCO_27828 Thu Oct 24 10:17:01 PDT 2002 $ $ Version_11.11 Oct 10 2002 11:01:43 $ cksum(1) Output: OS-Core.ADMN-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64, v=HP: 2519595327 4483 /usr/share/man/man1m.Z/power_onoff.1m 2135603548 5702 /usr/share/man/man1m.Z/ups_mond.1m 717519587 2657 /usr/share/man/man4.Z/ups_conf.4 OS-Core.UPS-TOOLS,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: 1990858505 262144 /usr/lbin/ups_mond Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_24173 PHCO_23832 Equivalent Patches: None Patch Package Size: 310 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 PHCO_27828 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_27828.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_27828. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHCO_27828.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_27828.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_27828.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None