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 Index » Clustering » Configur remote q to link an alias q

Post new topic  Reply to topic Goto page Previous  1, 2, 3, 4, 5, 6  Next
 Configur remote q to link an alias q « View previous topic :: View next topic » 
Author Message
hisham.rakha
PostPosted: Sun Jan 27, 2019 9:54 pm    Post subject: Reply with quote

Apprentice

Joined: 13 Nov 2018
Posts: 39

hughson wrote:
bruce2359 wrote:
How does the requesting app on QMD understand which reply (response) goes with the request?

Hmm, interesting, I had read the OP as suggesting that QMD was the responding app, not the requesting app.

Hisham, can you confirm which way round is the setup.

Is it:-
  • QMD is requesting app, then either QMA or QMB is responding app
  • QMA or QMB is requesting app, QMD is responding app

Cheers,
Morag


QMA or QMB is requesting app, QMD is responding app
Back to top
View user's profile Send private message
hughson
PostPosted: Sun Jan 27, 2019 10:08 pm    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

hisham.rakha wrote:
hughson wrote:
bruce2359 wrote:
How does the requesting app on QMD understand which reply (response) goes with the request?

Hmm, interesting, I had read the OP as suggesting that QMD was the responding app, not the requesting app.

Hisham, can you confirm which way round is the setup.

Is it:-
  • QMD is requesting app, then either QMA or QMB is responding app
  • QMA or QMB is requesting app, QMD is responding app

Cheers,
Morag


QMA or QMB is requesting app, QMD is responding app

Thanks, now please take a look at my earlier question too?
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
bruce2359
PostPosted: Mon Jan 28, 2019 5:44 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

hisham.rakha wrote:
hughson wrote:
hisham.rakha wrote:
T24 Application has configuration file that must be filled with below, so what suppose to type in MQQUEUE OUT field the QR name ESBMQ01STGDC1 or the LQ_T24_OUT
MQMANAGER: T24STGDC1
MQQUEUE IN: LQ_T24S_IN
BACKOUTQUEUE: N/A
MQQUEUE OUT: ???
DEADLETTERQUEUE: DLQ

Are you telling us that the T24 application does not use the MQMD.ReplyToQ and MQMD.ReplyToQMgr fields when sending its reply back and instead always puts the response message to the queue in the configuration file attribute MQQUEUE OUT?

Cheers,
Morag

Yes T24 application uses these configuration before send the response

Where is queue LQ_T24S_IN? This is your first reference to this queue name.

Exactly and precisely, how does T24 app uses these configuration before the send? Does "send" = MQPUT? Or, is there a send-exit that manipulates the XQH before the SENDER channel transmits (sends) the message?

Exactly and precisely, how does the T24 app use this configuration to determine whether A or B is the destination for the response?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
hisham.rakha
PostPosted: Tue Jan 29, 2019 1:32 am    Post subject: Reply with quote

Apprentice

Joined: 13 Nov 2018
Posts: 39

bruce2359 wrote:
hisham.rakha wrote:
hughson wrote:
hisham.rakha wrote:
T24 Application has configuration file that must be filled with below, so what suppose to type in MQQUEUE OUT field the QR name ESBMQ01STGDC1 or the LQ_T24_OUT
MQMANAGER: T24STGDC1
MQQUEUE IN: LQ_T24S_IN
BACKOUTQUEUE: N/A
MQQUEUE OUT: ???
DEADLETTERQUEUE: DLQ

Are you telling us that the T24 application does not use the MQMD.ReplyToQ and MQMD.ReplyToQMgr fields when sending its reply back and instead always puts the response message to the queue in the configuration file attribute MQQUEUE OUT?

Cheers,
Morag

Yes T24 application uses these configuration before send the response

Where is queue LQ_T24S_IN? This is your first reference to this queue name.

Exactly and precisely, how does T24 app uses these configuration before the send? Does "send" = MQPUT? Or, is there a send-exit that manipulates the XQH before the SENDER channel transmits (sends) the message?

