Regarding firmware and kernel version of HP-UX systems.

Dear All,

Please help to find out the patch and firmware versions in HP-UX systems. as uname -r is showing os version and

uname -a 
HP-UX xxxxxx B.11.23 U 9000/800 2781427196 unlimited-user license.

Kindly help to find out the existing Kernel and firmware versions.

Also I need to know the latest Kernel and firmware version nos.

It would be great if somebody help me out. Really need help

I Found something please check,

FIRMWARE

For RX Servers (ITANIUM),

#usr/contrib/bin/machinfo | grep "Firmware revision"
Firmware revision:  04.04

For RP Servers (PARISC),

#/usr/sbin/diag/contrib/pdcinfo -no_banner | grep Version
-----------------  Processor 0 HPMC Information - PDC Version: 46.34  ------
-----------------  Processor 1 HPMC Information - PDC Version: 46.34  ------
  Format Version  : 0x1                   Language Code : 0x0

(OR) For much older models.

root@xxxxx:/>echo "selclass qualifier cpu;info;wait;il"|/usr/sbin/cstm|grep "PDC Firmware"
PDC Firmware Revision:        1.4       IODC Revision:            0
root@xxxxx:/>model
9000/785/B2600

PATCH VERSION:

One more thing to help.. please say how do i know the latest os patch version.
I found something but what to look ? or it is the correct thing ?

# /usr/sbin/swlist -l bundle | grep -Ei 'GOLD|QPK'
  QPKAPPS               B.11.23.0609.053a Applications Quality Pack Bundle for HP-UX 11i v2, September 2006
  QPKBASE               B.11.23.0609.053a Base Quality Pack Bundle for HP-UX 11i v2, September 2006

# /usr/sbin/swlist -l bundle | grep -i patch
  BUNDLE11i             B.11.23.0409.3 Required Patch Bundle for HP-UX 11i v2 (B.11.23), September 2004
  FEATURE11i            B.11.23.0609.051 Feature Enablement Patches for HP-UX 11i v2, September 2006
  HWEnable11i           B.11.23.0609.053 Hardware Enablement Patches for HP-UX 11i v2, September 2006
  SecPatchCk            B.02.02        HP-UX Security Patch Check Tool

KERNEL VERSION:
No idea
Please Help...Help

Hi,

No Answers at all, no problem I manage to find out the answers which are near to accurate,

FIRMWARE:
For RX,

#usr/contrib/bin/machinfo | grep "Firmware revision"
Firmware revision:  04.04

For RP,

#/usr/sbin/diag/contrib/pdcinfo -no_banner | grep Version
-----------------  Processor 0 HPMC Information - PDC Version: 46.34  ------
-----------------  Processor 1 HPMC Information - PDC Version: 46.34  ------
  Format Version  : 0x1                   Language Code : 0x0

The values we are getting For
RX:4.04
RP:46.34

are same values when we run sysrev at MP

MP:CM> sysrev


SYSREV

Current firmware revisions

 MP FW     : E.03.30
 BMC FW    : 03.52
 System FW : 46.34

We can consider this value as System Firmware Version.

KERNEL VERSION:

In HP-UX there is no separate kernel version like linux and solaris, here the kernel version is same as OS version. Which can be simply retrieve by

# uname -r
B.11.23

PATCH VERSION:

#swlist HPUX*OE*
# Initializing...
# Contacting target "xxxxxx"...
#
# Target:  xxxxxx:/
#

# HPUX11i-OE                    B.11.23.0609   HP-UX Foundation Operating Environment Component
  HPUX11i-OE.OE                 B.11.23.0609   HP-UX OE control script product
  HPUX11i-OE.PRM-Sw-Lib         C.03.02        Process Resource Manager PRM-Sw-Lib product
  HPUX11i-OE.PRM-Sw-Krn         C.01.04        Process Resource Manager PRM-Sw-Krn product
  HPUX11i-OE.PAM-Kerberos       C.01.24        PAM-Kerberos Version 1.24
  HPUX11i-OE.Jpi14              1.4.2.10.05    Java2 1.4 Netscape Plugin
  HPUX11i-OE.CIFS-Server        A.02.02.01     HP CIFS Server (Samba) File and Print Services
  HPUX11i-OE.CIFS-Development   A.02.02.01     HP CIFS Server Source Code Files
  HPUX11i-OE.CIFS-Client        A.02.02        CIFS Client
  HPUX11i-OE.PAM-NTLM           A.02.02        HP NTLM Pluggable Authentication Module

# /usr/sbin/swlist -l bundle | grep -Ei 'GOLD|QPK'
  QPKAPPS               B.11.23.0609.053a Applications Quality Pack Bundle for HP-UX 11i v2, September 2006
  QPKBASE               B.11.23.0609.053a Base Quality Pack Bundle for HP-UX 11i v2, September 2006

if we need to answer that what is the patch version of your HP-UX system, then we can answer as B.11.23.0609

If you have machinfo command available, it should show you desired FW information in one go (among cpu/mem count, serial numbers).

For patches, operating environment version

 swlist HPUX*OE* 

This should give you an initial version of HPUX v2 installed e.g(11.23.0409), which you can reference further in HP docs for any action that needs to be taken regarding same.

You also want to check make and model if you plan upgrading to higher release (11.31), if it is supported to run that OS.

From your swlist output i see the machine has been patched with so called QPK bundle (quality pack patch bundle), which is fine. They are quite old tho, from 2006.

In my experience, applying QPK patch bundle is a low risk operation, and it should be done at fairly regular intervals. It will require a reboot or two.

If you apply the latest QPK bundle, you can consider your 11.23 HPUX fully patched.
Be sure to read release notes carefully and apply things in right order if required.

There is also a client utility called 'hpsum' which will connect to any HP server, provide information regarding FW levels and apply them on all equipment if wanted.

Check out 'HP-UX Software Assistant' as well, as it is a handy set of command line tools to generate reports about patches, download them via proxy and similar.

Hope that helps
Regards
Peasant.

Hello,

some years ago using HP-UX (RISC).

I know, there's a tool "cfg2html" for HP-UX available.

Here :

cfg2html - Config To HTML Collector (external mirror for beta versions) by ROSE SWE - free download and use!

Regards