home / infca / mq_v7 (navigation links) I hope you always find a reason to smile

AIX | RH | SuSE | pub/sub {ext} | FTE (ext) | v 7.5 | v 8.0 Links | End

MQ V7 & 7.5

InfoCenter v 7, v 7.5. PDFs (ftp) v 7, v 7.5.

Amunt! Top Amunt!
V7 news
MQ V7 requirements

WebSphere MQ does not support host names that contain spaces. If you install WebSphere MQ on a computer with a host name that contains spaces, you are unable to create any queue managers.

QB for AIX

MQ v7 improvements
Objects in MQ Explorer
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.

HTTP bridge

WebSphere MQ Bridge for HTTP is a feature of WebSphere MQ V7.0 that allows client applications to interact with a queue manager using the HTTP protocol. Clients can perform several messaging functions with WebSphere MQ from any platform or language that has HTTP capability, without the need for WebSphere MQ client libraries on the platform.

Available for WebSphere MQ V6.0 as SupportPac MA0Y

Refer to: Homepage

Prerequisites

The following prerequisites apply to the WebSphere MQ Bridge for HTTP:

Supported verbs

The bridge is capable of handling three types of HTTP request:

See SG24-7583 for "a typical flow to put a message on a queue"

Multi Instance qmgr

url PPT.

Oracle NFS failover

developerWorks


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.

Publib


Migration steps
  1. save configuration (objects)
  2. remove qmgrs from cluster
  3. stop qmgrs
  4. save the configuration (ini files)
  5. uninstall software
  6. install software
  7. tailor mq.ini file
  8. create qmgrs
  9. browse qm.ini files
  10. create objects
  11. create the cluster

MQ V7 install on AIX

Versió AIX :

root@lope:/home/soft> oslevel -r 5300-04

Màquina de 64 bits {*** required ***} :

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

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" Checking for group mqm... Checking for user mqm... 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 -

Amunt! Top Amunt!
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

And we uncompress it by:

[sebas@labs fonts]$ tar -xvf ../CZ4VDML.tar.gz

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:

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 :

  1. Accept the license

    [root@lab fonts]# ./mqlicense.sh -accept Agreement accepted: Proceed with install.

  2. 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

  3. 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%]

  4. 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

  5. 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

  6. 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

Amunt! Top Amunt!
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

Amunt! Top Amunt!
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


Amunt! Top Amunt!
All Soft v 7.0
(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
v 7.1
476.500.296 CZ4V6ML_WebSphere MQ V7.0.1 for Windows Multilingual.zip 475.661.810 CZ4VDML_WebSphere MQ V7.0.1 for Linux on x86 32-bit Multilingual.tar.gz 487.608.600 CZ4VEML_WebSphere MQ V7.0.1 for Linux on x86-64 Multilingual.tar.gz

Amunt! Top Amunt!
MQ v 7.1

More new commands (?)

error AMQ8594

dspmqver falla (mqm) $ . /usr/mqm/bin/setmqenv n Installation1 /usr/mqm/.profile include "export PATH=$PATH:/usr/mqm/bin (root) $ setmqinst n Installation1 -i dspmqver funciona

Amunt! Top Amunt!
v 7.5

Novetats versions, 7.1, pdf (Morag Hughson), InfoCenter

Sys reqs

All Soft v 7.5
Directory of \\MQ\v7.5\eImg\server 14/09/2012 09:03 476.074.712 WS_MQ_FOR_AIX_V7.5_EIMAGE.tar.Z 17/09/2012 08:44 766.042.661 WS_MQ_FOR_HP-UX_ON_ITA_V7.5_EIMAGE.tar.Z 14/09/2012 12:51 302.773.058 WS_MQ_FOR_LINUX_POWER_V7.5_EIMAGE.tar.gz 17/09/2012 08:10 408.502.571 WS_MQ_FOR_LNX_ON_X86_32_V7.5_EIMG.tar.gz 17/09/2012 08:15 451.379.310 WS_MQ_FOR_LNX_ON_X86_64_V7.5_EIMG.tar.gz 14/09/2012 08:25 295.473.518 WS_MQ_FOR_LNX_SYS_Z_64_V7.5_EIMG.tar.gz 17/09/2012 08:30 501.841.151 WS_MQ_FOR_SOLARIS_SPARC_V7.5_EIMG.tar.Z 17/09/2012 08:20 474.365.629 WS_MQ_FOR_SOL_ON_X86_64_V7.5_EIMG.tar.Z 17/09/2012 08:02 368.376.869 WS_MQ_FOR_WINDOWS_V7.5_EIMAGE.zip 14/09/2012 12:42 1.325.158 WS_MQ_V7.5_QUICK_START_GUIDE_EIMAGE.PDF Directory of \\MQ\v7.5\eImg\client 14/09/2012 12:54 318.808.016 WS_MQ_CLIENT_FOR_AIX_V7.5_EIMAGE.tar.Z 14/09/2012 12:44 159.313.968 WS_MQ_CLIENT_FOR_WIN_V7.5_EIMAGE.zip 14/09/2012 09:17 605.093.669 WS_MQ_CLIENT_HP-UX_ITA_V7.5_EIMAGE.tar.Z 14/09/2012 12:47 229.036.593 WS_MQ_CLIENT_LNX_POWER_V7.5_EIMG.tar.gz 14/09/2012 08:17 219.487.297 WS_MQ_CLIENT_LNX_SYSZ_64_7.5_EIMG.tar.gz 14/09/2012 08:15 187.285.064 WS_MQ_CLIENT_LNX_X86_32_V7.5_EIMG.tar.gz 14/09/2012 08:19 222.627.108 WS_MQ_CLIENT_LNX_X86_64_V7.5_EIMG.tar.gz 17/09/2012 08:06 383.382.865 WS_MQ_CLIENT_SOL_SPARC_V7.5_EIMAGE.tar.Z 14/09/2012 08:36 360.015.710 WS_MQ_CLIENT_SOL_X86_64_V7.5_EIMG.tar.Z
Install v 7.5 on Guindous

Run setup.exe to get to :

C:\Users\Administrator> dspmqver Name: WebSphere MQ Version: 7.5.0.0 Level: p000-L120604 BuildType: IKAP - (Production) Platform: WebSphere MQ for Windows Mode: 32-bit O/S: Windows 7 Enterprise x64 Edition, Build 7600 InstName: Installation1 InstDesc: InstPath: C:\Program Files (x86)\IBM\WebSphere MQ DataPath: C:\Program Files (x86)\IBM\WebSphere MQ Primary: Yes MaxCmdLevel: 750 C:\Users\Administrator> dspmq
MQ v 7.5 validation

FP 7.5.0.1

Que ens dona ?

Com ficar-lo ?

  1. aturar el servei de guindous
  2. tancar la icona de MQ
  3. engegar WS-MQ-7.5.0-FP0001.exe -a MQPINUSEOK=1 o WS-MQ-7.5.0-FP0002.exe
  4. escollir "load files and apply fix pack"
  5. save service files in c:\temp\mq_v7.5.0.1
  6. install fix pack from c:\mq\maint_01\
C:\Sebas\ > dspmqver Name: WebSphere MQ Version: 7.5.0.1 Level: p750-001-130308

A linux:

[root@rhv6-64b ~]# cd /home/sebas/software/mqv75fp [root@rhv6-64b mqv75fp]# rpm -ivh MQSeriesRuntime-U200357-7.5.0-1.x86_64.rpm Preparing... ########################################### [100%] 1:MQSeriesRuntime-U200357########################################### [100%] [root@rhv6-64b mqv75fp]# rpm -ivh MQSeriesServer-U200357-7.5.0-1.x86_64.rpm Preparing... ########################################### [100%] 1:MQSeriesServer-U200357 ########################################### [100%] [root@rhv6-64b mqv75fp]# rpm -ivh MQSeriesClient-U200357-7.5.0-1.x86_64.rpm Preparing... ########################################### [100%] 1:MQSeriesClient-U200357 ########################################### [100%] [root@rhv6-64b mqv75fp]# rpm -ivh MQSeriesSamples-U200357-7.5.0-1.x86_64.rpm Preparing... ########################################### [100%] 1:MQSeriesSamples-U200357########################################### [100%] [root@rhv6-64b mqv75fp]# rpm -ivh MQSeriesSDK-U200357-7.5.0-1.x86_64.rpm Preparing... ########################################### [100%] 1:MQSeriesSDK-U200357 ########################################### [100%] rhv6-64b:sebas > dspmqver Name: WebSphere MQ Version: 7.5.0.1
Uninstall MQ v7 on SuSE SLES 10
p7029-6E3: root # rpm -qa | grep MQ p7029-6E3: root # rpm -ev <nom paquet>
Install MQ v7.5 on SuSE SLES 10
  1. uncompress
    sebas@p7029-6E3:~/soft/mq/7.5> tar -xvf ../WS_MQ_FOR_LINUX_POWER_V7.5_EIMAGE.tar.gz

  2. accept license
    sebas@p7029-6E3:~/soft/mq/7.5> ./mqlicense.sh ERROR: You must be 'root' to run this script. p7029-6E3:/home/sebas/soft/mq/7.5 # ./mqlicense.sh Agreement accepted: Proceed with install.

  3. install
    p7029-6E3:/home/sebas/soft/mq/7.5 # rpm -ivh MQSeriesRuntime-7.5.0-0.ppc64.rpm MQSeriesServer-7.5.0-0.ppc64.rpm MQSeriesClient-7.5.0-0.ppc64.rpm MQSeriesSamples-7.5.0-0.ppc64.rpm MQSeriesSDK-7.5.0-0.ppc64.rpm MQSeriesJava-7.5.0-0.ppc64.rpm MQSeriesJRE-7.5.0-0.ppc64.rpm Preparing... ########################################### [100%] 1:MQSeriesRuntime ########################################### [ 20%] 2:MQSeriesServer ########################################### [ 40%] 3:MQSeriesClient ########################################### [ 60%] 4:MQSeriesSamples ########################################### [ 80%] 5:MQSeriesSDK ########################################### [100%] 1:MQSeriesJRE ########################################### [ 50%] - required by mqsicreatebroker ! 2:MQSeriesJava ########################################### [100%] - required by mqsicreatebroker ! p9111-520:/home/sebas/soft/mq/7.5 #

  4. verify
    p7029-6E3:/home/sebas/soft/mq/7.5 # su - mqm +++ .profile report 2035 errors --- .profile mqm@p7029-6E3:~> dspmqver AMQ8594: WebSphere MQ commands are no longer available in /usr/bin. In order to run MQ commands you must manage your path configuration as described in the WebSphere MQ product documentation. In particular review the topic on "Choosing a primary installation".

    Fix it:

    p7029-6E3: root # . /opt/mqm/bin/setmqenv -n Installation1 p7029-6E3: root # setmqinst -n Installation1 -i 116 of 116 tasks have been completed successfuly. 'Installation1' (/opt/mqm) set as the Primary Installation.

    Display

    p7029-6E3:~ # dspmqver Name: WebSphere MQ Version: 7.5.0.0 Level: p000-L120604 BuildType: IKAP - (Production) Platform: WebSphere MQ for Linux (POWER platform) Mode: 64-bit O/S: Linux 2.6.16.21-0.8-ppc64 InstName: Installation1 InstDesc: InstPath: /opt/mqm DataPath: /var/mqm Primary: Yes MaxCmdLevel: 750

  5. crear objectes
    sebas@p7029-6E3:~/cmds/mq> ./01_crear_gestor.sh WebSphere MQ queue manager 'P7029' started using V7.5.0.0. QMNAME(P7029) STATUS(Running) sebas@p7029-6E3:~/cmds/mq> ./11_crear_objetos.sh sebas@p7029-6E3:~/cmds/mq> ./12_objectes_cluster.sh

Amunt! Top Amunt!
MQ v8

MQ Version 8.0 system requirements, documentation, library (downloadable product documentation, KC), all PDFs. Red book SG24-8218 = v8 Features and Enhancements, pdf, v8 clients,

Install at RHv7
578771997 Apr 14 15:54 WS_MQ_V8..0.0.2_LINUX_ON_X86_64_I.tar.gz [root@rhv7 v8]# tar -xvf ../WS_MQ_V8..0.0.2_LINUX_ON_X86_64_I.tar.gz [root@rhv7 server]# ./mqlicense.sh -accept WARNING: Unable to determine distribution and release for this system. Check that it is supported before continuing with installation. Agreement accepted: Proceed with install. [root@rhv7 server]# rpm -ivh MQSeriesRuntime-8.0.0-2.x86_64.rpm MQSeriesServer-8.0.0-2.x86_64.rpm MQSeriesClient-8.0.0-2.x86_64.rpm MQSeriesSDK-8.0.0-2.x86_64.rpm MQSeriesSamples-8.0.0-2.x86_64.rpm Preparing... ################################# [100%] Creating group mqm Creating user mqm Updating / installing... 1:MQSeriesRuntime-8.0.0-2 ################################# [ 20%] 2:MQSeriesServer-8.0.0-2 ################################# [ 40%] WARNING: System settings for this system do not meet recommendations for this product See the log file at "/tmp/mqconfig.25685.log" for more information 3:MQSeriesClient-8.0.0-2 ################################# [ 60%] 4:MQSeriesSDK-8.0.0-2 ################################# [ 80%] 5:MQSeriesSamples-8.0.0-2 ################################# [100%] [root@rhv7 server]# cat "/tmp/mqconfig.25685.log" mqconfig: V3.7 analyzing Red Hat Enterprise Linux Server release 7.1 (Maipo) settings for WebSphere MQ V8.0 System V Semaphores semmsl (sem:1) 250 semaphores IBM>=32 PASS semmns (sem:2) 0 of 32000 semaphores (0%) IBM>=4096 PASS semopm (sem:3) 32 operations IBM>=32 PASS semmni (sem:4) 0 of 128 sets (0%) IBM>=128 PASS System V Shared Memory shmmax 4294967295 bytes IBM>=268435456 PASS shmmni 0 of 4096 sets (0%) IBM>=4096 PASS shmall 0 of 268435456 pages (0%) IBM>=2097152 PASS System Settings file-max 3264 of 201714 files (1%) IBM>=524288 FAIL Current User Limits (root) nofile (-Hn) 4096 files IBM>=10240 FAIL nofile (-Sn) 1024 files IBM>=10240 FAIL nproc (-Hu) 0 of 7930 processes (0%) IBM>=4096 PASS nproc (-Su) 0 of 7930 processes (0%) IBM>=4096 PASS

Headers v8:

17-02-15 19:15 46.477 amqsvmha.h - use it in data conversion exit 17-02-15 19:15 30.934 cmqbc.h - declarations for MQ Adminitration Interface (MQAI) 17-02-15 19:15 241.853 cmqc.h - declarations for main MQI 17-02-15 19:15 117.890 cmqcfc.h - declarations for PCF and Events 17-02-15 19:15 8.301 cmqec.h - declarations for Interface Entry Points 17-02-15 19:15 36.866 cmqpsc.h - declarations for Publish/Subscribe 17-02-15 19:15 130.894 cmqxc.h - declarations for Exits and MQCD 17-02-15 19:15 40.493 cmqzc.h - declarations for Installable Services 17-02-15 19:15 5.844 imqtype.h - identify compilation environment and set manifest constants accordingly

Prepare

-bash-4.2$ ./setmqinst -? Usage: setmqinst (-n InstName | -p InstPath) (-i | -x | -d Text) -d Descriptive text. -i Set this installation as the primary installation. -n Installation name. -p Installation path. -x Unset this installation as the primary installation.

As root, execute

[root@rhv7 bin]# ./setmqinst -i -p /opt/mqm 117 of 117 tasks have been completed successfully. 'Installation1' (/opt/mqm) set as the primary installation.

Now all is ok:

[root@rhv7 bin]# dspmqver Name: WebSphere MQ Version: 8.0.0.2 Level: p800-002-150217.2 BuildType: IKAP - (Production) Platform: WebSphere MQ for Linux (x86-64 platform) Mode: 64-bit O/S: Linux 3.10.0-229.1.2.el7.x86_64 InstName: Installation1 InstDesc: Primary: Yes InstPath: /opt/mqm DataPath: /var/mqm MaxCmdLevel: 801 LicenseType: Production
WCF

WCF = Windows Communication Foundation - use of MQ custom channel for WCF with .NET 3, v 7.5. MQ custom channel for WCF, v8, v 7.5.

So this channel has the possibility of opening up some new interop capabilities between .NET / WCF applications and apps that run in non-.NET environments, including Java applications running in WebSphere Application Server.
blog

run this code

Amb en Fran ? "SVCUTIL http://localhost:8000/IBM.WMQ.WCF/OneWayService/?wsdl"


Amunt! Top Amunt!
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.

Amunt! Top Amunt!
Dubtes

Que es SetMQipw.exe ?
{amqtac07.pdf, v7 win quick beginnings} Use the setmqipw utility to encrypt the DOMAINNAME, USERNAME, and PASSWORD values in the [Services] stanza of a parameter file, if they are not already encrypted.

c:\mq> type setmqipw.log ------------------------------------------------------------------------ 15/03/13 23:22:01 Configuration file opened Configuration file closed UserName parameter not found DomainName parameter not found Password parameter not found QMgrPassword parameter not found ClientPassword parameter not found Processing complete

Amunt! Top Amunt!
Links

MQ v7 Information Center, MQ Library, IBM WebSphere Message Broker, Version 7.0, Information Center Online/download.

RedBook MQ V7.0 Features and Enhancements

MQ 7.5 PDF documentation


Ep ! Valid HTML 4.01!   Valid CSS! Escriu-me !
Updated 20150511  
Uf !