Exactly and precisely, how does the T24 app use this configuration to determine whether A or B is the destination for the response?


The below scenario still under testing as it is new setup:

There is TCServer in between the MQ "QMgr D ""T24STGDC1"" which is installed on the same T24 server and tne T24 application, once the msg arrived in QMgr D the TCServer pull the msg and process on it then puts the response again in QMgr D then send it to back to the requester Qmgr A "ESBIIB01STGDC1" or B "ESBIIB02STGDC1" via QMgr C

The request sent successfully to T24 application throw out QR defined on QMgr A & B to send the request to gateway QMgr C "GWYMQ01STGDC1" and there is QMgr alias defined on it to deliver the request to IN Q on QGgr D then TCServer pull the msg to process on it, Hereunder the defined QRs for the request.

QMgr A:
DEFINE QREMOTE(RQ_GW_T24_OUT) RNAME(LQ_T24S_IN) RQMNAME('RQ_T24_IN') XMITQ(' ') CLUSTER('GTWYCLUSTER') REPLACE ;
QMgr B:
DEFINE QREMOTE(RQ_GW_T24_OUT) RNAME(LQ_T24S_IN) RQMNAME('RQ_T24_IN') XMITQ(' ') CLUSTER('GTWYCLUSTER') REPLACE ;
QMgr C:
DEFINE QREMOTE('RQ_T24_IN') RNAME(' ') RQMNAME('T24STGDC1') XMITQ('TQ_T24_IN') CLUSTER(' ') REPLACE ;
QMgr D:
DEFINE QLOCAL(LQ_T24T_IN) MAXDEPTH(50000) DEFBIND(NOTFIXED);


Last edited by hisham.rakha on Tue Jan 29, 2019 1:45 am; edited 1 time in total
Back to top
View user's profile Send private message
hisham.rakha
PostPosted: Tue Jan 29, 2019 1:34 am    Post subject: Reply with quote

Apprentice

Joined: 13 Nov 2018
Posts: 39

hughson wrote:
hisham.rakha wrote:
hughson wrote:
bruce2359 wrote:
How does the requesting app on QMD understand which reply (response) goes with the request?

Hmm, interesting, I had read the OP as suggesting that QMD was the responding app, not the requesting app.

Hisham, can you confirm which way round is the setup.

Is it:-
  • QMD is requesting app, then either QMA or QMB is responding app
  • QMA or QMB is requesting app, QMD is responding app

Cheers,
Morag


QMA or QMB is requesting app, QMD is responding app

Thanks, now please take a look at my earlier question too?


bruce2359 wrote:
hisham.rakha wrote:
hughson wrote:
hisham.rakha wrote:
T24 Application has configuration file that must be filled with below, so what suppose to type in MQQUEUE OUT field the QR name ESBMQ01STGDC1 or the LQ_T24_OUT
MQMANAGER: T24STGDC1
MQQUEUE IN: LQ_T24S_IN
BACKOUTQUEUE: N/A
MQQUEUE OUT: ???
DEADLETTERQUEUE: DLQ

Are you telling us that the T24 application does not use the MQMD.ReplyToQ and MQMD.ReplyToQMgr fields when sending its reply back and instead always puts the response message to the queue in the configuration file attribute MQQUEUE OUT?

Cheers,
Morag

Yes T24 application uses these configuration before send the response

Where is queue LQ_T24S_IN? This is your first reference to this queue name.

Exactly and precisely, how does T24 app uses these configuration before the send? Does "send" = MQPUT? Or, is there a send-exit that manipulates the XQH before the SENDER channel transmits (sends) the message?

Exactly and precisely, how does the T24 app use this configuration to determine whether A or B is the destination for the response?


The below scenario still under testing as it is new setup:

