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 » IBM MQ Installation/Configuration Support » Sender / Requester Channel Konfiguration

Post new topic  Reply to topic
 Sender / Requester Channel Konfiguration « View previous topic :: View next topic » 
Author Message
m.goeckel
PostPosted: Mon Jan 31, 2005 2:57 am    Post subject: Sender / Requester Channel Konfiguration Reply with quote

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
View user's profile Send private message
leongor
PostPosted: Mon Jan 31, 2005 4:25 am    Post subject: Reply with quote

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
View user's profile Send private message
m.goeckel
PostPosted: Mon Jan 31, 2005 4:37 am    Post subject: Reply with quote

Newbie

Joined: 21 Oct 2004
Posts: 5

ups.... i mean the remote IP ...
Back to top
View user's profile Send private message
Anirud
PostPosted: Mon Jan 31, 2005 8:35 am    Post subject: Re: Sender / Requester Channel Konfiguration Reply with quote

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
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Mon Jan 31, 2005 1:17 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
m.goeckel
PostPosted: Tue Feb 01, 2005 1:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Anirud
PostPosted: Tue Feb 01, 2005 12:55 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
EddieA
PostPosted: Tue Feb 01, 2005 1:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Tue Feb 01, 2005 3:02 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
EddieA
PostPosted: Tue Feb 01, 2005 5:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Tue Feb 01, 2005 8:42 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
m.goeckel
PostPosted: Tue Feb 01, 2005 10:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 02, 2005 4:34 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Sender / Requester Channel Konfiguration
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.