1838629 Members
2610 Online
110128 Solutions
New Discussion

version of serviceguard

 
SOLVED
Go to solution
anat heilper
Frequent Advisor

version of serviceguard

Hi,
how can I know what is the serviceguard version running on my machine?
I know that in serviceguard 11.17 and 11.18 the cmversion command will do the job,
but what about 11.16 ?
I know that I can issues swlist and search for serviceguard, but I have systems were there are a lot of extensions installed ( for example for sap, oracle, nfs, and so on), and issuing swlist | grep serviceguard will give me all of the applications that are related to it, so it won't do the trick.
Thanks,
ANat
5 REPLIES 5
Marco A.
Esteemed Contributor

Re: version of serviceguard

Hello,


In fact issuing a swlist like this...

# swlist | grep -i service

Must display something like this

B8325BA A.05.00 Serviceguard Manager
T1905BA A.11.17.00 Serviceguard


Just the necessary information,

Regards,


Marco
Just unplug and plug in again ....
melvyn burnard
Honored Contributor
Solution

Re: version of serviceguard

I always recommend people use the following:
what /usr/lbin/cmcld


This not only gives you the version of SG, it will also tell you if a patch is installed and what patch number.
For example:

# what /usr/lbin/cmcld
/usr/lbin/cmcld:
Cluster Monitor Product $Revision: 82.2 $
A.11.18.00 Date: 09/19/07 Patch: PHSS_36997
Build date: Wed Sep 19 02:17:09 PDT 2007
Build id: ibld_sg1118patch_1123_product
Build platform: hpux
#

Shows you this is Serviceguard 11.18 with patch PHSS_36997
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
anat heilper
Frequent Advisor

Re: version of serviceguard

Hi,
Thanks for your answers,
but I still have problems since the format is not cosistent over versions:
what /usr/lbin/cmcld gives different results:
in 11.14:
HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $Revision: 74.03 $
Build date: Mon Dec 10 14:40:36 PST 2001
Build id: ibld_sgops_a1114
A.11.14 Date: 12/15/2001
Daemon
Config DB
Cluster Monitor
Command Srv
CommunicationSrv
Config
Dlm
Local Comm
Network Sensor
Package Manager
Remote Comm
Quorum Module
API
Service Sensor
Cluster LVM
Status DB
Sync
Util


in 11.18:
Cluster Monitor Product $Revision: 82.2 $
Cluster Monitor Product Only $Revision: 82.2 $
Daemon
A.11.18.00 Date: 11/30/07 Patch: PHSS_37095
Build date: Fri Nov 30 12:33:49 PST 2007
Build id: ibld_sg1118patch_1131_product_PATCHB
Build platform: hpux


do you know for sure what is the format of the output line of "Build id:"?

Thanks a lot!
Anat

melvyn burnard
Honored Contributor

Re: version of serviceguard

quite simply, this changes slightly from version to version, so there is no 100% consistent format
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
anat heilper
Frequent Advisor

Re: version of serviceguard

THanks!