There is TCServer in between the MQ "QMgr D ""T24STGDC1"" which is installed on the same T24 server and tne T24 application, once the msg arrived in QMgr D the TCServer pull the msg and process on it then puts the response again in QMgr D then send it to back to the requester Qmgr A "ESBIIB01STGDC1" or B "ESBIIB02STGDC1" via QMgr C

The request sent successfully to T24 application throw out QR defined on QMgr A & B to send the request to gateway QMgr C "GWYMQ01STGDC1" and there is QMgr alias defined on it to deliver the request to IN Q on QGgr D then TCServer pull the msg to process on it, Hereunder the defined QRs for the request.

QMgr A:
DEFINE QREMOTE(RQ_GW_T24_OUT) RNAME(LQ_T24S_IN) RQMNAME('RQ_T24_IN') XMITQ(' ') CLUSTER('GTWYCLUSTER') REPLACE ;
QMgr B:
DEFINE QREMOTE(RQ_GW_T24_OUT) RNAME(LQ_T24S_IN) RQMNAME('RQ_T24_IN') XMITQ(' ') CLUSTER('GTWYCLUSTER') REPLACE ;
QMgr C:
DEFINE QREMOTE('RQ_T24_IN') RNAME(' ') RQMNAME('T24STGDC1') XMITQ('TQ_T24_IN') CLUSTER(' ') REPLACE ;
QMgr D:
DEFINE QLOCAL(LQ_T24T_IN) MAXDEPTH(50000) DEFBIND(NOTFIXED);


Last edited by hisham.rakha on Tue Jan 29, 2019 1:45 am; edited 1 time in total
Back to top
View user's profile Send private message
hisham.rakha
PostPosted: Tue Jan 29, 2019 1:42 am    Post subject: Reply with quote

Apprentice

Joined: 13 Nov 2018
Posts: 39

@hughson @bruce2359, I found another solution but I'm not sure is it will make workload balance or will send the response to the requester?, I tested it by the MQ explorer and MSGs sent successfully to QMgr A & B, I could not test it in real msg as the developer in vacation to change the code accordingly.
So please can tell me, Is it will make workload balance or will send the response msg to the requester?

QMgr D "T24STGDC1":
DEFINE QREMOTE('RQ_T24_To_ESB') RNAME(LQ_T24_OUT) RQMNAME('RQ_T24_01S_OUT') XMITQ('TQ_T24_IN') CLUSTER(' ') REPLACE ;

QMgr C "GWYMQ01STGDC1":
DEFINE QREMOTE('RQ_T24_01S_OUT') RNAME(' ') RQMNAME(' ') XMITQ('TQ_T24_IN') CLUSTER('GTWYCLUSTER ') REPLACE ;
Back to top
View user's profile Send private message
hughson
PostPosted: Tue Jan 29, 2019 2:13 am    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

hisham.rakha wrote:
@hughson @bruce2359, I found another solution but I'm not sure is it will make workload balance or will send the response to the requester?, I tested it by the MQ explorer and MSGs sent successfully to QMgr A & B, I could not test it in real msg as the developer in vacation to change the code accordingly.
So please can tell me, Is it will make workload balance or will send the response msg to the requester?

QMgr D "T24STGDC1":
DEFINE QREMOTE('RQ_T24_To_ESB') RNAME(LQ_T24_OUT) RQMNAME('RQ_T24_01S_OUT') XMITQ('TQ_T24_IN') CLUSTER(' ') REPLACE ;

QMgr C "GWYMQ01STGDC1":
DEFINE QREMOTE('RQ_T24_01S_OUT') RNAME(' ') RQMNAME(' ') XMITQ('TQ_T24_IN') CLUSTER('GTWYCLUSTER ') REPLACE ;

In order to answer that, you'll have to tell us how you tested it in Explorer, specifically, what did you fill in on the MQPUT in Explorer. How did you tell MQ Explorer you wanted to go to QMA or QMB for example.

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
hisham.rakha
PostPosted: Tue Jan 29, 2019 3:02 am    Post subject: Reply with quote

Apprentice

Joined: 13 Nov 2018
Posts: 39

hughson wrote:
hisham.rakha wrote:
@hughson @bruce2359, I found another solution but I'm not sure is it will make workload balance or will send the response to the requester?, I tested it by the MQ explorer and MSGs sent successfully to QMgr A & B, I could not test it in real msg as the developer in vacation to change the code accordingly.
So please can tell me, Is it will make workload balance or will send the response msg to the requester?

QMgr D "T24STGDC1":
DEFINE QREMOTE('RQ_T24_To_ESB') RNAME(LQ_T24_OUT) RQMNAME('RQ_T24_01S_OUT') XMITQ('TQ_T24_IN') CLUSTER(' ') REPLACE ;

QMgr C "GWYMQ01STGDC1":
DEFINE QREMOTE('RQ_T24_01S_OUT') RNAME(' ') RQMNAME(' ') XMITQ('TQ_T24_IN') CLUSTER('GTWYCLUSTER ') REPLACE ;

In order to answer that, you'll have to tell us how you tested it in Explorer, specifically, what did you fill in on the MQPUT in Explorer. How did you tell MQ Explorer you wanted to go to QMA or QMB for example.

Cheers,
Morag


I putted Hello msg via put test message on 'RQ_T24_To_ESB' which defined on Qmgr D "T24STGDC1"
Back to top
View user's profile Send private message
hughson
PostPosted: Tue Jan 29, 2019 3:17 am    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

hisham.rakha wrote:
hughson wrote:
hisham.rakha wrote:
@hughson @bruce2359, I found another solution but I'm not sure is it will make workload balance or will send the response to the requester?, I tested it by the MQ explorer and MSGs sent successfully to QMgr A & B, I could not test it in real msg as the developer in vacation to change the code accordingly.
So please can tell me, Is it will make workload balance or will send the response msg to the requester?

QMgr D "T24STGDC1":
DEFINE QREMOTE('RQ_T24_To_ESB') RNAME(LQ_T24_OUT) RQMNAME('RQ_T24_01S_OUT') XMITQ('TQ_T24_IN') CLUSTER(' ') REPLACE ;

QMgr C "GWYMQ01STGDC1":
DEFINE QREMOTE('RQ_T24_01S_OUT') RNAME(' ') RQMNAME(' ') XMITQ('TQ_T24_IN') CLUSTER('GTWYCLUSTER ') REPLACE ;

In order to answer that, you'll have to tell us how you tested it in Explorer, specifically, what did you fill in on the MQPUT in Explorer. How did you tell MQ Explorer you wanted to go to QMA or QMB for example.

Cheers,
Morag


I putted Hello msg via put test message on 'RQ_T24_To_ESB' which defined on Qmgr D "T24STGDC1"


And how did you tell it you wanted it to go to QMA or QMB? If you didn't, then the answer to your question is that it is round-robining, and I don't believe that is what you need.

You need your application to put to MQMD.ReplyToQ and MQMD.ReplyToQmgr.

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
hisham.rakha
PostPosted: Tue Jan 29, 2019 3:38 am    Post subject: Reply with quote

Apprentice

Joined: 13 Nov 2018
Posts: 39

hughson wrote:
hisham.rakha wrote:
hughson wrote:
hisham.rakha wrote:
@hughson @bruce2359, I found another solution but I'm not sure is it will make workload balance or will send the response to the requester?, I tested it by the MQ explorer and MSGs sent successfully to QMgr A & B, I could not test it in real msg as the developer in vacation to change the code accordingly.
So please can tell me, Is it will make workload balance or will send the response msg to the requester?

QMgr D "T24STGDC1":
DEFINE QREMOTE('RQ_T24_To_ESB') RNAME(LQ_T24_OUT) RQMNAME('RQ_T24_01S_OUT') XMITQ('TQ_T24_IN') CLUSTER(' ') REPLACE ;

