Guide Share France Groupe de Travail MQ mars 2012 Carl Farkas SW IOT TechWorks zwebsphere Application Integration Consultant IBM France D/2708 Paris, France Internet : farkas@fr.ibm.com 2012 IBM Corporation p1
Agenda Annonces Alerts Evolutions de nos produits favoris 2012 IBM Corporation p2
Déjeuner http://www.brasserie5sens.com/ 12h00 5 Sens 12 Place de la Renaissance, 92270 Bois-Colombes, France +33 1 41 19 62 81 2012 IBM Corporation p3
U. Mainframe, 15-16 mars http://www.ibm.com/fr/events/udm_2012/ateliers15.html 2012 IBM Corporation p4
Requests For Enhancements (RFE) https://www.ibm.com/developerworks/rfe/ Nouvelle application pour les demandes d amélioration des produits IBM C est fini mqreq@uk.ibm.com! C est fini FITS C est fini les DCR Direction pour tous les produits IBM Demandes sont publiques par défaut On peut voter (mais c est pas la proportionnel ici! C est le dictateur bénévole ) 2012 IBM Corporation p5
Techdocs Installing WebSphere MQ 7.1 to coexist with MQ 7.0.1.7 in Linux http://www.ibm.com/support/docview.wss?uid=swg27023934 Installing WebSphere MQ 7.1 to coexist with MQ 7.0.1.7 in Windows http://www-01.ibm.com/support/docview.wss?uid=swg27023935 2012 IBM Corporation p6
Astuce MQ V.1 avec WMB v8 Installed WMB v8 on Windoze with no problem (nb. A few error messages did show up in C:\MBExplorer\MBExplorer_install.log, but no show-stoppers) But 1. When configuring my first Broker ran into a problem because default MQv7.1 had Channel Authorization in place. Disabled Channel Authorization and all was ok 2. The WMB v8 MQExplorer plugin was NOT integrated into MQExplorer Created C:\WebSphere MQ\MQExplorer\eclipse\links \com.ibm.wmbadmin.broker.explorer.link with contents: path=c:/mbexplorer On z/os, with WMBv8 and MQv7.1, did the following: SET CHLAUTH('SYSTEM.BKR.CONFIG') TYPE(ADDRESSMAP) ADDRESS('9.*.*.*') USERSRC(CHANNEL) DESCR('Allow IBMers and especially Carl') ACTION(ADD) 2012 IBM Corporation p7
MQ InfoCenter - restructured http://publib.boulder.ibm.com/infocenter/wmqv7/v7r1/index.jsp 8 2012 IBM Corporation p8
MQ Shared Queues with SMDS 9 2012 IBM Corporation p9
Setting up SMDS hints n tips New CF STRUCTURE NAME(ZTECCSQSYSAPPL) Not specifically for SMDS; new with MQ 7.0.1 for shared channels and for MQ transactional client group unit of recovery If using SMDS, you don t need to allocate as much DB2 space as you did with SQ with DB2 offload The CSQ45 setup is the same, but you can lower some values, eg. Those related to ADMIN_B_MESSAGES, ADMIN_MSGS_BAUX*. Hint: ++LOB*QTY++, ++IMSG*QTY++, ++IMS1*QTY++ I created a Rexx proc with all the SQ variables Use ALTLIB ACTIVATE APPLICATION(EXEC) DA('WBICFG.ED01.SCSQPROC') Ran into problem (bug??) with CF 17 and minimum 32MB structures Don t forget to set OPMODE(NEWFUNC,710) in ZPARM 10 2012 IBM Corporation p10
Gotcha MQ z/os abend potentiel avec z/os 1.12 Avec z/os 1.2, le défaut pour REUSASID devient YES http://www.ibm.com/support/docview.wss?uid=swg21571662&my ns=swgws&mynp=ocss7k4u&mync=e Override possible dans PARMLIB DIAG member Or. certains produits (eg. MQ z/os!) ne supportent pas REUSASID en BINDINGs Vu notamment avec WAS z/os quand configuré pour MQ Bindings (voir swg21410392) Le problème peut être évité si les applications utilisent WAS v7 ou v8, et en Activation Specification (au lieu de ListenerPort) car dans ce cas là, c est le CR Adjunct qui se connecte à MQ, et REUSASID est toléré (en gros.reusasid est toléré quand l espace adresse ne fait pas d appel PC à MQ) 2012 IBM Corporation p11
Gotcha WAS connecting to MQ v7.1 in bindings mode Attention : avec MQ v7.1, il faut veiller que WAS exploite la bonne version de la bibliothèque MQ Pour quelques détails, voir http://www.ibm.com/support/docview.wss?uid=swg21586547&myns=swgw s&mynp=ocssfksj&mynp=ocsseqtp&mync=e Il faut mettre à jour la bibliothèque native pour le MQ RAR afin qu il identifie la version de MQ avec laquelle on travaille, eg. /usr/lpp/mqm/v710/java/lib 2012 IBM Corporation p12
MQ v7.0.1 : problème de JMS Message Conversion MQ v7.0 a introduit un changement pour améliorer le support de conversion (avec MQGMO_CONVERT) pour le code JMS. Avant cette version, la conversion a été faite toujours par les classes Java ; après c est le Queue Manager qui le fait avant de rendre les donnée à l application. Or. Ceci a introduit des problèmes pour certaines applications (eg. Où il fallait faire la conversion par les classes JMS code page pas dispo avec le QM) donc MQ 7.0.1.5 (APAR IC72897) a modifié le comportement de MQ afin que cette conversion se fait de nouveau par les classes Java (comme était le cas avec MQv6), et on peut optionnellement choisir le nouveau comportement où la conversion est effectuée par le QM. Si vous installez MQv7, mais avant 7.0.1.5, attention aux problèmes de conversion pour des applications JMS. Pour plus de détails, voir http://www.ibm.com/support/docview.wss?uid=swg21501765&myns=swgws&mynp= OCSSFKSJ&mync=E et http://www.ibm.com/support/docview.wss?uid=swg21459994 2012 IBM Corporation p13
MA96 MQ Message Browser > Version : 2 > Report : (none) > MsgType : REQUEST > Expiry : -1 > Feedback : 0 > Encoding : 273 INTEGER_NORMAL / DECIMAL_NORMAL / FLOAT_IEEE_NORMAL > CodedCharSetId : 819 (ISO 8859-1 ASCII) > Format : MQHRF2 (Rules and formatting header 2) > Priority : 4 > Persistence : PERSISTENT > MsgId : 414D5120 514D5F63 61726C74 36312020 AD739049 > CorrelId : (null) > BackoutCount : 0 > ReplyToQ : From.IMSQ > ReplyToQMgr : QM_carlt61 > UserIdentifier : cfarkas > AccountingToken : 16010515 00000033 268EE30C F2B9293B 6CD125F4 [...3&Žã.ò¹);lÑ%ô...] > ApplIdentityData : > PutApplType : Windows > PutApplName : C:\WINDOWS\system32\java.exe > PutDate : 20090209 > PutTime : 20242406 > ApplOriginData : > --- MD version 2---------- > GroupId : (null) > MsgSeqNumber : 1 > Offset : 0 > MsgFlags : (none) > OriginalLength : -1 DataLength:315 Buffer:(315=x13B bytes) 00000000:52464820 00000002 000000C8 00000111 [RFH...È...] 00000010:000004B8 4D51494D 53202020 00000000 [... MQIMS...] 00000020:000004B8 00000020 3C6D6364 3E3C4D73 [...... <mcd><ms] 00000030:643E6A6D 735F6279 7465733C 2F4D7364 [d>jms_bytes</msd] 00000040:3E3C2F6D 63643E20 0000007C 3C6A6D73 [></mcd>... <jms] 00000050:3E3C4473 743E7175 6575653A 2F2F514D [><Dst>queue://QM] 00000060:5F636172 6C743631 2F546F2E 494D5351 [_carlt61/to.imsq] 00000070:3C2F4473 743E3C52 746F3E71 75657565 [</Dst><Rto>queue] 00000080:3A2F2F51 4D5F6361 726C7436 312F4672 [://QM_carlt61/Fr] 00000090:6F6D2E49 4D53513C 2F52746F 3E3C546D [om.imsq</rto><tm] 000000A0:733E3132 33343231 31303634 3034363C [s>1234211064046<] 000000B0:2F546D73 3E3C446C 763E323C 2F446C76 [/Tms><Dlv>2</Dlv] 000000C0:3E3C2F6A 6D733E20 49494820 00000001 [></jms> IIH...] 000000D0:00000054 00000000 00000000 4D51494D [...T...MQIM] 000000E0:53565320 00000000 46323830 20202020 [SVS...F280 ] 000000F0:20202020 20202020 4D51494D 53565320 [ MQIMSVS ] 00000100:20202020 20202020 30303030 30303030 [ 00000000] 00000110:30303030 30303030 20304320 001F0000 [00000000 0C...] 00000120:4956544E 56202020 20204449 53504C41 [IVTNV DISPLA] 00000130:59205749 4C4B494E 534F4E [Y WILKINSON] SupportPac pour les plates-formes distribuées Outil line-mode Formatage des entêtes courantes (DLQ, EVENT, RFH, PCF Sauvegarde, rechargement des messages > ----- offset 0-199 (=x0-xc7) length 200 (=xc8) - MQHRF2 (Rules and formatting header 2) > Version : 2 > StrucLength : 200 > Encoding : 273 INTEGER_NORMAL / DECIMAL_NORMAL / FLOAT_IEEE_NORMAL > CodedCharSetId : 1208 (UTF-8 with IBM PUA) > Format : MQIMS > Flags : 0 > NameValueCCSID : 1208 (UTF-8 with IBM PUA) > ----- offset 40-71 (=x28-x47) length 32 (=x20) - XML data in MQHRF2 > <mcd> > <Msd> > jms_bytes > </Msd> > </mcd> > ----- offset 76-199 (=x4c-xc7) length 124 (=x7c) - XML data in MQHRF2 > <jms> > <Dst> > queue://qm_carlt61/to.imsq > </Dst> > <Rto> > queue://qm_carlt61/from.imsq > </Rto> > <Tms> > 1234211064046 > </Tms> > <Dlv> > 2 > </Dlv> > </jms> 2012 IBM Corporation p14
MA96 MQ Message Browser 2012 (Windows) 2012 IBM Corporation p15
MQ Cloud Support: HyperVisor Editions HVE is pre-packaged image of MQ with an operating system For easy configuration deployment into virtualised environments First release included MQ V7.0.1.4 and Red Hat Enterprise Linux x86 64-bit OS Also now available with an AIX flavour Pre-defined patterns for IBM WebSphere Workload Deployer HVE Config Pattern configure deploy 2012 IBM Corporation p16
MQ File Transfer Edition (FTE) <Log> File Action FTE Agent Queue Manager 2. Agents transfer file data using queues (v6 or v7) (v6 or v7) (Agent) (Agent) Queue Manager FTE Agent 1. Operations tooling communicates with agent by sending messages to a queue that the agent is monitoring (Command) Queue Manager <request> myfile.. (v6 or v7) (v7) (Coordination) Queue Manager 3. Agents send progress and logging messages to the coordination queue manager which publishes the messages to subscribing applications DB logger Key Store + forward Operations Monitoring Record Keeping Subscription Externalized 17 2012 IBM Corporation p17
FTE 7.0.4.1 Software Group Enhancements to the WebSphere MQ Explorer plug-in Re-designed transfer wizard Editing resource monitors (also available via command line) Protocol bridge enhancements Support for FTPS protocol Passive FTP option One protocol bridge serving multiple FTP/FTPS/SFTP servers For details, see http://publib.boulder.ibm.com/infocenter/wmqfte/v7r0/index.jsp?topic=%2fcom.ibm.wmqfte.doc %2Fnew_7041.htm 2012 IBM Corporation p18
MQ FTE 7.0.4.1 GUI enhancements 2012 IBM Corporation p19
FTE Protocol bridging - FTP/SFTP Support for transferring files located on FTP or SFTP servers The source and/or destination for a file transfer can be an FTP or SFTP server Enables incremental modernization of FTP-based home-grown solutions Provides auditability of transfers across FTP/SFTP to central audit log Ensures reliability of transfers across FTP/SFTP with checkpoint restart Fully integrated into graphical, command line and XML scripting interfaces Managed file transfers between MQ and FTP/SFTP networks FTE Agent WMQ FTE network ftp/sftp network FTE Agent FTE Bridging Agent (FTP Client) FTP/SFTP Server Audit Trail 2012 IBM Corporation p20
What is MQ AMS? WebSphere MQ Advanced Message Security V7.0.1 New product, announced and available Oct 5, 2010 Provides security for MQ messages, end-to-end with no application changes It is a simple add-on product that enhances WebSphere MQ v6 or v7 Security policies are used to define the security level required which leverage X.509 certificates MQ network A MQ Msg Sending App MQ Msg A M S b &@Ja^! M S b Receiving App 2 21 2012 IBM Corporation p21