| Author | 
		  Message
		 | 
		
		  | rajmq | 
		  
		    
			  
				 Posted: Fri Jul 25, 2003 10:46 pm    Post subject: Upgrade-- MQ5.3 | 
				     | 
			   
			 
		   | 
		
		
		    Partisan
 
 Joined: 29 Sep 2002 Posts: 331 Location: USA 
  | 
		  
		    
			  
				Hi
 
 
Currently My Application is using MQ5.2 & Wmqi 2.1.Now i planning to upgrade my system MQ5.3.So what are the steps i need to take care before upgrade?? or I need rebuild full setup.
 
 
Can any one help me    
 
 
regards
 
raj | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | tej | 
		  
		    
			  
				 Posted: Thu Aug 07, 2003 7:26 am    Post subject: 5.3 upgrade | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 18 Nov 2002 Posts: 20
  
  | 
		  
		    
			  
				If you are going for 5.3 upgrade. Take a saveqmgr for all the qmgrs that are running on the box you are going to upgrade. It you are palling to install on UNIX envirment take a back of /var/mqm  file system(This will be helpfull to restore if 5.3 upgrade is not successfull). Then go ahead and uninstall 5.2 and cleare semaphores. Then install 5.3 with the latest patch.
 
 
Then restore qmgrs with the saveqmgr script. If every thing is fine, then it is a party time     else you have to uninstall 5.3 and the patches and install 5.2 and restore the var/mqm directory backup U have taken.
 
   
 
 
Let me know if you require any other info and the out put of your upgrade
 
 
Good Luck | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Thu Aug 07, 2003 9:19 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				Is it required that you uninstall v5.2 in order to upgrade to v5.3 on Unix?  
 
 
It's certainly not necessary on Windows.  
 
 
It may be a good idea, but it's not required. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | rajmq | 
		  
		    
			  
				 Posted: Sun Aug 10, 2003 5:15 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Partisan
 
 Joined: 29 Sep 2002 Posts: 331 Location: USA 
  | 
		  
		    
			  
				Hi 
 
 
Thanks for ur Reply
 
 
Using MS03 Supportpac I am able to do saveqmgr.But Again
 
How to restore the the same qmgrs objects in MQ5.3 Version.??
 
 
What are the commands for restoring same qmgr and objects??
 
 
regards
 
raj | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | tso0rxp | 
		  
		    
			  
				 Posted: Sun Aug 10, 2003 6:26 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Voyager
 
 Joined: 07 Jan 2002 Posts: 85
  
  | 
		  
		    
			  
				runmqsc QMGR < /yourbackupfile
 
 
This will restore your objects from the backup. _________________ Bob Perry
 
MQ Administrator | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | tej | 
		  
		    
			  
				 Posted: Mon Aug 11, 2003 5:19 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 18 Nov 2002 Posts: 20
  
  | 
		  
		    
			  
				pls uninstall mq5.2 before installing 5.3. That is recommended by IBM.  That is my suggestion, to avoid the risk factor.
 
 
regards,
 
Tej | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | rajmq | 
		  
		    
			  
				 Posted: Wed Aug 27, 2003 12:12 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Partisan
 
 Joined: 29 Sep 2002 Posts: 331 Location: USA 
  | 
		  
		    
			  
				Hi
 
 
Thanks  for ur Reply
 
 
Backup and Restore went sucessfully(Test Environment).But Again i have one more doubts.
 
 
1.How to find out,No.of objects are Restored??
 
2.While creating the QMGR,it is creating 29 objects (like System Q's).
 
My Restore file also will have same system queue.So which Q's i need to restore??
 
 
regards
 
raj | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Toronto_MQ | 
		  
		    
			  
				 Posted: Wed Aug 27, 2003 7:18 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 10 Jul 2002 Posts: 263 Location: read my name 
  | 
		  
		    
			  
				I've never seen a recommendation to uninstall a previous version of MQ before upgrading, though I've never really looked that hard.  We always just upgrade from 5.2 on all our UNIX platforms, and we've never had a problem.  I would recommend to make sure all the semaphores and shmem segments are cleaned up before upgrading however (this is recommended by IBM).
 
 
As for your question regarding the restore, I find it easiest to pipe the output of runmqsc to a file when importing objects... 
 
 
runmqsc < input_file > output file
 
 
... then you can have a look at the output file, at the very bottom it will tell you how many commands were read, if there were any syntax errors, etc... and if there was a problem you can look through the file to see where the error was.
 
 
Don't worry about the 29 system objects... they're created by default when you create the queue manager.   When you import the objects using the saveqmgr file, it will replace any current def'ns of the same name (if you look in the file you will see the keyword REPLACE after each command).  If you don't want the file to overwrite an existing queue just change this to NOREPLACE.  
 
 
Cheers
 
Steve | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | PeterPotkay | 
		  
		    
			  
				 Posted: Wed Aug 27, 2003 7:37 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 15 May 2001 Posts: 7723
  
  | 
		  
		    
			  
				Most times when I call IBM with an upgrade the problem, the first step they recomend is to uninstall the old version and then install the new version.
 
 
It only takes a few more minutes to do the uninstall anyway. So as a matter of course, I always just go ahead and uninstall the old version first whenever I am upgrading. _________________ Peter Potkay
 
Keep Calm and MQ On | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |