| Author | Message | 
		
		  | amigo21 | 
			  
				|  Posted: Fri May 03, 2002 7:34 pm    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 02 May 2002Posts: 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 |  | 
		
		  |  | 
		
		  | kirani | 
			  
				|  Posted: Fri May 03, 2002 7:56 pm    Post subject: |   |  | 
		
		  | Jedi Knight
 
 
 Joined: 05 Sep 2001Posts: 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 |  | 
		
		  |  | 
		
		  | amigo21 | 
			  
				|  Posted: Sat May 04, 2002 7:43 pm    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 02 May 2002Posts: 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 |  | 
		
		  |  | 
		
		  | kirani | 
			  
				|  Posted: Sat May 04, 2002 10:11 pm    Post subject: |   |  | 
		
		  | Jedi Knight
 
 
 Joined: 05 Sep 2001Posts: 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 |  | 
		
		  |  | 
		
		  | MQUser | 
			  
				|  Posted: Tue May 14, 2002 2:25 pm    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 14 May 2002Posts: 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 |  | 
		
		  |  | 
		
		  | bduncan | 
			  
				|  Posted: Tue May 14, 2002 2:46 pm    Post subject: |   |  | 
		
		  | Padawan
 
 
 Joined: 11 Apr 2001Posts: 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 |  | 
		
		  |  | 
		
		  | MQUser | 
			  
				|  Posted: Wed May 15, 2002 11:03 am    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 14 May 2002Posts: 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 |  | 
		
		  |  | 
		
		  | mqonnet | 
			  
				|  Posted: Wed May 15, 2002 11:19 am    Post subject: |   |  | 
		
		  |  Grand Master
 
 
 Joined: 18 Feb 2002Posts: 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 |  | 
		
		  |  | 
		
		  | MQUser | 
			  
				|  Posted: Wed May 15, 2002 11:53 am    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 14 May 2002Posts: 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 |  | 
		
		  |  | 
		
		  | mqonnet | 
			  
				|  Posted: Wed May 15, 2002 12:07 pm    Post subject: |   |  | 
		
		  |  Grand Master
 
 
 Joined: 18 Feb 2002Posts: 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 |  | 
		
		  |  | 
		
		  | bduncan | 
			  
				|  Posted: Wed May 15, 2002 12:50 pm    Post subject: |   |  | 
		
		  | Padawan
 
 
 Joined: 11 Apr 2001Posts: 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 |  | 
		
		  |  | 
		
		  | MQUser | 
			  
				|  Posted: Wed May 15, 2002 12:58 pm    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 14 May 2002Posts: 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 |  | 
		
		  |  | 
		
		  | mqonnet | 
			  
				|  Posted: Wed May 15, 2002 1:05 pm    Post subject: |   |  | 
		
		  |  Grand Master
 
 
 Joined: 18 Feb 2002Posts: 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 |  | 
		
		  |  | 
		
		  | bduncan | 
			  
				|  Posted: Wed May 15, 2002 2:44 pm    Post subject: |   |  | 
		
		  | Padawan
 
 
 Joined: 11 Apr 2001Posts: 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 |  | 
		
		  |  | 
		
		  |  |