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 » Recovery of damged object

Post new topic  Reply to topic Goto page 1, 2  Next
 Recovery of damged object « View previous topic :: View next topic » 
Author Message
jim
PostPosted: Tue Nov 26, 2013 2:10 pm    Post subject: Recovery of damged object Reply with quote

Voyager

Joined: 26 Nov 2013
Posts: 94

How to recover a damaged system MQ object in linear logging But the backup log required for the recovery is not stored.

Folks Could you please advice on it.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Nov 26, 2013 2:38 pm    Post subject: Re: Recovery of damged object Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

jim wrote:
How to recover a damaged system MQ object in linear logging But the backup log required for the recovery is not stored.


Do you mean that the linear log file needed for the restore (and indicated by the queue manager in the log) has been removed?

jim wrote:
Folks Could you please advice on it.


Find the missing file. It's as easy as that. Look on system level backups.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Nov 26, 2013 2:39 pm    Post subject: Re: Recovery of damged object Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

jim wrote:
How to recover a damaged system MQ object in linear logging But the backup log required for the recovery is not stored.

Folks Could you please advice on it.

Care to explain the part saying: but the backup log required for the recovery is not stored? How do you do archiving of the linear logs?

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jim
PostPosted: Tue Nov 26, 2013 2:45 pm    Post subject: Re: Recovery of damged object Reply with quote

Voyager

Joined: 26 Nov 2013
Posts: 94

Vitor wrote:
jim wrote:
How to recover a damaged system MQ object in linear logging But the backup log required for the recovery is not stored.


Do you mean that the linear log file needed for the restore (and indicated by the queue manager in the log) has been removed?

yes

jim wrote:
Folks Could you please advice on it.


Find the missing file. It's as easy as that. Look on system level backups.


can we recreate the damage object
Back to top
View user's profile Send private message
jim
PostPosted: Tue Nov 26, 2013 2:53 pm    Post subject: Re: Recovery of damged object Reply with quote

Voyager

Joined: 26 Nov 2013
Posts: 94

fjb_saper wrote:
jim wrote:
How to recover a damaged system MQ object in linear logging But the backup log required for the recovery is not stored.

Folks Could you please advice on it.

Care to explain the part saying: but the backup log required for the recovery is not stored? How do you do archiving of the linear logs?

Have fun


We take the backup of the logs but script automatically remove the logs after 3 days
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Nov 26, 2013 4:17 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Delete the object; then redefine it.
_________________
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
jim
PostPosted: Tue Nov 26, 2013 4:32 pm    Post subject: Reply with quote

Voyager

Joined: 26 Nov 2013
Posts: 94

bruce2359 wrote:
Delete the object; then redefine it.


or

Which is the better option
To start the Queue manager with strmqm -c QMGR or redefine the queue.

Kindly advice on it.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Nov 26, 2013 5:42 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Did you read the syntax to see exactly what the -c switch would do for/to you:

Quote:
-c
Start of change Starts the queue manager, redefines the default and system objects, then stops the queue manager. Any existing system and default objects belonging to the queue manager are replaced if you specify this flag, and any non-default system object values will be reset (for example, the value of MCAUSER is set to blank).

Are you saying that one of your SYSTEM. objects become corrupted?
_________________
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
gbaddeley
PostPosted: Tue Nov 26, 2013 7:32 pm    Post subject: Re: Recovery of damged object Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

Quote:
We take the backup of the logs but script automatically remove the logs after 3 days

Linear log files should be removed when messages in the MQ error log say that they are no longer required for media recovery, not after any number of days.
_________________
Glenn
Back to top
View user's profile Send private message
jim
PostPosted: Wed Nov 27, 2013 4:23 am    Post subject: Reply with quote

Voyager

Joined: 26 Nov 2013
Posts: 94

bruce2359 wrote:
Did you read the syntax to see exactly what the -c switch would do for/to you:

Quote:
-c
Start of change Starts the queue manager, redefines the default and system objects, then stops the queue manager. Any existing system and default objects belonging to the queue manager are replaced if you specify this flag, and any non-default system object values will be reset (for example, the value of MCAUSER is set to blank).

Are you saying that one of your SYSTEM. objects become corrupted?


yes. system object got corrupted.

If we use the -c flag it will reset non-default system object values.

Then I guess we should not go for it in critical env


Last edited by jim on Wed Nov 27, 2013 4:28 am; edited 1 time in total
Back to top
View user's profile Send private message
jim
PostPosted: Wed Nov 27, 2013 4:25 am    Post subject: Re: Recovery of damged object Reply with quote

Voyager

Joined: 26 Nov 2013
Posts: 94

gbaddeley wrote:
Quote:
We take the backup of the logs but script automatically remove the logs after 3 days

Linear log files should be removed when messages in the MQ error log say that they are no longer required for media recovery, not after any number of days.


yes we do archiving of the log using the error log and the backup log is deleted after 3 day
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Nov 27, 2013 6:11 am    Post subject: Re: Recovery of damged object Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

jim wrote:

yes we do archiving of the log using the error log and the backup log is deleted after 3 day


Wrong. You need to use one of the support packs for archiving linear logs. Look at support pack MS0L...

No wonder nothing works if you arbitrarily delete logs after x days. Do you run rcdmqimg regularly?

Methinks you need to review in the documentation how linear logs work.


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jim
PostPosted: Wed Nov 27, 2013 6:39 am    Post subject: Re: Recovery of damged object Reply with quote

Voyager

Joined: 26 Nov 2013
Posts: 94

fjb_saper wrote:
jim wrote:

yes we do archiving of the log using the error log and the backup log is deleted after 3 day


Wrong. You need to use one of the support packs for archiving linear logs. Look at support pack MS0L...

No wonder nothing works if you arbitrarily delete logs after x days. Do you run rcdmqimg regularly?

Methinks you need to review in the documentation how linear logs work.




Archiving are done by taking BACKUP of the Queue Manager Log Files that are no longer needed for recovery using AMQ7467 or AMQ7468 but script delete the BACKUP LOGS after 3 days.

If we use the -c flag it will reset non-default system object values.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Nov 27, 2013 6:51 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Exactly which SYSTEM. object? What are you using it for?

SYSTEM. objects are used mostly as templates for creation of non-system (user) objects.
_________________
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
JosephGramig
PostPosted: Wed Nov 27, 2013 7:11 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

The strmqm -c will try to REPLACE the object and will fail because the object is damaged. Delete it and redefine it. Do a SAVEQMGR on another Qmgr to get the syntax if you need.

Then do as fjb_saper told you to do and use the sPac to do the backup correctly. The fact that a required log is missing at a time of need indicates whatever you are doing is incorrect.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General IBM MQ Support » Recovery of damged object
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.