Author |
Message
|
mqsidude |
Posted: Mon Oct 22, 2007 10:06 am Post subject: |
|
|
 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 |
|
 |
LouML |
Posted: Mon Oct 22, 2007 10:18 am Post subject: |
|
|
 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 |
|
 |
SAFraser |
Posted: Mon Oct 22, 2007 10:57 am Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Mon Oct 22, 2007 11:07 am Post subject: |
|
|
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 |
|
 |
Philip_Morten |
Posted: Mon Oct 22, 2007 2:51 pm Post subject: |
|
|
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 |
|
 |
RatherBeGolfing |
Posted: Thu Nov 01, 2007 10:04 am Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Thu Nov 01, 2007 10:36 am Post subject: |
|
|
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 |
|
 |
RatherBeGolfing |
Posted: Thu Nov 01, 2007 11:33 am Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Thu Nov 01, 2007 6:08 pm Post subject: |
|
|
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 |
|
 |
exerk |
Posted: Fri Nov 02, 2007 7:13 am Post subject: |
|
|
 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 |
|
 |
RatherBeGolfing |
Posted: Fri Nov 02, 2007 8:14 am Post subject: |
|
|
 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 |
|
 |
|