| Author | 
		  Message
		 | 
		
		  | neocruz | 
		  
		    
			  
				 Posted: Thu Nov 13, 2008 7:47 am    Post subject: Very Large Gap btwn Logs for Qmgr Restart and Media Recovery | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 13 Jun 2004 Posts: 54
  
  | 
		  
		    
			  
				Good Day All.  I'm new to an upgrade project and upon completing an initial assessment, I've discovered one Qmgr that has an 8,000 log difference between logs that are needed for Media Recovery and Qmgr Restart.
 
 
I've executed " rcdmqimg -l -m **** -t all * " for about a week with the required logs for Media Recovery not changing.
 
 
Also, the person that was "taking care of MQ" is using a script that simply deletes everything older than what is needed for Qmgr Restart.  So there's no Media Recovery logs at this time.
 
=============
 
 
The oldest log file required to start queue manager qmgr is S0281413
 
The oldest log file required to perform media recovery of queue manager qmgr is
 
S0272499
 
 
=============
 
 
I've never seen this before so are there any ideas out there?
 
 
Win 2000 sp4
 
MQ V5.3 csd 13
 
 
Thanks,
 
Rich | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Thu Nov 13, 2008 8:20 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				Do you really mean -m *, or is that just for security in this thread? _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | neocruz | 
		  
		    
			  
				 Posted: Thu Nov 13, 2008 8:44 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 13 Jun 2004 Posts: 54
  
  | 
		  
		    
			  
				| Ahhh. My mistake for not mentioning the asterisks.  That is for security. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Thu Nov 13, 2008 1:47 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				Could you have any old unresolved transactions on the qmgr?
 
Do you get something if you run dspmqtrn ? 
 
Don't know how 5.3 behaves at CSD13... at CSD11 it behaves fine...
 
 
Any FCD's being cut?
 
Can you bounce the qmgr?   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Thu Nov 13, 2008 2:19 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 Location: US: west coast, almost. Otherwise, enroute. 
  | 
		  
		    
			  
				I'd guess that someone, way back during log file S0272499, did a record image (rcdmqimg) command.  Rcdmqimg is used to record object image(s) for media recovery.  These images are written to the logs; and can be recovered with the rcrmqobj command. _________________ I like deadlines. I like to wave as they pass by.
 
ב''ה
 
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Thu Nov 13, 2008 9:36 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				Bruce, looks like you missed this line:
   
	| Quote: | 
   
  
	I've executed " rcdmqimg -l -m **** -t all * " for about a week with the required logs for Media Recovery not changing.
 
 
 | 
   
 
 
 
on the odd chance does something change if you issue the command like this:
 
   
	| Code: | 
   
  
	| rcdmqimg -l -m YOURQMGR -t all \* | 
   
 
 
Note the backslash before the star     _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | rgprasanna | 
		  
		    
			  
				 Posted: Thu Nov 13, 2008 10:29 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Voyager
 
 Joined: 02 May 2007 Posts: 91 Location: Chennai - India 
  | 
		  
		    
			  
				three months back, when i observed a considerable gap between log files required for restart and media recovery..i have executed the rcdmqimg command to record the media image of all the mq objects...even after that, the gap persists...finally i bounce the queue manager and executed the rcdmqimg, now the log file required for restart and media recovery close enough.. _________________ Prasanna | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |