Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple sender channel point to single receiver channel

Status
Not open for further replies.

HarpreetSachdeva

Programmer
Apr 11, 2003
25
GB
Hello.
I have got 4 MQ servers sending data to one single MQ server.
I have done the following configuration.
1. Created RECIEVER QUEUE MANAGER on server-1.
2. Created RECIEVER QUEUE-1 on 1st server.
2. Created RECIEVER QUEUE-2 on 1st server.
2. Created RECIEVER QUEUE-3 on 1st server.
3. Created RECIEVER CHANNEL on 1st Server

After that on rest of the 3 servers
1. I have created remote defination queue for the corresponding local queue on Server-1.
2. I have created transmission queue on that server
3. SENDER channel corresponding to the RECEIVER CHANNEL ON server-1.

****All the three sender channels point to one single receiver channel.
And they all get pinged successfully, but my problem starts when I am trying to send data across then my that particular sender channel goes in DOUBTFULL state.

If I stop all the sender channels and have only one sender channel active against the receiver then it works perfectly fine, and my data gets transfered successfully.

So could you please advice that do I need to create 3 seperate receiver channels on server-1. or there is any configuration setting by which I can achive this.

Thanks in advance.
HS
 
What you've done should work fine, as long as the 3 sending QMgrs are on different hosts. I think that MQ keeps track of the different Channels by their IP addresses.

Are your senders on different hosts?
 
My all the 3 sending channels are on different hosts. But one sending channel and one receiver channel share the same host, i.e. out of 3 sending channels, 2 are on remote machines and one is on the same machine but in different queue manager.

 
Won't work. Sender/receiver channels work in discrete pairs and point-to-point specific. Why it won't work is because the sender/receiver pair keeps track of messages with a channel sequence number, as soon as one goes out of sequence your channel will go into indoubt mode. Check your error log file, you will see the error there.

The only case where a single receiver channel definition will work is with clustering, but if you do a "dis chstatus" you will notice multiple instances running.

So you wil have to create seperate channels.

IBM Certified Confused - MQSeries
IBM Certified Flabbergasted - AIX 5 pSeries System Administration
MS Certified Windblows Rebooter
 
If you are still taking advise. The following would be the channel names.

These are standard IBM suggested conventions.

sourceqmgrname.destinationqmgrname.TCP channel 1

if you have a fast and slow channel then you might have a T2

The name is the same on the sender machines 2 3 and 4 as they are on the receiving machine 1.

On the sending machine they are sender channels, on the receiving machine you have 3 receiving channel.

qmgrname2.qmgrname1.t1
qmgrname3.qmgrname1.t1
qmgrname4.qmgrname1.t1

The use of remote queues is usually not the best way to do. If you are still taking advice I'll tell you a better way.
 
This is a bit old but I was wondering if you've sorted it out HS. Can you start all 3 pairs of channels simultaneously (with no messages flowing)?

aixmurderer ( :) )- You can have multiple Receiver channels and a single sender. The Receiving QMgr maintains one sequence number for each sender as long as they all use different IP addresses. You can see this if you do a chstatus saved.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top