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 Discussion » REcovery steps for saveqmgr

Post new topic  Reply to topic
 REcovery steps for saveqmgr « View previous topic :: View next topic » 
Author Message
rajeshdjsmart
PostPosted: Fri Mar 14, 2008 5:34 am    Post subject: REcovery steps for saveqmgr Reply with quote

Apprentice

Joined: 05 Mar 2008
Posts: 30

Hi Experts,

Good Morning...

Success!!!

I was able to save the objects and queues and all the queue manager defination from saveqmgr.

Now...The thing is How do you recover the queue manager files in case of Failure using savqmgr?

Thanks,
Raj.
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Mar 14, 2008 7:40 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

As has been pointed out in previous replies to your posts - you don't!

The 'saveqmgr' utility is purely for taking a back up of queue manager objects and attributes, and authorities too in v6.

It does not back up queue files, or messages, or anything else - that is up to how your site mandates recovery.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
rajeshdjsmart
PostPosted: Fri Mar 14, 2008 8:00 am    Post subject: We have TSM for file backup Reply with quote

Apprentice

Joined: 05 Mar 2008
Posts: 30

Thanks for the reply,

We are using TSM for file system backup.

And it saves all the queue manager logs and control files.

Is it enough for the backup point of view?

And saveqmgr is running every day for all the active queue managers
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Mar 14, 2008 8:16 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

As (I believe - apologies if I'm wrong) Jeff Lowrey has pointed out many times, any back-up of a queue manager is only a snapshot of a particular point in time, no matter how good the back-up regime.

Consider the scenario:

You back up a queue manager at 12:00 each day, but one day after the back-up, almost immediately after restart it receives 5000+ messages then crashes irrecoverably - logs trashed etc. You restore the back-up but...what of the 5000+ unprocessed messages that were in the queue manager?

As regards saveqmgr I have found it to be an invaluable tool for rapid rebuild/cloning of queue managers. I suggest you use it for the same and stop thinking of it as a file/message recovery medium.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
rajeshdjsmart
PostPosted: Fri Mar 14, 2008 8:53 am    Post subject: I would ike to share something Reply with quote

Apprentice

Joined: 05 Mar 2008
Posts: 30

AS per the MQSeries Administrator Guide for V6


WMQ automatically recovers some objects from their media image if it finds that they are corrupt or damaged. In particular, this applies to objects found to be damaged during the normal queue manager startup. If any transaction was incomplete when the queue manager last shutdown, any queue affected is also recovered automatically in order to complete the startup operation.

And the Transaction which are not commited are rolled back..

If any damaged local queues containing uncommitted messages are discovered during startup processing on a queue manager that does not support media recovery, the queues are marked as damaged objects and the uncommitted messages on them are ignored. This is because it is not possible to perform media recovery of damaged objects on such a queue manager and the only action left is to delete them. Message AMQ7472 is issued to report any damage. Is this correct?

Or we are missing something here?
_________________
save the world...Kill your self...
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Mar 14, 2008 9:00 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

No, nothing is being missed; as the Guide states, media recovery is only available to a queue manager that has been configured for it.

As to how that configuration is achieved, I'll leave you to figure it out
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
rajeshdjsmart
PostPosted: Fri Mar 14, 2008 9:54 am    Post subject: Reply with quote

Apprentice

Joined: 05 Mar 2008
Posts: 30


Got it!!!
_________________
save the world...Kill your self...
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 Discussion » REcovery steps for saveqmgr
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.