QMgr C "GWYMQ01STGDC1":
DEFINE QREMOTE('RQ_T24_01S_OUT') RNAME(' ') RQMNAME(' ') XMITQ('TQ_T24_IN') CLUSTER('GTWYCLUSTER ') REPLACE ;

In order to answer that, you'll have to tell us how you tested it in Explorer, specifically, what did you fill in on the MQPUT in Explorer. How did you tell MQ Explorer you wanted to go to QMA or QMB for example.

Cheers,
Morag


I putted Hello msg via put test message on 'RQ_T24_To_ESB' which defined on Qmgr D "T24STGDC1"


And how did you tell it you wanted it to go to QMA or QMB? If you didn't, then the answer to your question is that it is round-robining, and I don't believe that is what you need.

You need your application to put to MQMD.ReplyToQ and MQMD.ReplyToQmgr.

Cheers,
Morag


So as per your advise I have to define below on QMgr D "T24STGDC1" only and the response will be forwarded to the XMITQ on gateway QMgr C "" to send the response back the requester QMgr A or B based on the MQMD.ReplyToQ and MQMD.ReplyToQmgr. AM I understand right?

For clarity, How the QMgr D will forward the response to gateway QMgr according to below definition?


DEFINE QREMOTE(ESBMQ01STGCD1) RNAME(' ') RQMNAME(ESBMQ01STGCD1) XMITQ(TQ_IN)

DEFINE QREMOTE(ESBMQ02STGCD1) RNAME(' ') RQMNAME(ESBMQ02STGCD1) XMITQ(TQ_IN)
Back to top
View user's profile Send private message
hughson
PostPosted: Tue Jan 29, 2019 3:46 am    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

hisham.rakha wrote:
So as per your advise I have to define below on QMgr D "T24STGDC1" only and the response will be forwarded to the XMITQ on gateway QMgr C to send the response back the requester QMgr A or B based on the MQMD.ReplyToQ and MQMD.ReplyToQmgr. AM I understand right?

For clarity, How the QMgr D will forward the response to gateway QMgr according to below definition?


DEFINE QREMOTE(ESBMQ01STGCD1) RNAME(' ') RQMNAME(ESBMQ01STGCD1) XMITQ(TQ_IN)

DEFINE QREMOTE(ESBMQ02STGCD1) RNAME(' ') RQMNAME(ESBMQ02STGCD1) XMITQ(TQ_IN)


QMgr D will see that the MQPUT is targeted to ESBMQ01STGCD1 for example, because that will be in the MQOD.ObjectQMgrName field. This will mean it knows to put the message on XmitQ TO_IN as per the definition above. Once it gets to QMC, QMC will know what to do with it because it is aware of queue manager ESBMQ01STGCD1 by name (due to being in a cluster with it).

Make sure when testing this that you fill in both queue name and queue manager name on your test MQPUT. I can't remember whether MQ Explorer can do that, but I showed you the amqsput way of doing it before.

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
hisham.rakha
PostPosted: Tue Jan 29, 2019 3:59 am    Post subject: Reply with quote

Apprentice

Joined: 13 Nov 2018
Posts: 39

hughson wrote:
hisham.rakha wrote:
So as per your advise I have to define below on QMgr D "T24STGDC1" only and the response will be forwarded to the XMITQ on gateway QMgr C to send the response back the requester QMgr A or B based on the MQMD.ReplyToQ and MQMD.ReplyToQmgr. AM I understand right?

For clarity, How the QMgr D will forward the response to gateway QMgr according to below definition?


DEFINE QREMOTE(ESBMQ01STGCD1) RNAME(' ') RQMNAME(ESBMQ01STGCD1) XMITQ(TQ_IN)

DEFINE QREMOTE(ESBMQ02STGCD1) RNAME(' ') RQMNAME(ESBMQ02STGCD1) XMITQ(TQ_IN)


