| Author | 
		  Message
		 | 
		
		  | noc@visionweb.com | 
		  
		    
			  
				 Posted: Mon Feb 23, 2004 11:26 am    Post subject: Moving queue messages from server to server | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 24 Nov 2003 Posts: 14
  
  | 
		  
		    
			  
				Hi all, I have a existing MQ Server, 5.2, and am migrating to a new MQ 5.3 Server both on Windows 2000 Server.  I have duplication all the qmngrs and queues etc on new server.
 
How do I move existing messages on queues to the new MQ server once I pull the plug on the old one?
 
IBM referred me to MA01.zip.  But that only moves messages to a file, and when I restore from file to new server the messages are duplicated and not readable.
 
Any help is greatly appreciated.
 
Scott | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | EddieA | 
		  
		    
			  
				 Posted: Mon Feb 23, 2004 1:32 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi
 
 Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles 
  | 
		  
		    
			  
				No, MA01 can also write to a Queue.
 
 
Set up a Remote that points to the 'replacement' Queue and use 'q'.  Don't forget the options that maintain the data in the MQMD.
 
 
And I hope these QMs aren't in a Cluster.  It will get very confused with 2 QMs of the same name.
 
 
Cheers, _________________ Eddie Atherton
 
IBM Certified Solution Developer - WebSphere Message Broker V6.1
 
IBM Certified Solution Developer - WebSphere Message Broker V7.0 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | noc@visionweb.com | 
		  
		    
			  
				 Posted: Mon Feb 23, 2004 2:05 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 24 Nov 2003 Posts: 14
  
  | 
		  
		    
			  
				OK, your answer is reassuring, but I dont know how to deploy.  How do I setup a remote queue to point to the other server on the same network.  And can you give me an example on how to script this.  My problem is that I will have a few qmanagers with a few queues each that need to move messages to the new server with the same qmanager and queue names.
 
 
Thanks. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Michael Dag | 
		  
		    
			  
				 Posted: Mon Feb 23, 2004 2:26 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam) 
  | 
		  
		    
			  
				
   
	| noc@visionweb.com wrote: | 
   
  
	| How do I setup a remote queue to point to the other server | 
   
 
 
I hope I misunderstood this question, otherwise you shouldn't be doing what you are doing...    
 
 
Michael | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Leafar | 
		  
		    
			  
				 Posted: Tue Feb 24, 2004 7:33 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Acolyte
 
 Joined: 03 Apr 2003 Posts: 74 Location: Buenos Aires 
  | 
		  
		    
			  
				To migrate the messages, you can use the WMQTool prgram (for java) http://www.niratul.com and 
 
connect to OLD qmgr, export all the messages. 
 
Then connect to NEW QMGR and import the messages. 
 
 
I hope this help you 
 
 
Saludos 
 
Rafael | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | noc@visionweb.com | 
		  
		    
			  
				 Posted: Wed Feb 25, 2004 9:21 am    Post subject: Thanks | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 24 Nov 2003 Posts: 14
  
  | 
		  
		    
			  
				Yes, Ill play with this and see if it works to be what I need.  Meanwhile my developers are attempting to write a self made program.
 
 
Thanks. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |