ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Determining if MQClient or MQServer is installed

Post new topic  Reply to topic Goto page 1, 2  Next
 Determining if MQClient or MQServer is installed « View previous topic :: View next topic » 
Author Message
MQfirstlady
PostPosted: Wed Oct 10, 2007 6:10 am    Post subject: Determining if MQClient or MQServer is installed Reply with quote

Newbie

Joined: 15 Jul 2005
Posts: 8
Location: Milwaukee WI

Aside from comparing the contents of /opt/mqm, or checking for the /var/mqm/qmgrs directory (which is present), is there an easy way to determine if MQClient or MQServer is installed?

I have an HP-UX machine that has MQ installed, but does not have any queue managers. I was not with this company when the current install was completed and we do not have documentation regarding what is installed. I need to upgrade from v5.3 to v6.0.2.2 and since that requires an uninstall, I want to ensure that what I reinstall is the same as what is currently there.

Thanks!
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Oct 10, 2007 6:48 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

If you've got a qmgrs directory, it's a server not a client.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
MQfirstlady
PostPosted: Wed Oct 10, 2007 6:51 am    Post subject: Reply with quote

Newbie

Joined: 15 Jul 2005
Posts: 8
Location: Milwaukee WI

Thanks Vitor!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Oct 10, 2007 6:53 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The HP-UX swinstall tool/tools should give you a way to find out what packages are installed.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
MQfirstlady
PostPosted: Wed Oct 10, 2007 7:03 am    Post subject: Reply with quote

Newbie

Joined: 15 Jul 2005
Posts: 8
Location: Milwaukee WI

This is the output of the swlist:

# MQ64CSP B.11.520.00 MQSeries 64bit Client Libraries for HP-UX (64 bit)
MQ64CSP.MQM-64-CLIB B.11.530.00 64 bit client libraries for HP-UX
# MQSERIES B.11.530.02 WebSphere MQ for HP-UX
MQSERIES.MQM-BASE B.11.530.02 Files required on all systems
MQSERIES.MQM-CL-HPUX B.11.530.02 Remote client for HP-UX
MQSERIES.MQM-JAVA B.11.530.02 WebSphere MQ Java Client & JMS
MQSERIES.MQM-KEYMAN B.11.530.02 WebSphere MQ SSL Key management
MQSERIES.MQM-MAN B.11.530.02 Man pages
MQSERIES.MQM-MC-CHINES B.11.530.02 Message catalog for Simplified Chinese
MQSERIES.MQM-MC-CHINET B.11.530.02 Message catalog for Traditional Chinese
MQSERIES.MQM-MC-FRENCH B.11.530.02 Message catalog for French
MQSERIES.MQM-MC-GERMAN B.11.530.02 Message catalog for German
MQSERIES.MQM-MC-ITALIAN B.11.530.02 Message catalog for Italian
MQSERIES.MQM-MC-JAPAN B.11.530.02 Message catalog for Japanese
MQSERIES.MQM-MC-KOREAN B.11.530.02 Message catalog for Korean
MQSERIES.MQM-MC-PORT B.11.530.02 Message catalog for Portuguese
MQSERIES.MQM-MC-SPANISH B.11.530.02 Message catalog for Spanish
MQSERIES.MQM-RUNTIME B.11.530.02 Files required on all systems
MQSERIES.MQM-SAMPLES B.11.530.02 Sample programs with source
MQSERIES.MQM-SERVER B.11.530.02 For WebSphere MQ Server systems
# MQSERIES B.11.530.08 WebSphere MQ Update (U497534) for HP-UX
MQSERIES.U497534 B.11.530.08 WebSphere MQ Update for HP-UX

I was concerned because I saw the Client libraries specifically mentioned near the top but then the Server stuff near the bottom.

Looks like I will be uninstalling MQ5.3 and reinstalling the server version of MQ6.0 (then 6.0.2.2).

Thanks!
Back to top
View user's profile Send private message
mvic
PostPosted: Wed Oct 10, 2007 7:14 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

MQfirstlady wrote:
Looks like I will be uninstalling MQ5.3 and reinstalling the server version of MQ6.0 (then 6.0.2.2).

I'm not trying to be funny, but if you don't need a "server" - ie. a queue manager - running here, you don't need to install the server product.

Are there other facts that can be brought to bear on the decision - eg. run ps -ef and check whether there's actually a queue manager running... check with the app and MQ ops teams to see if they expect a queue manager to run here. If not, then the client install is perhaps preferable...

If you DO upgrade to MQ 6.0.2.2 server product, you'll need to ensure the important data is backed up first and you have done a dry run somewhere to check it all goes to plan.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Oct 10, 2007 7:27 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

MQfirstlady wrote:
I was concerned because I saw the Client libraries specifically mentioned near the top but then the Server stuff near the bottom.


Would it help if I pointed out most server installs also have the client installed for those applications running locally that don't want to make a bindings connection? This list is therefore perfectly normal.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
MQfirstlady
PostPosted: Wed Oct 10, 2007 7:47 am    Post subject: Reply with quote

Newbie

Joined: 15 Jul 2005
Posts: 8
Location: Milwaukee WI

I am not sure how/why the decision was made to not create a queue manager on this server. We are going to look into the possibility/necessity of creating a queue manager here.
Back to top
View user's profile Send private message
SAFraser
PostPosted: Mon Oct 15, 2007 9:20 am    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

If only the client is being used, you are paying for server licenses you do not need.....
Back to top
View user's profile Send private message
LouML
PostPosted: Mon Oct 22, 2007 7:17 am    Post subject: Reply with quote

Partisan

Joined: 10 Nov 2005
Posts: 305
Location: Jersey City, NJ / Bethpage, NY

Vitor wrote:
If you've got a qmgrs directory, it's a server not a client.


I have the same issue on an x86 solaris box. I was told that this server was only running MQ Client, yet I see a qmgrs directory.

Code:
bash-3.00$ dspmqver
Name:        WebSphere MQ
Version:     6.0.1.0
CMVC level:  p600-100-051021
BuildType:   IKAP - (Production)
bash-3.00$ ls -laF /var/mqm
total 30
drwxrwsr-x  10 mqm      mqm          512 Oct  5  2006 ./
drwxr-xr-x  45 root     sys         1024 Oct  5  2006 ../
drwxrwsr-x   2 mqm      mqm          512 Oct  5  2006 config/
drwxrwsr-x   3 mqm      mqm          512 Oct  5  2006 conv/
drwxrwsrwx   2 mqm      mqm          512 Oct  5  2006 errors/
drwxrwsr-x   2 mqm      mqm          512 Oct  5  2006 exits/
drwxrwsr-x   2 mqm      mqm          512 Oct  5  2006 exits64/
drwxrwsr-x   2 mqm      mqm          512 Oct  5  2006 log/
-rw-rw-r--   1 mqm      mqm         2104 Oct  5  2006 mqs.ini
drwxrwsr-x   3 mqm      mqm          512 Oct  5  2006 qmgrs/
-rw-rw-r--   1 mqm      mqm         1373 Oct  5  2006 service.env
drwxrwsrwx   2 mqm      mqm          512 Oct  5  2006 trace/
bash-3.00$


Is this the only way to tell for sure?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Oct 22, 2007 7:28 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

On solaris, you should be able to use something related to pkgadd to list the installed packages...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
SAFraser
PostPosted: Mon Oct 22, 2007 7:30 am    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

On Solaris:

pkginfo | grep mqm
Back to top
View user's profile Send private message
LouML
PostPosted: Mon Oct 22, 2007 7:35 am    Post subject: Reply with quote

Partisan

Joined: 10 Nov 2005
Posts: 305
Location: Jersey City, NJ / Bethpage, NY

jefflowrey wrote:
On solaris, you should be able to use something related to pkgadd to list the installed packages...


SAFraser wrote:
On Solaris:

pkginfo | grep mqm


Hmmm.. now I'm confused. I have a qmgrs directory and the pkginfo command says it's WebSphere Client

Code:
bash-3.00$ ls -laF /var/mqm
total 30
drwxrwsr-x  10 mqm      mqm          512 Oct  5  2006 ./
drwxr-xr-x  45 root     sys         1024 Oct  5  2006 ../
drwxrwsr-x   2 mqm      mqm          512 Oct  5  2006 config/
drwxrwsr-x   3 mqm      mqm          512 Oct  5  2006 conv/
drwxrwsrwx   2 mqm      mqm          512 Oct  5  2006 errors/
drwxrwsr-x   2 mqm      mqm          512 Oct  5  2006 exits/
drwxrwsr-x   2 mqm      mqm          512 Oct  5  2006 exits64/
drwxrwsr-x   2 mqm      mqm          512 Oct  5  2006 log/
-rw-rw-r--   1 mqm      mqm         2104 Oct  5  2006 mqs.ini
drwxrwsr-x   3 mqm      mqm          512 Oct  5  2006 qmgrs/
-rw-rw-r--   1 mqm      mqm         1373 Oct  5  2006 service.env
drwxrwsrwx   2 mqm      mqm          512 Oct  5  2006 trace/
bash-3.00$ pkginfo | grep -i mq
application mqm                              WebSphere MQ Client for Sun Solaris
bash-3.00$
Back to top
View user's profile Send private message
mvic
PostPosted: Mon Oct 22, 2007 8:00 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

LouML wrote:
Hmmm.. now I'm confused. I have a qmgrs directory and the pkginfo command says it's WebSphere Client

pkginfo says you have an MQ client. If more verification is required, say
Code:
ls -l /opt/mqm/bin
Back to top
View user's profile Send private message
LouML
PostPosted: Mon Oct 22, 2007 8:13 am    Post subject: Reply with quote

Partisan

Joined: 10 Nov 2005
Posts: 305
Location: Jersey City, NJ / Bethpage, NY

mvic wrote:
LouML wrote:
Hmmm.. now I'm confused. I have a qmgrs directory and the pkginfo command says it's WebSphere Client

pkginfo says you have an MQ client. If more verification is required, say
Code:
ls -l /opt/mqm/bin


Sure looks like Client. I just wonder why the qmgrs directory got created.

Perhaps the previous admin installed MQ Client from the full MQ Server install, rather than the MQ Client tar file?

Code:
bash-3.00$ ls -l /opt/mqm/bin
total 892
lrwxrwxrwx   1 root     root          21 Oct  5  2006 amqcctca -> /opt/mqm/lib/amqcctca
lrwxrwxrwx   1 root     root          21 Oct  5  2006 amqcltca -> /opt/mqm/lib/amqcltca
-r-xr-x---   1 mqm      mqm        28672 Oct 21  2005 amqicdir
-r-xr-xr-x   1 mqm      mqm        36724 Oct 21  2005 amqiclen
-r-xr-xr-x   1 mqm      mqm          557 Oct 12  2005 amqwCleanSideQueue.sh
-r-xr-xr-x   1 mqm      mqm          874 Oct 12  2005 amqwclientConfig.sh
-r-xr-xr-x   1 mqm      mqm          576 Oct 12  2005 amqwclientTransport.wsdd
-r-xr-xr-x   1 mqm      mqm          692 Oct 12  2005 amqwdeployWMQService.sh
-r-xr-xr-x   1 mqm      mqm         3997 Oct 12  2005 amqwsetcp.sh
-r-xr-xr-x   1 mqm      mqm          606 Oct 12  2005 amqwstartwin.sh
-r-sr-sr-x   1 mqm      mqm        21456 Oct 21  2005 amqxmsg0
-r-xr-x---   1 mqm      mqm          785 Oct 12  2005 crtmqlnk
-r-xr-x---   1 mqm      mqm          695 Oct 12  2005 dltmqlnk
-r-xr-xr-x   1 mqm      mqm        40512 Oct 21  2005 dspmqtrc
-r-xr-xr-x   1 mqm      mqm        21136 Oct 21  2005 dspmqver
-r-sr-s---   1 mqm      mqm       117432 Oct 21  2005 endmqtrc
-r-sr-s---   1 mqm      mqm        31192 Oct 21  2005 runmqtmc
-r-sr-s---   1 mqm      mqm       119048 Oct 21  2005 strmqtrc
bash-3.00$
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Determining if MQClient or MQServer is installed
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.