In a big organisation there will be many server where MQ installed and in many application servers will have MQ client installed . As part yearly IBM Enterprise license renewals Admins are required to gather the information . Should be able to confirm whether the installed software is MQ client or MQ server .
IBM MQ will be installed on multiple platforms . ex AIX, Wintel, Linux, Solaris, HP-Nonstop etc
In the below we will see on each of the platform how we will segregate the software type based on the installed software .
Linux
Run below command and verify the output .if the output has MQSeriesServer then the installed software is IBM WebSphere MQ Server where we can create QMGR’s and run .
if there is not MQSeriesServer then if you have MQSeriesClient then the software is IBM MQ Client . Used by Application for connecting to remote QMGR .
Note Only IBM MQ Server is required to entitle with IBM License . Client is not required for Licensing .
Command : rpm -qa | grep -i MQ
14113 Jun 4 13:24 MQSeriesAMS-7.5.0-0.x86_64.rpm
4289297 Jun 4 13:22 MQSeriesClient-7.5.0-0.x86_64.rpm
149398105 Jun 4 13:25 MQSeriesExplorer-7.5.0-0.x86_64.rpm
2623253 Jun 4 13:24 MQSeriesFTAgent-7.5.0-0.x86_64.rpm
26437094 Jun 4 13:24 MQSeriesFTBase-7.5.0-0.x86_64.rpm
6377460 Jun 4 13:24 MQSeriesFTLogger-7.5.0-0.x86_64.rpm
15134555 Jun 4 13:24 MQSeriesFTService-7.5.0-0.x86_64.rpm
21045 Jun 4 13:24 MQSeriesFTTools-7.5.0-0.x86_64.rpm
22380584 Jun 4 13:23 MQSeriesGSKit-7.5.0-0.x86_64.rpm
27956802 Jun 4 13:23 MQSeriesJava-7.5.0-0.x86_64.rpm
70907973 Jun 4 13:23 MQSeriesJRE-7.5.0-0.x86_64.rpm
294634 Jun 4 13:23 MQSeriesMan-7.5.0-0.x86_64.rpm
156703 Jun 4 13:23 MQSeriesMsg_cs-7.5.0-0.x86_64.rpm
162622 Jun 4 13:23 MQSeriesMsg_de-7.5.0-0.x86_64.rpm
155111 Jun 4 13:23 MQSeriesMsg_es-7.5.0-0.x86_64.rpm
155796 Jun 4 13:23 MQSeriesMsg_fr-7.5.0-0.x86_64.rpm
158525 Jun 4 13:23 MQSeriesMsg_hu-7.5.0-0.x86_64.rpm
156448 Jun 4 13:23 MQSeriesMsg_it-7.5.0-0.x86_64.rpm
146323 Jun 4 13:23 MQSeriesMsg_ja-7.5.0-0.x86_64.rpm
139621 Jun 4 13:23 MQSeriesMsg_ko-7.5.0-0.x86_64.rpm
157276 Jun 4 13:23 MQSeriesMsg_pl-7.5.0-0.x86_64.rpm
156554 Jun 4 13:23 MQSeriesMsg_pt-7.5.0-0.x86_64.rpm
149901 Jun 4 13:23 MQSeriesMsg_ru-7.5.0-0.x86_64.rpm
144538 Jun 4 13:23 MQSeriesMsg_Zh_CN-7.5.0-0.x86_64.rpm
146199 Jun 4 13:23 MQSeriesMsg_Zh_TW-7.5.0-0.x86_64.rpm
20136624 Jun 4 13:22 MQSeriesRuntime-7.5.0-0.x86_64.rpm
837636 Jun 4 13:22 MQSeriesSamples-7.5.0-0.x86_64.rpm
246227 Jun 4 13:22 MQSeriesSDK-7.5.0-0.x86_64.rpm
27797722 Jun 4 13:24 MQSeriesServer-7.5.0-0.x86_64.rpm
949019 Jun 4 13:23 MQSeriesXRClients-7.5.0-0.x86_64.rpm
1374581 Jun 4 13:25 MQSeriesXRService-7.5.0-0.x86_64.rpm
AIX
Run below command and verify the output .if the output has mqm.server.rte then the installed software is IBM WebSphere MQ Server where we can create QMGR’s and run .
if there is not mqm.server.rte then if you have mqm.client.rte then the software is IBM MQ Client . Used by Application for connecting to remote QMGR .
Note Only IBM MQ Server is required to entitle with IBM License . Client is not required for Licensing .
Command : lslpp -l |grep -i mqm
Solaris
Run below command and verify the output .if the output has server then the installed software is IBM WebSphere MQ Server where we can create QMGR’s and run .
if there is not server then if you have sol_client then the software is IBM MQ Client . Used by Application for connecting to remote QMGR .
Note Only IBM MQ Server is required to entitle with IBM License . Client is not required for Licensing .
Command :
pkginfo |grep -w mqm
take package name from the above command output and run below command
pkgparam <pakagename> CLASSES
pkgparam mqm CLASSES
Sample output:
none base java javasdk keyman man runtime samples server sol_client txclient
To get only the MQ client fileset:
pkgparam mqm CLASSES
Note: The output is the same as above. If the following value is present, then the client is installed:
sol_client
Sample output:
none base java javasdk keyman man runtime samples server sol_client txclient
Windows
Windows 7
+ If you want to know whether you have installed the client or the server version of WebSphere MQ in Windows, you can do the following:
1) From a command prompt, enter: regedt32
2) Expand the following:
For MQ 7.0
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\IBM\MQSeries
For MQ 7.1 and 7.5:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\IBM\WebSphere MQ\Installation
For MQ 8.0
Note that HKLM is an abbreviation for: HKEY_LOCAL_MACHINE
On 64-bit MQ installations (Server and Client):
The registry contains 64 and 32 bit MQ entries
The master copy is at HKLM\Software\IBM\WebSphere MQ
However for interoperation with 32-bit MQs, this is cloned to HKLM\Software\Wow6432Node\IBM\WebSphere MQ
Primary installation information is still cloned to HKLM\Software\Wow6432Node\IBM\MQSeries
.
You can use the following command to get the registry keys for MQ (in a single line):
reg export “HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\IBM\WebSphere MQ” c:\mq-8.txt
3) If you have installed multiple versions of MQ, then you will need to go to the next level.
For example: MQ 7.1 in Windows 7, installed in Installation1:
reg QUERY “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\IBM\WebSphere MQ\Installation\Installation1\Components”
Local Clients\Windows NT Client REG_SZ Installed
JavaMsg REG_SZ Installed
Development Toolkit REG_SZ Installed
XA_Client REG_SZ Installed
XA_Dotnet REG_SZ Installed
XA_Java REG_SZ Installed
XR_Clients REG_SZ Installed
XR_Service REG_SZ Installed
Server REG_SZ Installed
Explorer REG_SZ Installed
Windows XP
+ If you want to know whether you have installed the client or the server version of WebSphere MQ in Windows, you can do the following:
1) From a command prompt, enter: regedt32
2) Expand the following:
HKEY_LOCAL_MACHINE -> SOFTWARE -> IBM -> MQSeries
3) Click on the folder ‘CurrentVersion’
4) Look at the Name ‘ProductType’ listed in the right pane. It should state either Client or Server under the ‘Data’ field.
+ If you want to determine the exact components installed you may look in the following registry path:
HKEY_LOCAL_MACHINE -> SOFTWARE -> IBM -> MQSeries -> CurrentVersion -> Components
If the MQ Client is installed, then the value of the registry sub key,
HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion\Components
with name “Local Clients\Windows NT Client”
is set to value “Installed”.
Similarly, if MQ Server is installed, then the sub key
HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion\Components
with name “Server” is set to value “Installed”.
+ If Windows XP is installed use the “reg.exe” registry tool that comes with the OS installation with the ‘QUERY’ parameter to check the components that are installed.
For example: run the following command from the command prompt in order to check the installed MQ components:
reg QUERY HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion\Components
Sample output:
! REG.EXE VERSION 3.0
HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion\Components
JavaMsg REG_SZ Installed
Server REG_SZ Installed
Development Toolkit REG_SZ Installed
Explorer REG_SZ Installed
Local Clients\Windows NT Client REG_SZ Installed
HP-UX
To get the complete list of MQ filesets:
/usr/sbin/swlist -R MQSERIES
Sample output:
# MQSERIES 6.0.0.0 WebSphere MQ for HP-UX
MQSERIES.MQM-BASE 6.0.0.0 WebSphere MQ SDK fileset
MQSERIES.MQM-CL-HPUX 6.0.0.0 WebSphere MQ Client for HP-UX
MQSERIES.MQM-JAVA 6.0.0.0 WebSphere MQ Java™ Client, JMS and SOAP support
MQSERIES.MQM-JAVASDK 6.0.0.0 HP SDK for J2SE HP-UX 11i platform
MQSERIES.MQM-KEYMAN 6.0.0.0 WebSphere MQ SSL Key management
MQSERIES.MQM-MAN 6.0.0.0 WebSphere MQ man pages
MQSERIES.MQM-RUNTIME 6.0.0.0 WebSphere MQ Runtime fileset
MQSERIES.MQM-SAMPLES 6.0.0.0 WebSphere MQ Sample programs
MQSERIES.MQM-SERVER 6.0.0.0 WebSphere MQ Server fileset
MQSERIES.MQM-TXCLIENT 6.0.0.0 WebSphere MQ Transactional Client
# MQSERIES 6.0.1.1 WebSphere MQ update for HP-UX (U805233)
MQSERIES.MQM-BASE-U805233 6.0.1.1 WebSphere MQ Update for HP-UX
MQSERIES.MQM-CL-HPUX-U805233 6.0.1.1 WebSphere MQ Update for HP-UX
To get only the MQ client fileset:
/usr/sbin/swlist -R MQSERIES | grep MQSERIES.MQM-CL-HPUX
Sample output:
MQSERIES.MQM-CL-HPUX 6.0.0.0 WebSphere MQ Client for HP-UX
MQSERIES.MQM-CL-HPUX-U805233 6.0.1.1 WebSphere MQ Update for HP-UX