Author |
Message
|
rsk33 |
Posted: Wed Nov 28, 2007 4:37 am Post subject: Mq Log |
|
|
Centurion
Joined: 21 Aug 2006 Posts: 141
|
HI,
we have MQ in AIX machine. I have observed MQ log in /tmp/mqlog/active
is growing day by day and space is limited. what are the precautions that i need to take to clean old log files.Your help is highly appriciated.
regards |
|
Back to top |
|
 |
Vitor |
Posted: Wed Nov 28, 2007 4:49 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
I'm guessing you mean that the number of files in the folder is growing day by day. This indicates you've got linear logging switched on and need to remove the redundant log files to tape or similar.
You'll find the process described in the System Admin file and there's a support pac who's name escapes me for the moment that will help you automate the process with scripts.
If my guess is wrong, please accept my apologies and rephrase your question. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
JosephGramig |
Posted: Wed Nov 28, 2007 5:32 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Your log files are on /tmp
Nothing good can come of this. All files on /tmp are there because they can (and probably will) be deleted.
I would not deviate from the default directory structure IBM gives you. It will increase support and maintenance cost and increase the time it takes to resolve problem. _________________ Joseph
Administrator - IBM WebSphere MQ (WMQ) V6.0, IBM WebSphere Message Broker (WMB) V6.1 & V6.0
Solution Designer - WMQ V6.0
Solution Developer - WMB V6.1 & V6.0, WMQ V5.3 |
|
Back to top |
|
 |
rsk33 |
Posted: Wed Nov 28, 2007 5:47 am Post subject: |
|
|
Centurion
Joined: 21 Aug 2006 Posts: 141
|
hi all,
Thanks for the reply. I have not deviated the IBM structure. The actual logging /var/mqm is there. i am using circular logging. i have no issue
with the logs in /var/mqm. I suppose the mq is using temparary space /tmp/mqlog/active directory. i want to be cautious to delete the files in /tmp/mqlog/active directory.
regards |
|
Back to top |
|
 |
Vitor |
Posted: Wed Nov 28, 2007 5:53 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
rsk33 wrote: |
I suppose the mq is using temparary space /tmp/mqlog/active directory. i want to be cautious to delete the files in /tmp/mqlog/active directory.
|
I wouldn't suppose that. If MQ needs more space it'll use the /var/mqm path. Or should.
What files are these in /tmp? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Nov 28, 2007 5:54 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Vitor wrote: |
What files are these in /tmp? |
What is the name of these? Do you have any MQ exits installed? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
rsk33 |
Posted: Wed Nov 28, 2007 6:10 am Post subject: |
|
|
Centurion
Joined: 21 Aug 2006 Posts: 141
|
Thanks for your reply..
i have identified one crantab is taking backup of active log directory every day. thanks all.
regards |
|
Back to top |
|
 |
Vitor |
Posted: Wed Nov 28, 2007 6:13 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
rsk33 wrote: |
i have identified one crantab is taking backup of active log directory every day. thanks all.
|
With circular logging, there's not a vast amount of value in that.....  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
rsk33 |
Posted: Wed Nov 28, 2007 6:22 am Post subject: |
|
|
Centurion
Joined: 21 Aug 2006 Posts: 141
|
In fact the backup is setup to trace persistance messages to some extent to confirm the messages are reached to the system. since circular logging the logs are rewritten for every 4 hours depends upon the traffic. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Nov 28, 2007 6:33 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
If you're trying to track the progress & delivery of persistent messages there are a number of better ways. Search the forum. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|