Author |
Message
|
vandi |
Posted: Thu Feb 19, 2009 2:40 pm Post subject: Linear logs |
|
|
Acolyte
Joined: 13 Dec 2008 Posts: 67
|
Hi All,
I have a basic doubt regarding Linear Logs. In the documention I read that
Quote: |
Media images can be recorded manually, using the rcdmqimg command, or automatically in some circumstances.
If you do not take regular media images of the objects that you want to re-create, you might have insufficient disk space to hold all the log files required to re-create an object. |
Does the media recovery starts automatically when a Queue Manager and its objects are created ? or Until we do it using rcdmqimg?
For example if I take backup twice a week, will the last backup details would be overridden by the new image contents? Is this way the disk space not going to be effected?
Pls clarify
Thanks
Vandi
[/quote] |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Feb 19, 2009 3:30 pm Post subject: Re: Linear logs |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
vandi wrote: |
Hi All,
I have a basic doubt regarding Linear Logs. In the documention I read that
Quote: |
Media images can be recorded manually, using the rcdmqimg command, or automatically in some circumstances.
If you do not take regular media images of the objects that you want to re-create, you might have insufficient disk space to hold all the log files required to re-create an object. |
Does the media recovery starts automatically when a Queue Manager and its objects are created ? or Until we do it using rcdmqimg?
For example if I take backup twice a week, will the last backup details would be overridden by the new image contents? Is this way the disk space not going to be effected?
Pls clarify
Thanks
Vandi
|
You are getting confused with circular logging. Linear logging never overwrites. It just keeps creating the next log. This way you may run out of space is you need all the logs since log #0000 for media recovery.
Taking a checkpoint allows the system to offload the long running transactions from oldlogs and log them in the latest logfiles allowing you to archive older logs that are no longer needed. (see support pack MS0L and others)
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
vandi |
Posted: Thu Feb 19, 2009 5:14 pm Post subject: Re: Linear logs |
|
|
Acolyte
Joined: 13 Dec 2008 Posts: 67
|
Quote: |
Does the media recovery starts automatically when a Queue Manager and its objects are created ? or Until we do it using rcdmqimg? |
Pls clarify
Thanks
Vandi[/quote] |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Feb 19, 2009 6:35 pm Post subject: Re: Linear logs |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
vandi wrote: |
Quote: |
Does the media recovery starts automatically when a Queue Manager and its objects are created ? or Until we do it using rcdmqimg? |
Pls clarify
Thanks
Vandi |
So apply some common down to earth good sense. What does the documentation tell about Linear logging? You set it when you CREATE the qmgr....  _________________ MQ & Broker admin |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Feb 19, 2009 6:57 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
For example if I take backup twice a week... |
Backup what? What kind of backup?
Please read the WMQ System Admin manual section on Recovery. Logs are required.
Rcdmqimg and rcrmqobj are two control programs that allow you to make a copy of an object on linear logs in the event that you need to recreate the object from the copy on the log. This facility is not available with circular logs. _________________ 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 |
|
 |
vandi |
Posted: Thu Feb 19, 2009 7:33 pm Post subject: Re: Linear logs |
|
|
Acolyte
Joined: 13 Dec 2008 Posts: 67
|
Hi,
I have gone thru the documentation and it says as below
Quote: |
Media images can be recorded manually, using the rcdmqimg command, or automatically in some circumstances |
So, I was confused. with the above statement. In what circumstances does it record automatically?
Thanks[/quote] |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Feb 19, 2009 10:50 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
I have gone thru the documentation |
What documentation? When you quote something, please cite the reference. _________________ 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 |
|
 |
MQEnthu |
Posted: Fri Feb 20, 2009 1:21 am Post subject: |
|
|
 Partisan
Joined: 06 Oct 2008 Posts: 329 Location: India
|
Vandi wrote: |
I have gone thru the documentation and it says as below
Quote:
Media images can be recorded manually, using the rcdmqimg command, or automatically in some circumstances
So, I was confused. with the above statement. In what circumstances does it record automatically? |
When the queue manager is shutdown normally using ENDMQM with ENDCCTJOB(*YES) option, the media images recording will happen automatically. But if you want do immidiate shutdown media recording will not be done. And you can turn on the media images recording manually using the command "rcdmqimg"... _________________ -----------------------------------------------
It is good to remember the past,
but don't let past capture your future |
|
Back to top |
|
 |
|