Patch Name: PHSS_27890 Patch Description: s700_800 10.20 OV WLSSPIa.02.00.00 Perl,WLS5,Metric 1 Fixes Creation Date: 02/11/19 Post Date: 02/11/21 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: OpenView WebLogic Server SPI A.02.00.00 Filesets: WLSSPI.WLSSPI-CORE,A.02.00.00 WLSSPI.WLSSPI-HPUX,A.02.00.00 WLSSPI.WLSSPI-SOL,A.02.00.00 WLSSPI.WLSSPI-NT,A.02.00.00 Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_27890 Symptoms: PHSS_27890: - R555018660 - All scripts fail on OVO 6.x Solaris agents - R555018605 - Metric 1 fails to report when server is down - R555018544 - WLS 5 availability check fails on NT - R555017595 - Reporter data for a down app server is missing - R555018984 - Several metrics are returning no data. - R555019033 - WebLogic logfiles are not being monitored. Defect Description: PHSS_27890: Resolution: R555018544 - All SPI scripts fail on OVO 6 Solaris agents PROBLEM: The SPI fails to run on OVO 6 on Solaris with the message: ld.so.1: /opt/OV/contrib/perl/bin/perl: fatal: libopcperl.so: open failed: No such file or directory Killed CAUSE: The file libopcperl.so is missing from the SPI's perl installation. FIX: Install the missing file R555018605 - Metric 1 fails to report when server is down PROBLEM: The SPI fails to consistently report when WebLogic is down. CAUSE: The order of the conditions in the WLSSPI_0001 template is incorrect. FIX: Replace the WLSSI_0001 template with one with the conditions correctly specified. R555018660 - WLS 5 availability check fails on NT PROBLEM: The WLS 5 availability check on NT fails. CAUSE: The Java command is incorrectly called when running the WebLogic tool to check its availability. FIX: Correct the WLS 5 availability check program on NT to properly start java. R555017595 - Reporter data for a down app server is missing PROBLEM: When an app server is down, the SPI should report metric value "0" to the Reporter log file. Instead, no data is written. This doesn't effect the uptime calculation which is the primary purpose for the Reporter reports, but it lumps app server downtime under No Data in the report tables. CAUSE: The Reporter data logging was not properly sequenced in the case when a server was down and metric 2 was requested. FIX: The collector source was corrected. The internal metric definitions and the OVO templates needed to be adjusted to be in sync. R555018984 PROBLEM: Several metrics are returning no data in WLSSPI A.02.00. Affected metrics: WebLogic 6.0 SP1 and greater: WLSSPI_0010, WLSSPI_0013, WLSSPI_0242, WLSSPI_0246, WLSSPI_0253, WLSSPI_0254, WLSSPI_0255, WLSSPI_0256, WLSSPI_0262, WLSSPI_0076, WLSSPI_0080, WLSSPI_0081 WebLogic 6.1 only: WLSSPI_0025, WLSSPI_0225, WLSSPI_0026, WLSSPI_0226, WLSSPI_0227, WLSSPI_0228, WLSSPI_0229, WLSSPI_0230, WLSSPI_0231, WLSSPI_0232, WLSSPI_0233, WLSSPI_0234, WLSSPI_0035, WLSSPI_0036 CAUSE: Metrics that have an interval in their formula where the parameter to the interval is used previously in the formula will fail and return no value. FIX: Fixed the coding problem in the collector program that caused the error. R555019033 PROBLEM: WebLogic logfiles are not being monitored CAUSE: The Configure application is supposed to configure the SPI to monitor all of the logfiles that are configured and are being used by WebLogic. The mechanism to get the files from WebLogic had a parsing error. FIX: Fix the code that was incorrectly parsing the list of files. SR: R555018660 R555018984 R555018605 R555017595 R555018544 R555019033 Patch Files: /var/opt/OV/share/tmp/OpC_appl/wasspi/wls/PHSS_27890_set/C/ TEMPLATES/MONITOR/wls_monitor.dat /var/opt/OV/share/databases/OpC/mgd_node/customer/hp/ pa-risc/hp-ux11/cmds/wasspi_wls_verify.Z /var/opt/OV/share/databases/OpC/mgd_node/customer/hp/ pa-risc/hp-ux11/monitor/wasspi_wls_config.pl.Z /var/opt/OV/share/databases/OpC/mgd_node/customer/hp/ pa-risc/hp-ux11/monitor/wasspi_wls5_avail.Z /var/opt/OV/share/databases/OpC/mgd_node/customer/sun/sparc/ solaris/monitor/wasspi_wls_config.Z /var/opt/OV/share/databases/OpC/mgd_node/customer/sun/sparc/ solaris/monitor/wasspi_wls_config.pl.Z /var/opt/OV/share/databases/OpC/mgd_node/customer/sun/sparc/ solaris/monitor/wasspi_wls5_avail.Z /var/opt/OV/share/databases/OpC/mgd_node/customer/sun/sparc/ solaris/cmds/wasspi_wls_verify.Z /var/opt/OV/share/databases/OpC/mgd_node/customer/ms/intel/ nt/monitor/wasspi_wls5_avail.exe /var/opt/OV/share/databases/OpC/mgd_node/customer/ms/intel/ nt/monitor/wasspi_wls_config.exe /var/opt/OV/share/databases/OpC/mgd_node/customer/ms/intel/ nt/cmds/wasspi_wls_verify.exe what(1) Output: /var/opt/OV/share/tmp/OpC_appl/wasspi/wls/PHSS_27890_set/C/ TEMPLATES/MONITOR/wls_monitor.dat: HP OpenView Smart Plug-In for WebLogic Server A.02.0 0.01 (11/19/02) /var/opt/OV/share/databases/OpC/mgd_node/customer/hp/ pa-risc/hp-ux11/cmds/wasspi_wls_verify.Z: None /var/opt/OV/share/databases/OpC/mgd_node/customer/hp/ pa-risc/hp-ux11/monitor/wasspi_wls_config.pl.Z: None /var/opt/OV/share/databases/OpC/mgd_node/customer/hp/ pa-risc/hp-ux11/monitor/wasspi_wls5_avail.Z: None /var/opt/OV/share/databases/OpC/mgd_node/customer/sun/sparc/ solaris/monitor/wasspi_wls_config.Z: None /var/opt/OV/share/databases/OpC/mgd_node/customer/sun/sparc/ solaris/monitor/wasspi_wls_config.pl.Z: None /var/opt/OV/share/databases/OpC/mgd_node/customer/sun/sparc/ solaris/monitor/wasspi_wls5_avail.Z: None /var/opt/OV/share/databases/OpC/mgd_node/customer/sun/sparc/ solaris/cmds/wasspi_wls_verify.Z: None /var/opt/OV/share/databases/OpC/mgd_node/customer/ms/intel/ nt/monitor/wasspi_wls5_avail.exe: yaccpar 1.8 (Berkeley) 01/20/91 /var/opt/OV/share/databases/OpC/mgd_node/customer/ms/intel/ nt/monitor/wasspi_wls_config.exe: yaccpar 1.8 (Berkeley) 01/20/91 /var/opt/OV/share/databases/OpC/mgd_node/customer/ms/intel/ nt/cmds/wasspi_wls_verify.exe: yaccpar 1.8 (Berkeley) 01/20/91 cksum(1) Output: 2732636654 2199 /var/opt/OV/share/tmp/OpC_appl/wasspi/wls/ PHSS_27890_set/C/TEMPLATES/MONITOR/wls_monitor.dat 2066059654 5701 /var/opt/OV/share/databases/OpC/mgd_node/ customer/hp/pa-risc/hp-ux11/cmds/wasspi_wls_verify.Z 123898455 2739545 /var/opt/OV/share/databases/OpC/mgd_node/ customer/hp/pa-risc/hp-ux11/monitor/ wasspi_wls_config.pl.Z 2585505346 3640 /var/opt/OV/share/databases/OpC/mgd_node/ customer/hp/pa-risc/hp-ux11/monitor/ wasspi_wls5_avail.Z 3025627276 1304666 /var/opt/OV/share/databases/OpC/mgd_node/ customer/sun/sparc/solaris/monitor/ wasspi_wls_config.Z 47601223 2748094 /var/opt/OV/share/databases/OpC/mgd_node/ customer/sun/sparc/solaris/monitor/ wasspi_wls_config.pl.Z 2044661895 3667 /var/opt/OV/share/databases/OpC/mgd_node/ customer/sun/sparc/solaris/monitor/ wasspi_wls5_avail.Z 1411620401 5780 /var/opt/OV/share/databases/OpC/mgd_node/ customer/sun/sparc/solaris/cmds/wasspi_wls_verify.Z 3077428093 1560576 /var/opt/OV/share/databases/OpC/mgd_node/ customer/ms/intel/nt/monitor/wasspi_wls5_avail.exe 3101965962 5951488 /var/opt/OV/share/databases/OpC/mgd_node/ customer/ms/intel/nt/monitor/wasspi_wls_config.exe 2041879107 1634304 /var/opt/OV/share/databases/OpC/mgd_node/ customer/ms/intel/nt/cmds/wasspi_wls_verify.exe Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHSS_27891: s700: 11.00 11.11 s800: 11.00 11.11 ITOSOL_00175: sparcSOL: 2.3 2.4 2.5 2.6 2.7 2.8 Patch Package Size: 15670 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_27890 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_27890.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_27890. 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_27890.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_27890.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: PHSS_27890: The installation will replace some WLSSPI monitor templates. The patched templates are: MONITOR_TEMPLATE "WLSSPI_0001" If you have made any customizations to these templates, please note those customizations so you can re-apply them to the fixed template. Before the templates are replaced, they will be downloaded into directory /var/opt/OV/share/tmp/OpC_appl/wasspi/wls\ /_set If you have to restore the templates to the pre-patched state, you can do so using this directory and opccfgupld, but note that then the fixed made by the patch will be lost. The command to restore the original templates would be opccfgupld -replace -subentity \ /var/opt/OV/share/tmp/OpC_appl/wasspi/wls\ /_set/cfgdwn After installing the patch, use OVO to deploy Actions, Monitors, and Commands to the managed nodes where the WebLogic is running. Then run the application "Config WLSSPI" on those managed nodes. If the patch is removed for any reason, the templates will be restored to their state before the patch was installed. If any changes had been made to the templates after the patch was installed, those changes will be lost.