Author |
Message
|
Blomman |
Posted: Mon Jul 09, 2007 1:11 am Post subject: S0000000.LOG |
|
|
Master
Joined: 31 Oct 2006 Posts: 230
|
Hi!
Getting low in disc in active log files directory.
Now my question is:
Is the log S0000000.LOG still needed?? There are 914 logs in the directory and S0000000.LOG is the oldest, can i remove it?? Is it possible that it still is needed seems a bit strange?
From AMQERR01:
Code: |
07/09/07 10:25:44
AMQ7467: The oldest log file required to start queue manager QM is
S0000905.LOG.
EXPLANATION:
The log file S0000905.LOG contains the oldest log record required to restart
the queue manager. Log records older than this may be required for media
recovery.
ACTION:
You can move log files older than S0000905.LOG to an archive medium to release
space in the log directory. If you move any of the log files required to
recreate objects from their media images, you will have to restore them to
recreate the objects.
-------------------------------------------------------------------------------
07/09/07 10:25:44
AMQ7468: The oldest log file required to perform media recovery of queue
manager QM is S0000000.LOG.
EXPLANATION:
The log file S0000000.LOG contains the oldest log record required to recreate
any of the objects from their media images. Any log files prior to this will
not be accessed by media recovery operations.
ACTION:
You can move log files older than S0000000.LOG to an archive medium to release
space in the log directory.
---------------------------------------------
|
/Blomman |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 09, 2007 1:20 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
It's still needed because it's the only log in your system that contains the object information for a media recovery.
Use the rcdmqimg command to replace this image in a current log. You'll find the command fully described in the System Administration guide under Media Recovery, where it also describes the wisdom of doing this periodically as part of a wider back up strategy.
Happy Reading!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Blomman |
Posted: Mon Jul 09, 2007 3:00 am Post subject: |
|
|
Master
Joined: 31 Oct 2006 Posts: 230
|
Vitor wrote: |
It's still needed because it's the only log in your system that contains the object information for a media recovery.
Use the rcdmqimg command to replace this image in a current log. You'll find the command fully described in the System Administration guide under Media Recovery, where it also describes the wisdom of doing this periodically as part of a wider back up strategy.
Happy Reading!  |
Nice reading!
Thx now i understand how it works.
/Blomman |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jul 09, 2007 3:09 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Blomman wrote: |
Vitor wrote: |
It's still needed because it's the only log in your system that contains the object information for a media recovery.
Use the rcdmqimg command to replace this image in a current log. You'll find the command fully described in the System Administration guide under Media Recovery, where it also describes the wisdom of doing this periodically as part of a wider back up strategy.
Happy Reading!  |
Nice reading!
Thx now i understand how it works.
/Blomman |
I hope as well that you are looking at one of the support packs for linear log maintenance. I personally use the java one (Thanks Tim ) (MS0L I believe)
Sorry looks like we can't access the support pack page on IBM right now...
Have Fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Blomman |
Posted: Mon Jul 09, 2007 6:38 am Post subject: |
|
|
Master
Joined: 31 Oct 2006 Posts: 230
|
fjb_saper wrote: |
Blomman wrote: |
Vitor wrote: |
It's still needed because it's the only log in your system that contains the object information for a media recovery.
Use the rcdmqimg command to replace this image in a current log. You'll find the command fully described in the System Administration guide under Media Recovery, where it also describes the wisdom of doing this periodically as part of a wider back up strategy.
Happy Reading!  |
Nice reading!
Thx now i understand how it works.
/Blomman |
I hope as well that you are looking at one of the support packs for linear log maintenance. I personally use the java one (Thanks Tim ) (MS0L I believe)
Sorry looks like we can't access the support pack page on IBM right now...
Have Fun  |
Yepp im using "Logmanager" due i have modified it a lot but works fine.
/Blomman |
|
Back to top |
|
 |
Blomman |
Posted: Mon Jul 09, 2007 10:49 pm Post subject: |
|
|
Master
Joined: 31 Oct 2006 Posts: 230
|
I have another Qmanager, that was created with linear logging, but i have changed it to circular in the qm.ini file and restarted the qmanager, but still it performs linear logging, any ideas??
/Blomman |
|
Back to top |
|
 |
Carl Bloy |
Posted: Mon Jul 09, 2007 11:45 pm Post subject: |
|
|
Acolyte
Joined: 16 Dec 2003 Posts: 69 Location: England
|
You'll need to delete and re-create the queue manager to change the Logging type. _________________ Regards
Carl |
|
Back to top |
|
 |
Blomman |
Posted: Tue Jul 10, 2007 11:17 pm Post subject: |
|
|
Master
Joined: 31 Oct 2006 Posts: 230
|
Carl Bloy wrote: |
You'll need to delete and re-create the queue manager to change the Logging type. |
Ok i thought all u needed was an restart...
Thx.
/Blomman |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jul 11, 2007 6:50 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Blomman wrote: |
Carl Bloy wrote: |
You'll need to delete and re-create the queue manager to change the Logging type. |
Ok i thought all u needed was an restart...
Thx.
/Blomman |
Nope. It's in the documentation: To change the log type or the log file size you need to delete and recreate the qmgr.... Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|