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 Previous  1, 2
 Determining if MQClient or MQServer is installed « View previous topic :: View next topic » 
Author Message
mqsidude
PostPosted: Mon Oct 22, 2007 10:06 am    Post subject: Reply with quote

Centurion

Joined: 22 Jan 2004
Posts: 148

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


With the fact that uninstalling WMQ doesn't delete the qmgrs directory, perhaps a server was installed and then later uninstalled without cleaning the data folders (qmgrs folder)?

Back to top
View user's profile Send private message
LouML
PostPosted: Mon Oct 22, 2007 10:18 am    Post subject: Reply with quote

Partisan

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

mqsidude wrote:
Quote:
Sure looks like Client. I just wonder why the qmgrs directory got created.


With the fact that uninstalling WMQ doesn't delete the qmgrs directory, perhaps a server was installed and then later uninstalled without cleaning the data folders (qmgrs folder)?



There is no other queue manager listed in the qmgrs directory. I suppose that could have been removed, but that would be strange.

Code:
bash-3.00$ ls -la /var/mqm/qmgrs/
total 6
drwxrwsr-x   3 mqm      mqm          512 Oct  5  2006 .
drwxrwsr-x  10 mqm      mqm          512 Oct  5  2006 ..
drwxrwsr-x   2 mqm      mqm          512 Oct  5  2006 @SYSTEM
bash-3.00$
Back to top
View user's profile Send private message
SAFraser
PostPosted: Mon Oct 22, 2007 10:57 am    Post subject: Reply with quote

Shaman

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

Hmm.... is everyone sure that the qmgrs directory does not get created for a client installation? I *thought* an entire /var/mqm structure was created for client as well as server.

I have a client machine (Solaris) that has the qmgrs directory. I see only the client when I execute 'pkginfo'. Plus, in /opt/mqm/bin, there are only a handful of executables, such as dspmqver. None of the runtime executables are there. Knowing the history of this server, I cannot imagine that server was ever installed on it.

I have always depended upon the presence or the absence of executables in /opt/mqm/bin as the ultimate indication of Server vs Client. What do others think about this?

ps This sure seems like it is harder than it ought to be.....
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Oct 22, 2007 11:07 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Really, all installs should be documented.

It should never be a question of archaeology to find out what's on a given machine.

This goes triply for production machines.

That aside, I think most people used to rely on the failure or success (existence) of mqver.

These days, I'd take the failure or success of 'dspmq' (existence) to be a good indicator.

But I'd always rely on OS level package tools (pkginfo, rpm -qa, smit, etc) to be sure.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Philip_Morten
PostPosted: Mon Oct 22, 2007 2:51 pm    Post subject: Reply with quote

Newbie

Joined: 11 Dec 2006
Posts: 5
Location: Hursley Park

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

On Solaris we uses classes to represent the components of WebSphere MQ. Having used pkginfo to determine whether the mqm product is installed you need to use the pkgparam command to see which classes are installed. The command 'pkgparam mqm CLASSES' will do it.
_________________
--
Philip Morten
Back to top
View user's profile Send private message
RatherBeGolfing
PostPosted: Thu Nov 01, 2007 10:04 am    Post subject: Reply with quote

Centurion

Joined: 12 Nov 2002
Posts: 118
Location: Syracuse, NY, USA

How about another wrinkle....

I need to tell if mqclient is installed on a Windows server. I know MQServer is installed there, but I'm being asked if mqclient was also installed. I thought by looking in the registry or at the file system, I could easily tell, but I cannot. When I try running amqsputc, I get a dll error, so that would seem to mean no mqclient code was installed. Is there a surefire way, other than this, to tell on a Windows 2000 machine?

Note: I have installed mqserver and mqclient on my WinXP notebook, when I look at the filesystem and the registry, it looks the same as my server....no difinitive breadcrumbs that would tell me mqclient has been installed.

PS - I'm running version 6.0.2.1 of mqseries here....
_________________
Cheers,
Larry
MQ Certifiable
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Nov 01, 2007 10:36 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

try looking for mqic32.dll...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
RatherBeGolfing
PostPosted: Thu Nov 01, 2007 11:33 am    Post subject: Reply with quote

Centurion

Joined: 12 Nov 2002
Posts: 118
Location: Syracuse, NY, USA

Jeff,
Yes, I did find mqic32.dll in ...\Program Files\IBM\WebSphere MQ\bin
Does this indicate to you that MQClient has been installed?
_________________
Cheers,
Larry
MQ Certifiable
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Nov 01, 2007 6:08 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's that, or re-run the installer, and see what features it lists as being installed under the Custom Install - this is the Windows equivalent of the other OS choices listed - like rpm -qa or pkginfo...

But, yes, if mqic32.dll is there, then it's fairly likely that the client is installed.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Nov 02, 2007 7:13 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

In WinXp the information is in:

HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion\Components

I haven't got a Win2K box I can check but I suspect it may not be much different.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
RatherBeGolfing
PostPosted: Fri Nov 02, 2007 8:14 am    Post subject: Reply with quote

Centurion

Joined: 12 Nov 2002
Posts: 118
Location: Syracuse, NY, USA

That did the trick....Client is specfically mentioned in the list of components installed on my notebook...it is not in the list on my server (even tho mqic32.dll was found). I'm going with the registry information.
Thanks all!
_________________
Cheers,
Larry
MQ Certifiable
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 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.