QMgr D will see that the MQPUT is targeted to ESBMQ01STGCD1 for example, because that will be in the MQOD.ObjectQMgrName field. This will mean it knows to put the message on XmitQ TO_IN as per the definition above. Once it gets to QMC, QMC will know what to do with it because it is aware of queue manager ESBMQ01STGCD1 by name (due to being in a cluster with it).

Make sure when testing this that you fill in both queue name and queue manager name on your test MQPUT. I can't remember whether MQ Explorer can do that, but I showed you the amqsput way of doing it before.

Cheers,
Morag


In my case I will test from QMgr D to put test msg as below, right?

amqsput <RQName> <QMgr> 8208 0 <RQMgr>

amqsput ESBMQ01STGCD1 T24STGDC1 8208 0 ESBMQ01STGCD1

Update: I tested it but MSG lands up in the XMITQ on QMgr D "T24STGDC1 ", HYG the XQH

00000 58 51 48 20 00 00 00 01--45 53 42 4D 51 30 31 53 |XQH ....ESBMQ01S|
00010 54 47 43 44 31 20 20 20--20 20 20 20 20 20 20 20 |TGCD1 |
00020 20 20 20 20 20 20 20 20--20 20 20 20 20 20 20 20 | |
00030 20 20 20 20 20 20 20 20--45 53 42 4D 51 30 31 53 | ESBMQ01S|
00040 54 47 43 44 31 20 20 20--20 20 20 20 20 20 20 20 |TGCD1 |
00050 20 20 20 20 20 20 20 20--20 20 20 20 20 20 20 20 | |
00060 20 20 20 20 20 20 20 20--4D 44 20 20 00 00 00 01 | MD ....|
00070 00 00 00 00 00 00 00 08--FF FF FF FF 00 00 00 00 |........ÿÿÿÿ....|
00080 00 00 01 11 00 00 03 33--4D 51 53 54 52 20 20 20 |.......3MQSTR |
00090 00 00 00 00 00 00 00 00--41 4D 51 20 54 32 34 53 |........AMQ T24S|
000A0 54 47 44 43 31 20 20 20--5C 46 DA 96 25 EC 87 F6 |TGDC1 \FÚ.%ì.ö|
000B0 00 00 00 00 00 00 00 00--00 00 00 00 00 00 00 00 |................|
000C0 00 00 00 00 00 00 00 00--00 00 00 00 20 20 20 20 |............ |
000D0 20 20 20 20 20 20 20 20--20 20 20 20 20 20 20 20 | |
000E0 20 20 20 20 20 20 20 20--20 20 20 20 20 20 20 20 | |
000F0 20 20 20 20 20 20 20 20--20 20 20 20 54 32 34 53 | T24S|
00100 54 47 44 43 31 20 20 20--20 20 20 20 20 20 20 20 |TGDC1 |
00110 20 20 20 20 20 20 20 20--20 20 20 20 20 20 20 20 | |
00120 20 20 20 20 20 20 20 20--20 20 20 20 68 69 73 68 | hish|
00130 61 6D 2E 72 61 6B 68 61--03 32 31 33 00 00 00 00 |am.rakha.213....|
00140 00 00 00 00 00 00 00 00--00 00 00 00 00 00 00 00 |................|
00150 00 00 00 00 00 00 00 06--20 20 20 20 20 20 20 20 |........ |
00160 20 20 20 20 20 20 20 20--20 20 20 20 20 20 20 20 | |
00170 20 20 20 20 20 20 20 20--00 00 00 06 61 6D 71 73 | ....amqs|
00180 70 75 74 20 20 20 20 20--20 20 20 20 20 20 20 20 |put |
00190 20 20 20 20 20 20 20 20--32 30 31 39 30 31 32 39 | 20190129|
001A0 31 31 35 38 33 39 38 37--20 20 20 20 74 65 73 74 |11583987 test|
001B0 33 -- |3 |
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Jan 29, 2019 6:47 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

