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 » Intercommunication

Post new topic  Reply to topic
 Intercommunication « View previous topic :: View next topic » 
Author Message
amigo21
PostPosted: Fri May 03, 2002 7:34 pm    Post subject: Reply with quote

Newbie

Joined: 02 May 2002
Posts: 8

Hi,

I am in the stage of trying out my hands on MQ Series and have successfully tested a Server-Client Environment with multiple machines.

As I am still pretty new to MQ Series, I am wondering if there is any way of transfering messages from 1 QMGR to another QMGR. Take for example, assuming that on machine A, I have 2 QMGRs, namely QM1 and QM2, when I place a message on Q1 under QM1, I would like it to be automatically transfer to Q2 under QM2. Is this possible? If yes, can anyone give some directions on how it can be achieved? An example will be of great help.

Thank you and best regards.


Tom
Student Researcher
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Fri May 03, 2002 7:56 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Do you want to retain a copy of the message on Q1 on QM1 also? If no, then you can define Q1 on QM1 as remote queue which will point to local queue Q2 on QM2. You will also need to define a channel between QM1 and QM2 queue managers.


_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
amigo21
PostPosted: Sat May 04, 2002 7:43 pm    Post subject: Reply with quote

Newbie

Joined: 02 May 2002
Posts: 8

Hi,

Thanks for the reply. In fact, that's where I faced problems. I have tried setting up the sender channel on QM1 and receiver Channel on QM2 but just cannot get the message across.

Would appreciate a lot if a detail explanantion of the steps involved is being explained as there isn't any example that I can fully based on from the MQ Series books provided by IBM.

thanks a lot.


Yours,
Tom
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Sat May 04, 2002 10:11 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Tom,

Lets take an example here. Lets say you have two queue managers named QM1 and QM2 (Doesn't matter if they are on same or different computers).

To define communication link between two queue managers QM1 and QM2 you should define following components,

On QM1
--------
A transmission queue named QM2
A sender channel (e.g. TO.QM2)
A receiver channel (e.g. TO.QM1)

On QM2
--------
A transmission queeu named QM1
A Sender channel (e.g. TO.QM1)
A receiver channel (e.g. TO.QM2)

After you start these pair of channels your queue manager QM1 and QM2 can communicate with each other in both directions.

For more information on how to define channels refer to MQSeries Intercommunication book. MQSeries books can be downloaded form this link,

http://www-3.ibm.com/software/ts/mqseries/library/manualsa/manuals/crosslatest.html

Hope this helps!


_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
MQUser
PostPosted: Tue May 14, 2002 2:25 pm    Post subject: Reply with quote

Newbie

Joined: 14 May 2002
Posts: 4
Location: Chicago IL

Hi All:

I have similar kind of problem. I created a transmission queue and creates a sender channel on one machine. On the second machine I created a channel and created a receiving channel on the second machine and I was able to ping the recieving channel. When I put some messages on the tranmission queue, The queueis getting emptied but the messages are not reaching the destination.
Any help is appreciates.
Thanks,
_________________
MQUser
Back to top
View user's profile Send private message
bduncan
PostPosted: Tue May 14, 2002 2:46 pm    Post subject: Reply with quote

Padawan

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

MQUser,
When you say "When I put some messages on the tranmission queue" you don't mean that you are putting messages directly to the transmission queue right? In other words, when your application issues the MQPUT, is it doing the put to some remote queue definition which points at the destination queue, or are you putting the message directly on the transmission queue? If you are doing this, then none of the routing information is going to be put in the message header, and that is why your messages will never arrive at their destination. If this is not the case, then I'd need some more information about your setup, perhaps the names/attributes of all the objects that you have defined...
_________________
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
MQUser
PostPosted: Wed May 15, 2002 11:03 am    Post subject: Reply with quote

Newbie

Joined: 14 May 2002
Posts: 4
Location: Chicago IL

Hi Duncan:
Thanks for the reply. I think I miss understood the documentation. I was trying to put the messages in the transmissions queue. Now I have new problems. I was unable to put messages on to the remote queue.

Here is the structure that I have
On the Local machine
Queue Manager: QM.xmtr
transmission Queue: Xmtr.Queue
remote queue: Rmt.Queue.Local
Channel Name: Web3_to_Web5

On the remote machine:
Queue Manager Name: QM.rcvr
Queuename : rcvr.Queue
Channel Name : Web3_to_Web5

Any Help is appreciated.

Thanks,
_________________
MQUser
Back to top
View user's profile Send private message
mqonnet
PostPosted: Wed May 15, 2002 11:19 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

What is the error message you are getting when you try to put the message. Assuming that you are putting the message onto the remote queue, where is the message landing onto. Are your channels up and running. Any error messages in the Error logs.

Cheers.
Kumar
_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MQUser
PostPosted: Wed May 15, 2002 11:53 am    Post subject: Reply with quote

Newbie

Joined: 14 May 2002
Posts: 4
Location: Chicago IL

Hi Kumar:

The problem is When I try to put message on the remote queue I am getting "Unknown remote queue manager message. But I checked the spelling and everything. When I try to start the remote channel that is recieving channel, It doesn't start all the way It say's Inactive...
Does it say some thing to you..

Thanks,
_________________
MQUser
Back to top
View user's profile Send private message
mqonnet
PostPosted: Wed May 15, 2002 12:07 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Well if your channel is not up and running, then thats the problem. If you have checked the name and it seems ok, check the conname. Are you pointing to the right system and also the right listener port. Also check if your listener is running on the remote system.
Any error messages in the mqerrlog.

Cheers.
Kumar
_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bduncan
PostPosted: Wed May 15, 2002 12:50 pm    Post subject: Reply with quote

Padawan

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

Perhaps if you could post the definitions of your sender channel, receiver channel, and remote queue we might be able to track down the program.
Just use DIS CHANNEL(channel name)
and DIS QREMOTE(remote queue name)
in runmqsc and paste the output for us to see...
_________________
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
MQUser
PostPosted: Wed May 15, 2002 12:58 pm    Post subject: Reply with quote

Newbie

Joined: 14 May 2002
Posts: 4
Location: Chicago IL

Hi Kumar:

For some reason the recieving end queue some times it says It is running and some time it says inactive..
I do not know whay. and No errors in the event log

Thanks,
_________________
MQUser
Back to top
View user's profile Send private message
mqonnet
PostPosted: Wed May 15, 2002 1:05 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Please post all the definitions as already requested by Duncan to move any further.

Cheers.
Kumar
_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bduncan
PostPosted: Wed May 15, 2002 2:44 pm    Post subject: Reply with quote

Padawan

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

MQUser,
In your last post you said
Quote:
"For some reason the recieving end queue some times it says It is running and some time it says inactive..
I do not know whay. and No errors in the event log"

I think you are confusing the terminology here. Queues never have a state in the same sense as channels. Queues aren't "running" or "inactive".
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Intercommunication
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.