Author |
Message
|
m.goeckel |
Posted: Mon Jan 31, 2005 2:57 am Post subject: Sender / Requester Channel Konfiguration |
|
|
Newbie
Joined: 21 Oct 2004 Posts: 5
|
Hi,
i have little problem for This Configuration ...
system details
AIX, MQ5.3 CSD08
I have 2 MQ-Server and want to established an SENDER/REQUESTER Comunication between the Q-Managers.
At first to check the right configuration I build up an normal SDR/RESV communication, on both QMGR´s.
When i now start the Channels with the MQ-Explorer, it works. The Channels are activ.
Now i create an Requester Channel, with the name of the wantet Q-Manager an the local IP-Adress ... when i now start the requester . ..
nothing happend ...
What have i forgotten ????
Thx
Michael
PS: Sorry for the bad engl. ... its a long time ago ...when someone is in, who can understand german, would be nice  |
|
Back to top |
|
 |
leongor |
Posted: Mon Jan 31, 2005 4:25 am Post subject: |
|
|
 Master
Joined: 13 May 2002 Posts: 264 Location: Israel
|
Quote: |
Now i create an Requester Channel, with the name of the wantet Q-Manager an the local IP-Adress
|
Why local ? It should be remote. _________________ Regards.
Leonid.
IBM Certified MQSeries Specialist. |
|
Back to top |
|
 |
m.goeckel |
Posted: Mon Jan 31, 2005 4:37 am Post subject: |
|
|
Newbie
Joined: 21 Oct 2004 Posts: 5
|
ups.... i mean the remote IP ... |
|
Back to top |
|
 |
Anirud |
Posted: Mon Jan 31, 2005 8:35 am Post subject: Re: Sender / Requester Channel Konfiguration |
|
|
 Master
Joined: 12 Feb 2004 Posts: 285 Location: Vermont
|
m.goeckel wrote: |
Hi,
I have 2 MQ-Server and want to established an SENDER/REQUESTER Comunication between the Q-Managers. |
It should be a SERVER/REQUESTER pair of channels and not SENDER/REQUESTER.
From what I understand, you tested the communication with a SDR/RCVR pair and now you defined a Requester channle and using the same Sender channel which you tested earlier. Correct me if I am wrong.
If my understanding is correct, you will have to define a SVR type of channel on your remote queue manager and then start the RQSTR and you should be good.
Regards,
Anirud. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jan 31, 2005 1:17 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You can run a sender/requester model. See manual.
However both channels (sender and requester) need to have the same name.
Assume your sender is not triggered you can now request the messages in the xmitq by starting the requester channel.
[language="German"]
Es ist moeglich mit einem Sender/Requester Paar zu fahren, jedoch muessen beide Kanaele den selben Namen tragen. Der Requester muss die Information des Ziel QMGR und des Transportprotokolls haben (conname).Der Sender ebenso[/language]
Enjoy  |
|
Back to top |
|
 |
m.goeckel |
Posted: Tue Feb 01, 2005 1:35 am Post subject: |
|
|
Newbie
Joined: 21 Oct 2004 Posts: 5
|
Thx ...this was the error .... i didn´t have the same names
Thanks
... But now i have the next Problem ....
I start the Requester Channel with the MQ-Explorer and all works as its designed ... I get the Messages from the other QGMR ...
But i can´t Trigger the Local Queue or the Requester channel ...
I have a Application that makes only a READ(GET) on the Local Queue ... but when there is no way to trigger the Requester channel .... how can i tell the Application to start the channel, before it can make a read ?? runmqchl is not possible, because the user are not in the group mqm ...and will be never a member of this group ...
Configuration
QMGR A:
Here are the Data input for the Application, who connectet to the QMGR B
Queues:
RQ.QL.ON_QMGR_B (RemoteQueue)
XQ.TO_QMGR_B (FOR CHANNEL)
Channels:
CHL.QMGRA_QMGRB (SENDER)
There are no chlinits or triggers, so the messages are on the XQ.TO_QMGR_B (TransQueue)
QMGR B:
Queues:
QL.ON_QMGR_B (Local Queue where the Application reads)
Channels:
CHL.QMGRA_QMGRB (REQUESTER)
Thanks for your help.... |
|
Back to top |
|
 |
Anirud |
Posted: Tue Feb 01, 2005 12:55 pm Post subject: |
|
|
 Master
Joined: 12 Feb 2004 Posts: 285 Location: Vermont
|
Oops...
For some reason I assumed that we cannot use SDR/RQSTR pair and can only use SVR/RQSTR pair.
Sorry about that. |
|
Back to top |
|
 |
EddieA |
Posted: Tue Feb 01, 2005 1:27 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
What is your reason for wanting to use a SDR/RQSTR pair instead of the usual SDR/RCVR pair. Then, maybe someone can suggest how you handle this.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Feb 01, 2005 3:02 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
If you want it triggered
no matter whether a svr/req or sdr/req pair:
make the sender channel a triggered channel.
Enter the SYSTEM.CHANNEL.INITQ in the initq attribute of the xmitq and make sure you have following attributes for that xmitq: (from memory you'll have to lookup what abbreviations to use)...
TRIGGER
TRIGGERTYPE:FIRST
TRIGGERPRIORITY:0
TRIGGERDEPTH:1
make the receiver queue trigger some process (read up on manuals)
Enjoy  |
|
Back to top |
|
 |
EddieA |
Posted: Tue Feb 01, 2005 5:40 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
no matter whether a svr/req or sdr/req pair:
make the sender channel a triggered channel. |
Won't work. A SDR cannot initiate communication with a RQSTR. Only a SVR can, and then only under certain conditions.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Feb 01, 2005 8:42 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Eddie,
I beg to differ. We use that type of configuration. The requester will just behave as a receiver.
Normally your sender would not be triggered and the requester will "Request" the messages. However if your sender is triggered you end up pushing the messages down the other party's throat.
I believe the behavior you are describing applies to the SERVER channel.
Enjoy  |
|
Back to top |
|
 |
m.goeckel |
Posted: Tue Feb 01, 2005 10:52 pm Post subject: |
|
|
Newbie
Joined: 21 Oct 2004 Posts: 5
|
fjb_saper wrote: |
If you want it triggered
no matter whether a svr/req or sdr/req pair:
make the sender channel a triggered channel.
Enter the SYSTEM.CHANNEL.INITQ in the initq attribute of the xmitq and make sure you have following attributes for that xmitq: (from memory you'll have to lookup what abbreviations to use)...
TRIGGER
TRIGGERTYPE:FIRST
TRIGGERPRIORITY:0
TRIGGERDEPTH:1
make the receiver queue trigger some process (read up on manuals)
Enjoy  |
Sounds good ..... in this case i have the normal ability from SDR/RCV Channel ...
The Connect and Dataflow goes from QMGR A to QMGR B ...
I want the initation of the connect from QMGR B ... and the Dataflow from A to B ....a SDR/REQ will work for this ... i think IBM named it "callback"
And i get such connection... i start the reqester on B with the MQ Explorer. The Reqester becomes inaktiv and the Sender from A established the connecten to B and send the messages from A to B
But my question is how can i tell the application to run a channel (here the REQ Channel) before it can read from the Queue .... OR
It is possible to provied an MQ-Trigger in QMGR B to start the REQUESTER when someone want to Read the local Queue on B |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Feb 02, 2005 4:34 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
m.goeckel wrote: |
But my question is how can i tell the application to run a channel (here the REQ Channel) before it can read from the Queue .... |
Using PCF messages. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|