MQ V7
V7 news
V7 questions
- Publish/subscribe (queues and topics)
- MQ V7 enhancements for publish/subscribe
- MQI : Messaging and queuing
- Use MQ V7 improvements to JMS
- Monitoring: ITCAM for Messaging
Objects in MQ Explorer
- Queue managers - a queue manager is a program that provides messaging services to applications.
- MQ queues - a queue is a container for messages.
- Topics - a topic identifies what a publication is about.
- Cluster topics - topics can be clustered in a similar manner to cluster queues, although an individual topic object can only be a member of one cluster.
- Subscriptions - a subscription is a record that contains the information about the topic or topics that the subscriber is interested in and wants to receive information about.
- Publications - messages that are sent by an application to the Publish/Subscribe Engine.
- Channels
- 1) a message channel is a unidirectional communications link between two queue managers.
- 2) a MQI channel is bidirectional and connects an application (MQI client) to a queue manager on a server machine.
- Listeners - a MQ process that listens for connections to the queue manager.
- Process definitions - contains information about the application that starts in response to a trigger event on a queue manager.
- Namelists - a MQ object that contains a list of names of other objects.
JNDI
JMS administered objects are stored in Java Naming and Directory Interface (JNDI) namespaces.
An Initial context defines the root of a JNDI namespace
and is used to access the JMS objects that are stored in the namespace.
Coexistence
For the purposes of this section,
coexistence is defined as the ability of two or more different versions of WebSphere MQ
to function on the same computer.
Two or more different versions of WebSphere® MQ cannot coexist on the same computer,
except for WebSphere MQ for z/OS®
where multiple different versions can coexist in a limited number of scenarios.
- Coexistence on WebSphere MQ for AIX
WebSphere MQ for AIX® Version 7.0 does not coexist with previous versions of WebSphere MQ.
You must migrate from either WebSphere MQ Version 5.3 or WebSphere MQ Version 6.0 to WebSphere MQ Version 7.0.
You do not have to uninstall your current version before installing WebSphere MQ Version 7.0
because the installation process does it for you.
- Coexistence on WebSphere MQ for HP-UX
WebSphere MQ for HP-UX Version 7.0 does not coexist with previous versions of WebSphere MQ.
You must migrate from either WebSphere MQ Version 5.3 or WebSphere MQ Version 6.0 to WebSphere MQ Version 7.0.
If you are migrating from a previous version of WebSphere MQ for HP-UX,
you must uninstall your current version before installing WebSphere MQ Version 7.0.
- Coexistence on WebSphere MQ for i5/OS
WebSphere MQ for i5/OS® Version 7.0 does not coexist with previous versions of WebSphere MQ.
- Coexistence on WebSphere MQ for Linux
WebSphere MQ for Linux® Version 7.0 does not coexist with previous versions of WebSphere MQ.
You must migrate from either WebSphere MQ Version 5.3 or WebSphere MQ Version 6.0 to WebSphere MQ Version 7.0.
If you are migrating from a previous version of WebSphere MQ for Linux,
you must uninstall your current version before installing WebSphere MQ Version 7.0.
- Coexistence on WebSphere MQ for Solaris
WebSphere MQ for Solaris Version 7.0 does not coexist with previous versions of WebSphere MQ.
You must migrate from either WebSphere MQ Version 5.3 or WebSphere MQ Version 6.0 to WebSphere MQ Version 7.0.
If you are migrating from a previous version of WebSphere MQ for Solaris,
you must uninstall your current version before installing WebSphere MQ Version 7.0.
- Coexistence on WebSphere MQ for Windows
WebSphere MQ for Windows® Version 7.0 does not coexist with previous versions of WebSphere MQ.
You must migrate from either WebSphere MQ Version 5.3 or WebSphere MQ Version 6.0 to WebSphere MQ Version 7.0.
You do not have to uninstall your current version before installing WebSphere MQ Version 7.0
because the installation process does it for you.
Publib
Migration steps
- save configuration (objects)
- remove qmgrs from cluster
- stop qmgrs
- save the configuration (ini files)
- uninstall software
- install software
- tailor mq.ini file
- create qmgrs
- browse qm.ini files
- create objects
- create the cluster
MQ V7 install on AIX
Versio AIX :
root@lope:/home/soft> oslevel -r
5300-04
Maquina de 64 bits :
root@lope:/home/soft/server> bootinfo -K
64
Fitxers font :
/home/soft :
-rw-r--r-- 1 root system 523500726 Jan 09 17:10 C19LMML.tar.Z
-rw-r--r-- 1 root system 335329280 Jan 09 17:09 C19LYML.tar
Espai de disc disponible :
root@lope:/home/soft> df -k
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 32768 19968 40% 1721 27% /
/dev/hd2 7667712 4089032 47% 86535 9% /usr
/dev/hd9var 32768 19364 41% 422 9% /var
/dev/hd3 425984 421912 1% 241 1% /tmp
/dev/hd1 6291456 2282700 64% 14561 3% /home
/proc - - - - - /proc
/dev/hd10opt 2097152 2021268 4% 2322 1% /opt
- MQ Server requires 325 MB at /opt
- The installation directory for the WebSphere MQ product code is /usr/mqm.
Working data is stored in /var/mqm.
You cannot change these locations.
- Create the required user ID and group ID before you install WebSphere MQ.
Both user ID and group ID must be set to mqm.
cat /etc/passwd
mqm:!:209:205::/var/mqm:/bin/ksh
cat /etc/group/ :
mqm:!:205:mqm
Idioma dels missatges :
root@lope:/etc> locale
LANG=en_US
LC_COLLATE="en_US"
LC_CTYPE="en_US"
LC_MONETARY="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_MESSAGES="en_US"
LC_ALL=
Install :
uncompress C19LMML.tar.Z
in : 523500726 Jan 09 17:10 C19LMML.tar.Z
out : 527800320 Jan 09 17:10 C19LMML.tar
tar -xvf C19LMML.tar
in : 527800320 Jan 09 17:10 C19LMML.tar
out : /home/soft/server/
SMITTY :
Install Software
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* INPUT device / directory for software /home/soft/server
* SOFTWARE to install [_all_latest] +
PREVIEW only? (install operation will NOT occur) yes +
COMMIT software updates? yes +
SAVE replaced files? no +
AUTOMATICALLY install requisite software? yes +
EXTEND file systems if space needed? yes +
OVERWRITE same or newer versions? no +
VERIFY install and check file sizes? no +
Include corresponding LANGUAGE filesets? yes +
DETAILED output? no +
Process multiple volumes? yes +
ACCEPT new license agreements? yes +
Preview new LICENSE agreements? no +
All except "Java5.ext.java3d 5.0.0.1 # Java SDK 32-bit Java3D"
Estimated system resource requirements for filesets being installed:
(All sizes are in 512-byte blocks)
Filesystem Needed Space Free Space
/ 2608 39888
/usr 1.244.872 10.033.784
----- --------- ----------
TOTAL: 1.247.480 10.073.672
Resultat instalació :
root@lope:/home/mqm/scripts> dspmqver
Name: WebSphere MQ
Version: 7.0.0.0
CMVC level: p000-L080603
BuildType: IKAP - (Production)
"lope" té "cc" = C compiler => compile AMQSAILQ.C !
DISPLAY AUTHINFO - AMQ8566: Display authentication information details.
DISPLAY CLUSQMGR -
DISPLAY CONN - AMQ8276: Display Connection details.
DISPLAY CHANNEL - AMQ8414: Display Channel details.
DISPLAY CHSTATUS -
DISPLAY LISTENER - AMQ8630: Display listener information details.
DISPLAY LSSTATUS - AMQ8631: Display listener status details.
DISPLAY NAMELIST - AMQ8550: Display namelist details.
DISPLAY PROCESS - AMQ8407: Display Process details.
DISPLAY PUBSUB - AMQ8723: Display pub/sub status details.
DISPLAY QALIAS - AMQ8409: Display Queue details.
DISPLAY QCLUSTER -
DISPLAY QLOCAL - AMQ8409: Display Queue details.
DISPLAY QMGR - AMQ8408: Display Queue Manager details.
DISPLAY QMODEL - AMQ8409: Display Queue details.
DISPLAY QMSTATUS - AMQ8705: Display Queue Manager Status Details.
DISPLAY QREMOTE - AMQ8409: Display Queue details.
DISPLAY QSTATUS - AMQ8450: Display queue status details.
DISPLAY QUEUE - AMQ8409: Display Queue details.
DISPLAY SBSTATUS - AMQ8099: WebSphere MQ subscription status inquired.
DISPLAY SERVICE - AMQ8629: Display service information details.
DISPLAY SUB - AMQ8096: WebSphere MQ subscription inquired.
DISPLAY SVSTATUS -
DISPLAY TCLUSTER -
DISPLAY TOPIC - AMQ8633: Display topic details.
DISPLAY TPSTATUS -
MQ on RH Linux
Initial file is :
[sebas@labs fonts]$ ls -l
-rwxrwxr-x 1 sebas sebas 475661810 Jun 19 03:54 CZ4VDML.tar.gz = WebSphere MQ V7.0.1 for Linux on x86 32-bit Multilingual
Initial system is :
[sag@labs fonts]$ cat /etc/issue
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
Reqs :
System Requirements for WebSphere MQ V7.0/7.0.1 on Linux for System x (32-bit)
url.
MQ v7 uses System V IPC resources, in particular shared memory and semaphores.
The minimum configuration for WebSphere MQ for these resources is as follows:
- kernel.msgmni = 1024
- kernel.shmmni = 4096
- kernel.shmall = 2097152
- kernel.sem = 500 256000 250 1024
- fs.file-max = 32768
- net.ipv4.tcp_keepalive_time = 300
Actual params :
ipcs -l
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 32768
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1
------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767
------ Messages: Limits --------
max queues system wide = 16
max size of message (bytes) = 8192
default max size of queue (bytes) = 16384
To change them edit
/etc/sysctl.conf :
kernel.msgmni = 1024
kernel.shmmni = 4096
kernel.shmall = 2097152
kernel.sem = 500 256000 250 1024
fs.file-max = 32768
net.ipv4.tcp_keepalive_time = 300
To load these sysctl values immediately, enter the command
sysctl -p.
How to plan for the product, install it, and verify the installation :
url.
Install :
- Accept the license
[root@lab fonts]# ./mqlicense.sh -accept
Agreement accepted: Proceed with install.
- Uncompress :
[sebas@labs fonts]$ tar -xzf CZ4VDML.tar.gz
[sebas@labs fonts]$ ls -l
total 886412
-r--r--r-- 1 sebas sebas 261 Aug 13 2009 copyright
-rwxrwxr-x 1 sebas sebas 475661810 Jun 19 03:54 CZ4VDML.tar.gz
-r--r--r-- 1 sebas sebas 4227063 Aug 13 2009 gsk7bas-7.0-4.23.i386.rpm
drwxr-xr-x 4 sebas sebas 4096 Aug 13 2009 lap
drwxr-xr-x 2 sebas sebas 4096 Aug 13 2009 licenses
-rwxr-xr-x 1 sebas sebas 5069 Aug 13 2009 mqlicense.sh
-rw-r--r-- 1 sebas sebas 1431435 Aug 13 2009 MQSeriesClient-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 51922904 Aug 13 2009 MQSeriesConfig-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 235164535 Aug 13 2009 MQSeriesEclipseSDK33-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 1011244 Aug 13 2009 MQSeriesFTA-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 22490337 Aug 13 2009 MQSeriesJava-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 42301612 Aug 13 2009 MQSeriesJRE-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 42713027 Aug 13 2009 MQSeriesKeyMan-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 167173 Aug 13 2009 MQSeriesMan-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 124551 Aug 13 2009 MQSeriesMsg_cs-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 129279 Aug 13 2009 MQSeriesMsg_de-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 123241 Aug 13 2009 MQSeriesMsg_es-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 123160 Aug 13 2009 MQSeriesMsg_fr-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 126224 Aug 13 2009 MQSeriesMsg_hu-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 124703 Aug 13 2009 MQSeriesMsg_it-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 115663 Aug 13 2009 MQSeriesMsg_ja-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 110040 Aug 13 2009 MQSeriesMsg_ko-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 124952 Aug 13 2009 MQSeriesMsg_pl-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 124414 Aug 13 2009 MQSeriesMsg_pt-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 117393 Aug 13 2009 MQSeriesMsg_ru-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 114811 Aug 13 2009 MQSeriesMsg_Zh_CN-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 117204 Aug 13 2009 MQSeriesMsg_Zh_TW-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 6235420 Aug 13 2009 MQSeriesRuntime-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 663542 Aug 13 2009 MQSeriesSamples-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 226620 Aug 13 2009 MQSeriesSDK-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 20766399 Aug 13 2009 MQSeriesServer-7.0.1-0.i386.rpm
-rw-r--r-- 1 sebas sebas 29131 Aug 13 2009 MQSeriesTXClient-7.0.1-0.i386.rpm
drwxr-xr-x 3 sebas sebas 4096 Aug 13 2009 PreReqs
-r--r--r-- 1 sebas sebas 6410 Aug 13 2009 readadd.txt
drwxr-xr-x 18 sebas sebas 4096 Aug 13 2009 READMEs
- Install; the minimum components you must install are
- MQSeriesRuntime
- MQSeriesServer
- Samples - user code
- SDK - headers required to compile sample code
[root@labs fonts]# rpm -ivh MQSeriesRuntime-7.0.1-0.i386.rpm MQSeriesServer-7.0.1-0.i386.rpm MQSeriesClient-7.0.1-0.i386.rpm
Preparing... ########################################### [100%]
Creating group mqm
Creating user mqm
1:MQSeriesRuntime ########################################### [ 33%]
2:MQSeriesServer ########################################### [ 67%]
3:MQSeriesClient ########################################### [100%]
[root@labs fonts]# rpm -ivh MQSeriesSamples-7.0.1-0.i386.rpm
Preparing... ########################################### [100%]
1:MQSeriesSamples ########################################### [100%]
[root@labs MQ_fonts]# rpm -ivh MQSeriesSDK-7.0.1-0.i386.rpm
Preparing... ########################################### [100%]
1:MQSeriesSDK ########################################### [100%]
- Verify :
[root@lab fonts]# su - mqm
-bash-3.00$ dspmqver
Name: WebSphere MQ
Version: 7.0.1.0
CMVC level: p000-L090813
BuildType: IKAP - (Production)
-bash-3.00$ crtmqm -u DLQ PEREQM
WebSphere MQ queue manager created.
Directory '/var/mqm/qmgrs/PEREQM' created.
Creating or replacing default objects for PEREQM.
Default objects statistics : 65 created. 0 replaced. 0 failed.
Completing setup.
Setup completed.
-bash-3.00$ dspmq
QMNAME(PEREQM) STATUS(Ended immediately)
-bash-3.00$ strmqm PEREQM
WebSphere MQ queue manager 'PEREQM' starting.
5 log records accessed on queue manager 'PEREQM' during the log replay phase.
Log replay for queue manager 'PEREQM' complete.
Transaction manager state recovered for queue manager 'PEREQM'.
WebSphere MQ queue manager 'PEREQM' started.
-bash-3.00$ dspmq
QMNAME(PEREQM) STATUS(Running)
-bash-3.00$ runmqlsr -t tcp -p 2424 -m PEREQM &
-bash-3.00$ echo "DEFINE CHANNEL(SYSTEM.ADMIN.SVRCONN) CHLTYPE(SVRCONN)" | runmqsc PEREQM
-bash-3.00$ echo "ALTER CHANNEL(SYSTEM.ADMIN.SVRCONN) CHLTYPE(SVRCONN) MCAUSER('mqm')" | runmqsc PEREQM
-
Probably you shall add users to mqm group if you get AMQ7077 at dspmq :
AMQ7077: You are not authorized to perform the requested operation.
$ usermod -G mqm sebas
- now we have
- product code in /opt/mqm/, and working data in /var/mqm/
- LOG files in /var/mqm/errors/ and /var/mqm/qmgrs/<qm_name>/errors/
- samples in /opt/mqm/samp/bin/
- cmqc.h header file in /opt/mqm/inc/ and libmqm_r.so library in /opt/mqm/lib/
Tools
MS03 or SaveQmgr :
[sebas@labs ms03_save_qmgr]$ ./saveqmgr.linux -m PEREQM
-rw-rw-r-- 1 sebas sebas 68558 Aug 17 00:20 SAVEQMGR.MQSC
MQ Explorer using SYSTEM.ADMIN.SVRCONN and 2424 ...
We can compile AMQSECHA modified sample :
[sebas@labs Reply]$ gcc -o amqsecha amqsecha.c -I/opt/mqm/inc -Wl,-rpath=/opt/mqm/lib -lmqm_r
Some objects to run it :
[sebas@labs Reply]$ cat cfg_q.txt
DEFINE QL(QL1) TRIGGER INITQ(QT1) PROCESS(RSP) REPLACE
DEFINE QL(QT1) REPLACE
DEFINE PROCESS(RSP) APPLICID('/home/sebas/mq_cmds/Reply/amqsecha') REPLACE
DEFINE SERVICE('TRIG_MON_START') +
CONTROL(QMGR) +
SERVTYPE(SERVER) +
STARTCMD('/opt/mqm/bin/runmqtrm') +
STARTARG('-m +QMNAME+ -q "QT1"') REPLACE
SuSE SLES 10
HW & SW is :
sebas@p7029-6E3:~/soft> uname -m
ppc64
sebas@p7029-6E3:~/soft> cat /etc/issue
Welcome to SUSE Linux Enterprise Server 10 (ppc) - Kernel \r (\l).
Initial files :
sebas@p7029-6E3:~/soft> ls -l
total 577816
-rw-r--r-- 1 sebas users 215499609 2011-01-04 16:58 CZ4VFML_WebSphere MQ V7.0.1 for Linux on POWER Multilingual.tar.gz
-rw-r--r-- 1 sebas users 375602136 2011-01-04 18:27 CZEE0ML_WebSphere Message Broker V7.0.0.1 Linux on Power Multilingual.tar.gz
Install :
p7029-6E3:/home/sebas/soft/mq # tar -xvf ../nom.tar.gz
p7029-6E3:/home/sebas/soft/mq {root} # ./mqlicense.sh
Agreement accepted: Proceed with install.
p7029-6E3:/home/sebas/soft/mq {root} # rpm -ivh MQSeriesRuntime-7.0.1-0.ppc64.rpm
MQSeriesServer-7.0.1-0.ppc64.rpm
MQSeriesClient-7.0.1-0.ppc64.rpm
MQSeriesSamples-7.0.1-0.ppc64.rpm
MQSeriesSDK-7.0.1-0.ppc64.rpm
Preparing... ########################################### [100%]
Creating group mqm
Creating user mqm
1:MQSeriesRuntime ########################################### [ 20%]
2:MQSeriesServer ########################################### [ 40%]
3:MQSeriesClient ########################################### [ 60%]
4:MQSeriesSamples ########################################### [ 80%]
5:MQSeriesSDK ########################################### [100%]
p7029-6E3:/home/sebas/soft/mq #
Verificación :
p7029-6E3:/home/sebas/soft/mq # su - mqm
p7029-6E3:/home/sebas/soft/mq # dspmqver
Name: WebSphere MQ
Version: 7.0.1.0
CMVC level: p000-L090813
BuildType: IKAP - (Production)
sebas@p7029-6E3:~/cmds/mq> ./01_crear_gestor.sh
WebSphere MQ queue manager created.
Directory '/var/mqm/qmgrs/P7029' created.
Creating or replacing default objects for P7029.
Default objects statistics : 65 created. 0 replaced. 0 failed.
Completing setup.
Setup completed.
WebSphere MQ queue manager 'P7029' starting.
5 log records accessed on queue manager 'P7029' during the log replay phase.
Log replay for queue manager 'P7029' complete.
Transaction manager state recovered for queue manager 'P7029'.
WebSphere MQ queue manager 'P7029' started.
QMNAME(P7029) STATUS(Running)
Configuración :
Instalem GCC :
mkdir /mnt/cdrom
mount /dev/hde /mnt/cdrom
yast
¦ + ¦gcc ¦4.1.0 ¦ ¦The GNU C Compiler and Support Files ¦ 1.2 M¦
¦ + ¦gcc-c++ ¦4.1.0 ¦ ¦The GNU C++ Compiler ¦ 6.5 M¦
¦ + ¦gcc-info ¦4.1.0 ¦ ¦GNU Info-Pages for GCC ¦ 872.1 K¦
¦ a+ ¦glibc-devel ¦2.4 ¦ ¦Include Files and Libraries Mandatory for Development¦ 14.0 M¦
¦ a+ ¦libstdc++-devel ¦4.1.0 ¦ ¦Include Files and Libraries mandatory for Development¦ 52.6 M¦
. . .
umount /mnt/cdrom
Crear objetos :
sebas@p7029-6E3:~/cmds/mq> ./11_crear_objetos.sh
Verifiquem que podem engegar el trigger monitor :
sebas@p9111-520:~/cmds/mq> /opt/mqm/bin/runmqtrm -m "P9111" -q "QL.P911.TIQ"
5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.
19/01/11 20:52:43 : WebSphere MQ trigger monitor started.
19/01/11 20:52:43 : Initiation queue missing or wrong type
19/01/11 20:52:43 : WebSphere MQ trigger monitor ended.
Els objectes finals son :
s
Actualitzem al darrer FixPack :
-rwx------ 1 sebas users 182455751 2011-02-03 14:13 7.0.1-WS-MQ-LinuxPPC64-FP0004.tar.gz
sebas@p7029-6E3:~/soft/mq/FP4> tar -xvf ../7.0.1-WS-MQ-LinuxPPC64-FP0004.tar.gz
sebas@p7029-6E3:~/soft/mq/FP4> rpm -ivf MQSeriesRuntime-U836462-7.0.1-4.ppc64.rpm
MQSeriesServer-U836462-7.0.1-4.ppc64.rpm
MQSeriesClient-U836462-7.0.1-4.ppc64.rpm
MQSeriesSamples-U836462-7.0.1-4.ppc64.rpm
MQSeriesSDK-U836462-7.0.1-4.ppc64.rpm
error: can't create transaction lock on /var/lib/rpm/__db.000
p7029-6E3:/home/sebas/soft/mq/FP4 {root} # rpm -ivf MQSeriesRuntime-U836462-7.0.1-4.ppc64.rpm
MQSeriesServer-U836462-7.0.1-4.ppc64.rpm
MQSeriesClient-U836462-7.0.1-4.ppc64.rpm
MQSeriesSamples-U836462-7.0.1-4.ppc64.rpm
MQSeriesSDK-U836462-7.0.1-4.ppc64.rpm
Preparing packages for installation...
MQSeriesRuntime-U836462-7.0.1-4
MQSeriesServer-U836462-7.0.1-4
MQSeriesClient-U836462-7.0.1-4
MQSeriesSamples-U836462-7.0.1-4
MQSeriesSDK-U836462-7.0.1-4
sebas@p7029-6E3:~/soft/mq/FP4> dspmqver
Name: WebSphere MQ
Version: 7.0.1.4
CMVC level: p701-104-110114
BuildType: IKAP - (Production)
Preparing packages for installation...
ERROR: Failed to clean System V IPC Resources
Please ensure no WebSphere MQ processes are running and run /opt/mqm/bin/amqiclen -x as a root user
before removing this maintenance package
Aborting install.
error: %pre(MQSeriesRuntime-U836462-7.0.1-4.ppc64) scriptlet failed, exit status 1
# kill -9 runmqlsr
p9111-520:/home/sebas/soft/mq/FP4 {root} # /opt/mqm/bin/amqiclen -x
Win procs
When we have MQ v7 installed under a windows, the following processes are running at startup :
amqfcxba.exe broker worker
amqfqpub.exe Queued publish/subscribe daemon
amqmsrvn.exe COM server
amqmtbrn.exe ???
amqpcsea.exe PCF command server
amqrrmfa.exe repository manager
amqsvc.exe the MQ Service process, which launches amqmsrvn.exe by way of dcom.
amqxssvn.exe shared memory server
amqzdmaa.exe deferred message processor
amqzfuma.exe OAM manager
amqzlaa0.exe LQM agent
amqzmgr0.exe process controller
amqzmuc0.exe critical process manager
amqzmuf0.exe utility manager
amqzmur0.exe restartable process manager
amqzxma0.exe execution controller
See complete task list at
Description of WebSphere MQ tasks
pub/sub
distributed pub/sub - nice PPT
Performing publish/subscribe migration from MQ V6
pdf.
What's new in publish/subscribe in WebSphere MQ Version 7.0
url :
Publish/subscribe has been changed significantly for WebSphere® MQ Version 7.0.
In previous versions, publish/subscribe messaging was controlled using a command message interface.
This interface is deprecated in Version 7.0 publish/subscribe.
Instead, publish/subscribe messaging is now controlled using new function in the WebSphere MQ API
and as a result, publish/subscribe messaging is much more consistent with point-to-point messaging.
This new way of doing publish/subscribe messaging is documented in the main body of this section of the information center.
Applications written using previous versions of WebSphere MQ publish/subscribe that make use of the command message interface
are encouraged to move to the new WebSphere MQ publish/subscribe API.
However, the command message interface continues to be supported on all platforms (including z/OS®).
If you are already a user of publish/subscribe
you can continue to use your current configuration after installing WebSphere MQ Version 7.0
without making extensive changes to your applications or configuration.
Similarly, JMS applications do not have to be modified,
although if you do not chose to use the new Version 7.0 publish/subscribe
you will not benefit from the simplified administration that is now available when using WebSphere MQ as the provider.
Since the command message interface method of doing publish/subscribe is still supported in Version 7.0 using the PSMODE function,
this interface continues to be documented in the WebSphere MQ Version 7.0 library.
Few docs :
distributed.
distributed,
migration,
migration,
pub/sub troubleshooting tools,
multi-instance qmgr & auto client reconnect
url
Futur del Pub/Sub
- cluster MQ - els PR es suscriuen a canvis de configuracio
- Message Broker - els Broker es suscriuen a desplegaments
mirrorq
Queues and topics are interchangable in MQ v7.
You can have the app put the message to a Topic
that has two subscriber queues for the receivers,
without changing the apps.
Duplicació de missatges
- Define a topic called Q1T, with a topic string of Q1
- Define a sub to topic object Q1T, with a destination of Q1
- Define a Q Alias called Q1Alias, target type topic with a target of Q1T
- A put to Q1Alias will now produce a message to the Q1 local queue
- Define another sub to topic object Q1T, this time with a destination of Q2
- A put to Q1Alias will now produce 2 messages, one to Q1 and one to Q2.
url
All Soft
(C19LIML) WebSphere MQ V7.0 Quick Start Guide
(C19LJML) WebSphere MQ V7.0 Documentation for Windows
(C19LKML) WebSphere MQ V7.0 Documentation for Linux x86
(C19LLML) WebSphere MQ V7.0 for Windows Multilingual
(C19LMML) WebSphere MQ V7.0 for AIX Multilingual
(C19LNML) WebSphere MQ V7.0 for i5/OS Multilingual
(C19LPML) WebSphere MQ V7.0 for Solaris on SPARC Multilingual
(C19LQML) WebSphere MQ V7.0 for Solaris on x86-64 Multilingual
(C19LRML) WebSphere MQ V7.0 for HP-UX on PA-RISC Multilingual
(C19LSML) WebSphere MQ V7.0 for HP-UX on Itanium Multilingual
(C19LTML) WebSphere MQ V7.0 for Linux on x86 32-bit Multilingual
(C19LUML) WebSphere MQ V7.0 for Linux on x86-64 Multilingual
(C19LVML) WebSphere MQ V7.0 for Linux on POWER Multilingual
(C19LWML) WebSphere MQ V7.0 for Linux on System z Multilingual
(C19LXML) WebSphere MQ V7.0 client for Windows Multilingual
(C19LYML) WebSphere MQ V7.0 client for AIX Multilingual
(C19LZML) WebSphere MQ V7.0 client for i5/OS Multilingual
(C19M0ML) WebSphere MQ V7.0 client for Solaris on SPARC Multilingual
(C19M1ML) WebSphere MQ V7.0 client for Solaris on x86-64 Multilingual
(C19M2ML) WebSphere MQ V7.0 client for HP-UX on PA-RISC Multilingual
(C19M3ML) WebSphere MQ V7.0 client for HP-UX on Itanium Multilingual
(C19M4ML) WebSphere MQ V7.0 client for Linux on x86 32-bit Multilingual
(C19M5ML) WebSphere MQ V7.0 client for Linux on x86-64 Multilingual
(C19M6ML) WebSphere MQ V7.0 client for Linux on POWER Multilingual
(C19M7ML) WebSphere MQ V7.0 client for Linux on System z Multilingual
(C19LJML) WebSphere MQ V7.0 Documentation for Windows
(C19LLML) WebSphere MQ V7.0 for Windows Multilingual
(C19LXML) WebSphere MQ V7.0 client for Windows Multilingual
MQ v 7.1
- dspmqinst - show installation details
- dspmqcfg - extract configuration, as MS03 (saveqmgr)
- setmqaut/dspmqaut -> MQSC commands
Cajón de sastre
Code page 850 support has been removed from MQv7 on AIX :
url
How to know your queue manager is 32-bit or 64-bit ?
rpm -ql MQSeriesServer
if /opt/mqm/lib/ comes up, it is a 32-bit installation. On 64-bit installatoins, /opt/mqm/lib64/ comes up.
Dubtes
Que es
SetMQipw.exe ?