IBM MQ Configuration

585 Views Asked by At

I need help with configuring the following :

I have a Server A that have both Remote and local Queue with a Queue manager 1 and there's a Server B that have also Remote and local Queue with a Queue manager 2. The two servers doesn't belong to the same network.

What I need is to configure an already installed IBM MQ server in server A so I can receive messages from server B and at the same time send messages to server B.

Thank you for your help.

1

There are 1 best solutions below

0
Matt Pavlovich On

Given the following queue managers:

  • Qmgr name: QM1 host: qm1.company.com port: 1414
  • Qmgr name: QM2 host: qm2.company.com port: 1414

Run these commands on QM1:

  1. DEFINE CHANNEL(QM1.QM2) CHLTYPE(SDR) CONNAME('qm2.company.com(1414)') XMITQ(XMIT.QM2) MAXMSGL(4194304) DESCR('')
  2. DEFINE CHANNEL(QM2.QM1) CHLTYPE(RCVR) MAXMSGL(4194304)
  3. START CHANNEL QM1.QM2
  4. START CHANNEL QM2.QM1

Run these commands on QM2:

  1. DEFINE CHANNEL(QM2.QM1) CHLTYPE(SDR) CONNAME('qm1.company.com(1414)') XMITQ(XMIT.QM1) MAXMSGL(4194304) DESCR('')
  2. DEFINE CHANNEL(QM1.QM2) CHLTYPE(RCVR) MAXMSGL(4194304)
  3. START CHANNEL QM2.QM1
  4. START CHANNEL QM1.QM2