ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Message Broker Supportmq connection between two queue managers

Post new topicReply to topic
mq connection between two queue managers View previous topic :: View next topic
Author Message
eai_developer123
PostPosted: Mon May 21, 2018 11:06 pm Post subject: mq connection between two queue managers Reply with quote

Newbie

Joined: 21 May 2018
Posts: 6

May 19, 2018
Communication between Queue Managers in MQ 7.5

Creating MQ connection between two queue managers, QMA & QMB

1. Creating queue manager QMA

ALTER QMGR +
* ALTDATE(2018-05-19) +
* ALTTIME(15.19.41) +
CCSID(437) +
CLWLUSEQ(LOCAL) +
* COMMANDQ(SYSTEM.ADMIN.COMMAND.QUEUE) +
* CRDATE(2018-05-19) +
* CRTIME(15.19.41) +
DEADQ('QMA.DLQ') +
DEFXMITQ('QMA') +
* PLATFORM(WINDOWSNT) +
* QMID(QMA_2018-05-19_15.19.41) +
SSLCRYP(' ') +
SSLKEYR('C:\Program Files\IBM\WebSphere MQ\qmgrs\QMA\ssl\key') +
SUITEB(NONE) +
* VERSION(07050002) +
FORCE

DEFINE LISTENER('LISTENER.TCP') TRPTYPE(TCP) CONTROL(QMGR) +
PORT(1424) +
* ALTDATE(2018-05-19) +
* ALTTIME(15.20.15) +
REPLACE

2. Creating queue manager QMB

ALTER QMGR +
* ALTDATE(2018-05-19) +
* ALTTIME(15.21.0 +
CCSID(437) +
CLWLUSEQ(LOCAL) +
* COMMANDQ(SYSTEM.ADMIN.COMMAND.QUEUE) +
* CRDATE(2018-05-19) +
* CRTIME(15.21.0 +
DEADQ('QMB.DLQ') +
DEFXMITQ('QMB') +
* PLATFORM(WINDOWSNT) +
* QMID(QMB_2018-05-19_15.21.0 +
SSLCRYP(' ') +
SSLKEYR('C:\Program Files\IBM\WebSphere MQ\qmgrs\QMB\ssl\key') +
SUITEB(NONE) +
* VERSION(07050002) +
FORCE

DEFINE LISTENER('LISTENER.TCP') TRPTYPE(TCP) CONTROL(QMGR) +
PORT(1434) +
* ALTDATE(2018-05-19) +
* ALTTIME(15.21.30) +
REPLACE

3. Create a local queues
on QMA -
DEFINE QLOCAL('Queue.A') +
* ALTDATE(2018-05-19) +
* ALTTIME(15.50.23) +
* CRDATE(2018-05-19) +
* CRTIME(15.50.23) +
* CURDEPTH(2) +
DEFPSIST(YES) +
DISTL(NO) +
MAXDEPTH(5000) +
REPLACE

on QMB -
DEFINE QLOCAL('Queue.B') +
* ALTDATE(2018-05-19) +
* ALTTIME(16.18.5 +
* CRDATE(2018-05-19) +
* CRTIME(16.18.5 +
DEFPSIST(YES) +
DISTL(NO) +
MAXDEPTH(5000) +
REPLACE

DEFINE QREMOTE('RM.Q.A') +
* ALTDATE(2018-05-19) +
* ALTTIME(16.02.21) +
DEFPSIST(YES) +
RQMNAME('QMA') +
RNAME('Queue.A') +
XMITQ('SYSTEM.CLUSTER.TRANSMIT.QUEUE') +
REPLACE


4. Create Sender and Receiver channels

on QMA -

DEFINE CHANNEL('QMA.QMB') +
CHLTYPE(SDR) +
* ALTDATE(2018-05-19) +
* ALTTIME(16.00.00) +
CONNAME('localhost(1434)') +
DISCINT(6000) +
TRPTYPE(TCP) +
XMITQ('SYSTEM.CLUSTER.TRANSMIT.QUEUE') +
REPLACE

DEFINE CHANNEL('QMB.QMA') +
CHLTYPE(RCVR) +
* ALTDATE(2018-05-19) +
* ALTTIME(15.25.40) +
TRPTYPE(TCP) +
REPLACE

on QMB -
DEFINE CHANNEL('QMA.QMB') +
CHLTYPE(RCVR) +
* ALTDATE(2018-05-19) +
* ALTTIME(15.24.41) +
TRPTYPE(TCP) +
REPLACE

DEFINE CHANNEL('QMB.QMA') +
CHLTYPE(SDR) +
* ALTDATE(2018-05-19) +
* ALTTIME(16.00.33) +
CONNAME('localhost(1424)') +
DISCINT(6000) +
TRPTYPE(TCP) +
XMITQ('SYSTEM.CLUSTER.TRANSMIT.QUEUE') +
REPLACE

5. Test

Put the message on the remote queue RM.Q.A of QMB and check the queue depth of Queue.A on QMA.
Back to top
View user's profile Send private message
eai_developer123
PostPosted: Mon May 21, 2018 11:08 pm Post subject: mq connection between two queue managers Reply with quote

Newbie

Joined: 21 May 2018
Posts: 6

http://middlewarelearning.blogspot.in/2018/05/mq-connection-between-two-queue-managers.html
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Tue May 22, 2018 12:09 am Post subject: Reply with quote

Disciple

Joined: 17 Jul 2017
Posts: 180
Location: UK

hi...are you looking for some help or simply stating how to define channels between Qmgrs?
I guess it is the latter, the usage of System cluster transmit queue as Sender/Reciever channel transmit queue is a bad practice, please create a custom transmit queue with the same name of the receiver Qmgr instead.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Tue May 22, 2018 5:39 pm Post subject: Reply with quote

Padawan

Joined: 25 Mar 2003
Posts: 1821
Location: Melbourne, Australia

The blogspot posting is bogus. SYSTEM.CLUSTER.TRANSMIT.QUEUE must never be used as a XMITQ for sender channels.
_________________
Glenn
Back to top
View user's profile Send private message
eai_developer123
PostPosted: Thu May 24, 2018 1:08 am Post subject: mq communication between two queue mangers Reply with quote

Newbie

Joined: 21 May 2018
Posts: 6

The system.cluster.transit.queue was used when it was defined in the mq explorer gui.

Transmit queues must be used instead.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker Supportmq connection between two queue managers
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.