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 » General IBM MQ Support » Linear logs

Post new topic  Reply to topic
 Linear logs « View previous topic :: View next topic » 
Author Message
vandi
PostPosted: Thu Feb 19, 2009 2:40 pm    Post subject: Linear logs Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 19, 2009 3:30 pm    Post subject: Re: Linear logs Reply with quote

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
View user's profile Send private message Send e-mail
vandi
PostPosted: Thu Feb 19, 2009 5:14 pm    Post subject: Re: Linear logs Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 19, 2009 6:35 pm    Post subject: Re: Linear logs Reply with quote

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
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Thu Feb 19, 2009 6:57 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9470
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
View user's profile Send private message
vandi
PostPosted: Thu Feb 19, 2009 7:33 pm    Post subject: Re: Linear logs Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Thu Feb 19, 2009 10:50 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9470
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
View user's profile Send private message
MQEnthu
PostPosted: Fri Feb 20, 2009 1:21 am    Post subject: Reply with quote

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
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 » General IBM MQ Support » Linear logs
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.