hisham.rakha wrote:
The below scenario still under testing as it is new setup

I've asked you if this is a new app? I don't understand what you mean by "scenario" and "new setup".

Please be precise in your answers. Is this is an entirely NEW application - both requesting and responding are new apps? The qmgrs are new? This entire system has never been in production before? No other versions of this are currently in production or pre-prod?

I/we are trying to determine what exactly "new setup" means to you. I'm trying to determine if you are creating something new OR fixing something that previously worked, but now is broken.

I previously asked you if you have attended IBM MQ training - in a classroom or online? What experience, if any, you have with IBM MQ product? MQ things like sample programs for testing, name-resolution, queue types, message routing, DLH, XQH, and such, are discussed in basic training, and with hands-on lab exercises to demonstrate. I encourage you to get training so that you can help yourself resolve these and other problems.

Are you are an application developer, MQ administrator, or something else?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
hughson
PostPosted: Tue Jan 29, 2019 10:43 am    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

hisham.rakha wrote:
In my case I will test from QMgr D to put test msg as below, right?

amqsput <RQName> <QMgr> 8208 0 <RQMgr>

amqsput ESBMQ01STGCD1 T24STGDC1 8208 0 ESBMQ01STGCD1


I think you need:-
amqsput T24STGDC1 LQ_T24_OUT 8208 0 ESBMQ01STGCD1

i.e. you want to connect to T24STGDC1 and put to the equivalent of ReplyToQ on ReplyToQMgr

Cheers,
Morag

P.S. Please take a look at http://www.mqgem.com/training.html - you might like what you see
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
hisham.rakha
PostPosted: Tue Jan 29, 2019 10:44 pm    Post subject: Reply with quote

Apprentice

Joined: 13 Nov 2018
Posts: 39

hughson wrote:
hisham.rakha wrote:
In my case I will test from QMgr D to put test msg as below, right?

amqsput <RQName> <QMgr> 8208 0 <RQMgr>

amqsput ESBMQ01STGCD1 T24STGDC1 8208 0 ESBMQ01STGCD1


I think you need:-
amqsput T24STGDC1 LQ_T24_OUT 8208 0 ESBMQ01STGCD1

i.e. you want to connect to T24STGDC1 and put to the equivalent of ReplyToQ on ReplyToQMgr

Cheers,
Morag

P.S. Please take a look at http://www.mqgem.com/training.html - you might like what you see


I excused the above put msg but landed up in the Gateway QMgr with error "MQRC_UNKNOWN_REMOTE_Q_MGR", hereunder the DLH

00000 44 4C 48 20 00 00 00 01--00 00 08 27 4C 51 5F 54 |DLH .......'LQ_T|
00010 32 34 5F 4F 55 54 20 20--20 20 20 20 20 20 20 20 |24_OUT |
00020 20 20 20 20 20 20 20 20--20 20 20 20 20 20 20 20 | |
00030 20 20 20 20 20 20 20 20--20 20 20 20 45 53 42 4D | ESBM|
00040 51 30 31 53 54 47 43 44--31 20 20 20 20 20 20 20 |Q01STGCD1 |
00050 20 20 20 20 20 20 20 20--20 20 20 20 20 20 20 20 | |
00060 20 20 20 20 20 20 20 20--20 20 20 20 00 00 01 11 | ....|
00070 00 00 03 33 4D 51 53 54--52 20 20 20 00 00 00 06 |...3MQSTR ....|
00080 61 6D 71 72 6D 70 70 61--20 20 20 20 20 20 20 20 |amqrmppa |
00090 20 20 20 20 20 20 20 20--20 20 20 20 32 30 31 39 | 2019|
000A0 30 31 33 30 30 36 33 39--34 31 34 31 74 65 73 74 |013006394141test|
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3, 4, 5, 6  Next Page 5 of 6

MQSeries.net Forum Index » Clustering » Configur remote q to link an alias q
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.