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 » General IBM MQ Support » Sending message to Remote Queue Manager

Post new topic  Reply to topic
 Sending message to Remote Queue Manager « View previous topic :: View next topic » 
Author Message
pazhanikumart
PostPosted: Mon Aug 13, 2001 1:20 am    Post subject: Reply with quote

Apprentice

Joined: 12 Aug 2001
Posts: 32
Location: Chennai,India

we created all the Channels and Transmission queues.When we try to start the Sender Channel it is showing BINDING state and then retries .
Details of Queue

for Queue_Manager_1
Sender_channel,Receiver Channel,Remote Queue definition ,Transmission Queue

for Queue_Manager_2
Receiver Channel,Queue

Should we start the runmqlsr for every queue Manager?
Is it enough if we post the message in the transmission queue?

Please help me in this issue
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
kolban
PostPosted: Mon Aug 13, 2001 4:02 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

For each queue manager that is going to receive queues, a distinct MQSeries listener must be associated with that queue manager. Even if two queue managers are coresident on the same machine, you will still need to listeners. Each listener needs exclusive access to a TCP/IP port. This means that if you run two listeners on the same machine, each will have to be configured with a different port (default 1414).

Make sure that on the connection name on the sender, if a port other than 1414 is in use on the target queue manager that the connection name also includes the target port. As a matter of convention, I always code the port number, even if default of 1414 is being used.

(Please don't shotgun your postings, they are all seen ... please follow up on this thread)
Back to top
View user's profile Send private message
pazhanikumart
PostPosted: Mon Aug 13, 2001 8:14 pm    Post subject: Reply with quote

Apprentice

Joined: 12 Aug 2001
Posts: 32
Location: Chennai,India

As you said,we created two listeners for each queue manager one listening on 1412 and the other on 1413 and started them.But when we send a message to the Tranmission queue ,we get a message in the listener stating that the type of channel is not suitable for this kind of request.and gives that the channel program ended abnormally.

We created all the Sender and Receiver Channels using the MQ Series Explorer(Is it the same doing with the tool runmqsc.. or should we create the sdr channel in the runmqsc tool also..)

Please advice
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
kolban
PostPosted: Tue Aug 14, 2001 3:36 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

What platform are your queue managers running on (Unix, NT etc)? When you say that you put a message to the transmission queue, I am hoping you don't mean that literally.... you don't put messages to this queue. Messages are put in transmission queues by MQSeries itself with special transmission headers. I think if you had done this and not defined a dead-letter queue, your communications would have no options but to stop. Can you come back with more details on your exact setup and, if possible, post the error messages as seen and where seen?
Back to top
View user's profile Send private message
pazhanikumart
PostPosted: Tue Aug 14, 2001 4:22 am    Post subject: Reply with quote

Apprentice

Joined: 12 Aug 2001
Posts: 32
Location: Chennai,India

we are running it on NT platform and i am using MQ Series V5.2.Actually i wish to send the message from one queue to another queue residing in a different queue manager .Can we put the message straight away into the Tranmission queue?
If not how to do it ?

I could not create the Dead Letter Queue
Please explain ?
I couldnt Move ahead

I created all The channels correctly as you said but still there seems to be a problem
Is there any work flow as to how to send the message to the remote queue manager

Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
kolban
PostPosted: Tue Aug 14, 2001 5:45 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

I am thinking you would get benefit from the MQSeries Intercommunication Manual. Settins up a channel from one queue manager to another is straightforward and intuitive ... after you have done it a dozen times. It's a logical system but has many components involved.

The major players are:

o A Sender channel definition on the queue manager to which the application putting the message is attached
o A Receiver channel definition matching the sender on the target queue manager
o An MQSeries listener on the target queue manager
o A queue remote definition on the sending queue manager pointing to the queue on the remote system, naming the queue manager
o A transmission queue on the sending queue manager used to hold messages to be sent to the target system
o A channel initiator used to automatically start a channel when a message is to be sent from one queue manager to another

Lots of things ... my suggestion is to take the time and read carefully the referenced manual. Assuming I could give you an exact recipe for creating a channel and putting a message, you gain an enormous amount by actually knowing what is happening. Only experience or an education class (or careful manual study) can give you this.
Back to top
View user's profile Send private message
pazhanikumart
PostPosted: Fri Aug 17, 2001 1:57 am    Post subject: Reply with quote

Apprentice

Joined: 12 Aug 2001
Posts: 32
Location: Chennai,India

Thanks kolban
finally i did it.the problem was i first created the sender and receiver channels with different name .Thats the problem.Now i solved it.
Still i have a doubt

i gave the conname parameter for the sender channel with the port with which the listener listens for the receiver channel in the remote queue manager... Is it right ??




[ This Message was edited by: pazhanikumart on 2001-08-17 02:58 ]
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
bduncan
PostPosted: Fri Aug 17, 2001 8:09 am    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

To see the syntax for specifying the port number in the CONNAME on the sender channel, see my previous posting:
http://www.mqseries.net/phpBB/viewtopic.php?topic=37&forum=5
Also, when you set up the channel listener for MQSeries it defaults to port 1414. If you are using this port, there is no need to specify the port in the sender channel's CONNAME attribute. However, if you plan on using a non-standard port, not only do you have to add the port number to the CONNAME attribute on the sender channel, but you have to make a few modifications to the receiver side of things. I will assume that you are only running 1 qmgr on the receiving machine (multiple queue managers makes things a little trickier, but if this is the case just let me know and I can explain it). What you need to do is alter the /etc/services file and specify the correct port number that you are going to use for the "MQSeries" service. Then you need to restart inetd by killhup'ing it...


_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
pazhanikumart
PostPosted: Fri Aug 17, 2001 8:15 pm    Post subject: Reply with quote

Apprentice

Joined: 12 Aug 2001
Posts: 32
Location: Chennai,India

Hai
i am using 1412 for one queue manager and 1413 for the other queue manager .Does this mean that the listeners for these 2 queue managers be started explicitly?
Now its running fine .
Should we start the Sender Channel manually or will it be initiated by the Channel Initiator.?

Please can you give more information about Channel Initiators?

Thanks very much!!!

_________________
In the end everything is Right ,If it's not then it's not the end
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Sending message to Remote Queue Manager
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.