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 » IBM MQ Performance Monitoring » Image recovery log files using "rcdmqimg" command

Post new topic  Reply to topic
 Image recovery log files using "rcdmqimg" command « View previous topic :: View next topic » 
Author Message
jgopireddy
PostPosted: Tue Nov 25, 2008 10:05 am    Post subject: Image recovery log files using "rcdmqimg" command Reply with quote

Newbie

Joined: 25 Nov 2008
Posts: 3

Hi,

I am using ---rcdmqimg -m $QMGR -t all '*'--- command for recording media image of queue manager: $QMGR.

After this command execution i am executing the below perl script for cleaning the log files.
/export/home/mqm/scripts/cleanmqlogs.pl -u $QMGR $QMGR_TOP $QMGR_LOG.

the problem i am facing is most of the times the log files are not cleaning in the first couple of execution , but if we run the above two commands couple of times say 5 times then the log files are getting cleaned.

Can any one suggest me any script or any procedure for unlink the old log files.

Thanks in advance.

-Jeevs.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Nov 26, 2008 1:37 am    Post subject: Re: Image recovery log files using "rcdmqimg" comm Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

jgopireddy wrote:
Can any one suggest me any script or any procedure for unlink the old log files.


I can suggest you don't double post - it's considered rude!

You say you run "some perl script" - what Perl script? Written yourself or sourced from where? Is it a script from the IBM support pac? When the logs don't get deleted what error messages (if any) do you receive? How did you arrive at the "running 5 times thing"? What have you already done to debug the script? What makes you think the log files are "linked"? Linked to what?

An alternative procedure is to obtain the relevant log numbers from the queue manager and remove the files yourself
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Nov 26, 2008 9:57 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

There is nothing wrong with the archive process having nothing to archive.
This is why your active logs expand and contract. If you ran the process every hour, you would not expect to have archivable data every hour would you?

Typically, as long as the rcdmqimg does not free an active file or a file needed for media recovery, there is nothing to archive. Beware of long running transactions.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jgopireddy
PostPosted: Mon Dec 01, 2008 7:05 am    Post subject: Image recovery log files using "rcdmqimg" command Reply with quote

Newbie

Joined: 25 Nov 2008
Posts: 3

I am using the perl script provided by IBM support pac.
I am not seeing any error message when the log files don't get deleted.
Running multiple times the same script we could see change in number of log files , there is no limit as 5 times.
When the log file is getting cleaned i can see the message as UNLINK the log file name.


Thanks
Jeevan
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Performance Monitoring » Image recovery log files using "rcdmqimg" command
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.