Author |
Message
|
Ramphart |
Posted: Thu Jul 09, 2009 12:00 am Post subject: Verify if MQ Client or MQ Server is installed |
|
|
Disciple
Joined: 21 Jul 2004 Posts: 150 Location: South Africa, JHB
|
Hi,
Platform : Windows Server 2003 Standard Edition
Output of cmd : dspmqver
Code: |
Name: WebSphere MQ
Version: 6.0.2.1
CMVC level: p600-201-070323
BuildType: IKAP - (Production) |
How can I verify that only the MQ Client or only the MQ Server or both are installed on a machine?
Regards _________________ Applications Architect |
|
Back to top |
|
|
exerk |
Posted: Thu Jul 09, 2009 12:53 am Post subject: |
|
|
Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
look in the Registry for the installed components...
Quote: |
HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion\Components |
...your first _________________ 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 |
|
|
RaviKrG |
Posted: Thu Jul 09, 2009 3:09 am Post subject: |
|
|
Master
Joined: 07 Sep 2008 Posts: 240
|
For the MQ server you can run the postcard sample applications also to test the mq installation |
|
Back to top |
|
|
exerk |
Posted: Thu Jul 09, 2009 6:15 am Post subject: |
|
|
Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
RaviKrG wrote: |
For the MQ server you can run the postcard sample applications also to test the mq installation |
The poster wanted to know if they are installed... _________________ 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 |
|
|
gbaddeley |
Posted: Thu Jul 09, 2009 8:51 am Post subject: |
|
|
Jedi Knight
Joined: 25 Mar 2003 Posts: 2527 Location: Melbourne, Australia
|
A quick method is to look in MQ's "bin" directory. If crtmqm is there, Server is installed. If not, Client is installed (there will only be a few files in bin). _________________ Glenn |
|
Back to top |
|
|
gunter |
Posted: Mon Jul 13, 2009 12:36 am Post subject: |
|
|
Partisan
Joined: 21 Jan 2004 Posts: 307 Location: Germany, Frankfurt
|
For a developer it is sometimes better to look for a shared library. If mqm.dll is installed it's on a server. _________________ Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3 |
|
Back to top |
|
|
gbaddeley |
Posted: Mon Jul 13, 2009 5:33 pm Post subject: |
|
|
Jedi Knight
Joined: 25 Mar 2003 Posts: 2527 Location: Melbourne, Australia
|
gunter wrote: |
For a developer it is sometimes better to look for a shared library. If mqm.dll is installed it's on a server. |
Yeah, programmatically they can try to load the shared/dynamic library or get the attributes of the directorypath/filename, and test for success or failure. _________________ Glenn |
|
Back to top |
|
|
madi |
Posted: Fri Jul 17, 2009 12:19 pm Post subject: |
|
|
Chevalier
Joined: 17 Jan 2006 Posts: 475
|
The easiest way is to Programs-->MQ and check if MQ explorer is present, if yes then its a server, if you can only see Remove latest CSD then its a client. _________________ IBM Certified Solutions Developer - WMB 6.0 |
|
Back to top |
|
|
Vitor |
Posted: Fri Jul 17, 2009 1:08 pm Post subject: |
|
|
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
madi wrote: |
The easiest way is to Programs-->MQ and check if MQ explorer is present, if yes then its a server |
Or they've downloaded the MQExplorer as a support pac. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
|
PeterPotkay |
Posted: Fri Jul 17, 2009 8:03 pm Post subject: |
|
|
Poobah
Joined: 15 May 2001 Posts: 7717
|
Vitor wrote: |
madi wrote: |
The easiest way is to Programs-->MQ and check if MQ explorer is present, if yes then its a server |
Or they've downloaded the MQExplorer as a support pac. |
Or they installed MQ Server and choose not to install the MQ Explorer option.
Whether MQ Explorer is installed or not has nothing to do with whether MQ Client and/or MQ Server is installed. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
|
LouML |
Posted: Tue Jul 21, 2009 10:09 am Post subject: |
|
|
Partisan
Joined: 10 Nov 2005 Posts: 305 Location: Jersey City, NJ / Bethpage, NY
|
I think we'd all agree that it would be nice if someday IBM decided to return either "WebSphere MQ Server" or "WebSphere MQ Client" from dspmqver _________________ Yeah, well, you know, that's just, like, your opinion, man. - The Dude |
|
Back to top |
|
|
kevinf2349 |
Posted: Tue Jul 21, 2009 12:27 pm Post subject: |
|
|
Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
The registry does tell you this as key ProductType.
I admit it would be nice to get this information without digging into the registry but it is there. |
|
Back to top |
|
|
RogerLacroix |
Posted: Thu Jul 23, 2009 4:05 pm Post subject: Re: Verify if MQ Client or MQ Server is installed |
|
|
Jedi Knight
Joined: 15 May 2001 Posts: 3258 Location: London, ON Canada
|
Ramphart wrote: |
How can I verify that only the MQ Client or only the MQ Server or both are installed on a machine?Regards |
On Windows, I have a tool called "MQWhat" that dumps important MQ registry information. Should I open source it?
Code: |
C:\>mqwhat.exe
(c) Copyright Capitalware Inc. All rights reserved.
MQWhat v1.0.0 is starting
+-----------------------------------------+
| Currently Installed Version Information |
+-----------------------------------------+
ProductType = Server
VRMF = 6.0.2.5
MQServerVersion = 6
MQServerRelease = 0
GSKitPackaged = GSK7
FilePath = D:\Program Files\IBM\WebSphere MQ
+-----------------------------------------+
| Currently Installed Components |
+-----------------------------------------+
Development Toolkit = Installed
Explorer = Installed
JavaMsg = Installed
Local Clients = Installed
Server = Installed
+-----------------------------------------+
| Current Maintenance Applied |
+-----------------------------------------+
Shipped = 0.0
Maint_2.4
Maint_2.5
+-----------------------------------------+
| Queue Managers |
+-----------------------------------------+
MQA1 EndedImmediately
MQWC1 Ended
MQWC2 Ended
MQWT1 Running
MQWT2 EndedImmediately
MQWT4 EndedImmediately |
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
|
bruce2359 |
Posted: Fri Jul 24, 2009 6:21 am Post subject: |
|
|
Poobah
Joined: 05 Jan 2008 Posts: 9442 Location: US: west coast, almost. Otherwise, enroute.
|
Perhaps more cool than your port scanner. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
|
RogerLacroix |
Posted: Fri Jul 24, 2009 7:24 pm Post subject: |
|
|
Jedi Knight
Joined: 15 May 2001 Posts: 3258 Location: London, ON Canada
|
bruce2359 wrote: |
Perhaps more cool than your port scanner. |
Thanks.
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
|
|