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 IndexGeneral Discussionrcrmqimg command for recovery?

Post new topicReply to topic
rcrmqimg command for recovery? View previous topic :: View next topic
Author Message
rajeshdjsmart
PostPosted: Fri Mar 14, 2008 6:12 am Post subject: rcrmqimg command for recovery? Reply with quote

Apprentice

Joined: 05 Mar 2008
Posts: 30

Hi Experts,

THe only thing remaining is the rcrmqimg is the only thing we have to do it while recoverying the queue manager?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Mar 14, 2008 6:54 am Post subject: Reply with quote

Poobah

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

Visit IBM Redbooks, download and read MQSeries Backup and Recovery. Next, I'd suggest reading the Recovery and Restart section of the WMQ System Administration manual.

The record mq object and recover mq image control commands have some use for recording and recovering mq object images to the logs; but if your logs are damaged or lost, you have nothing to recover from.
_________________
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
rajeshdjsmart
PostPosted: Fri Mar 14, 2008 7:13 am Post subject: Recovery Reply with quote

Apprentice

Joined: 05 Mar 2008
Posts: 30

Thanks for the help I did made some recovery steps using the MQSereis Backup/Restore IBM Book. Is it ok? Please check it.

Recovery of a Queue Manager:


To restore a queue manager:

(a) Stop all channels.
(b) Shut down the queue manger.
(c) Archive the current logs.
(d) Restore the queue manager files
(e) Restart the queue manager.
(f) Start the channels.
(g) If necessary, re-synchronize the channels.



Recovery of a Queue

Prerequisites:

The queue manager must be running.

Example:

Recover the queue “ORANGE!QUEUE” of queue manager “venus!queue!manager” using media recovery:

rcrmqobj -m venus!queue!manager -t q ORANGE!QUEUE

Error Code: AMQ8149
If you get the message ″AMQ8149 MQSeries object damaged″, perform a media recovery for this object.

The command rcrmqobj is used to re-create application or system queues.

Prerequisites:

1. Queue Manager must be running.
2. An image has been recorded in the log.

For example:
• Media recovery of all queues of the queue manager venus!queue!manager:

rcrmqobj -m venus!queue!manager -t q SYST*
rcrmqobj -m venus!queue!manager -t q venus!queue!manager*

• Media recovery all local queues of queue manager venus!queue!manager:

rcrmqobj -m venus!queue!manager -t ql venus!queue!manager*

• Media recovery of all remote queues of queue manager venus!queue!manager:

rcrmqobj -m venus!queue!manager -t qr venus!queue!manager*

• Media recovery of all alias queues of queue manager venus!queue!manager:

rcrmqobj -m venus!queue!manager -t qa venus!queue!manager*

• Media recovery of all model queues of the queue manager venus!queue!manager:

rcrmqobj -m MQ61 -t qm MQ61*

Recovery of synchronization file

Instructions:

The command rcrmqobj is used to re-create the channel synchronization file.

Prerequisites:

This command must be used when the queue manager is running and after an image was recorded in the log.


Example
Recover the channel synchronization file:

rcrmqobj -m QM_NAME -t syncfile amqrsyna.dat

Error Code AMQ9556

If you get the message ″AMQ9556 Channel synchronization file missing or damaged″, perform a media recovery for this system file.

1. Stop all channels.

2. End the queue manager.

3. Restart the queue manager.

4. Perform media recovery with the command:

rcrmqobj -m QM_NAME -t syncfile amqrsyna.dat

5.Start the channels.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Mar 14, 2008 7:20 am Post subject: Reply with quote

Poobah

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

What is your objective? What type of recovery are you trying to accomplish?

Some things to think about:

If you have a physically damaged disk, then you must recover (reinstall) the o/s, wmq software, your object definitions.

If the mq filepath becomes damaged, these control commands will likely not help you because control commands execute on a healthy qmgr with good 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
rajeshdjsmart
PostPosted: Fri Mar 14, 2008 7:57 am Post subject: Reply with quote

Apprentice

Joined: 05 Mar 2008
Posts: 30

Following points to be consider for recovery:

The Queue manager is Linear type.

1.Disk Drive Failures

After reinstalling the OS

And using the last point in time recovery backup the queue manager data. And then using the rcrmqobj to recover the objects and massages..(keeping mind that there would be some massages which are not recoverable).

2.Damaged Queue Manager object.

Using the media recovery..

3.Damaged single object

Using the Media recovery.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Mar 14, 2008 8:05 am Post subject: Reply with quote

Poobah

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

Quote:
After reinstalling the OS

And using the last point in time recovery backup the queue manager data. And then using the rcrmqobj to recover the objects and massages..(keeping mind that there would be some massages which are not recoverable).


What do you intend to use as the "last point in time recovery backup the queue manager data?" What and how are you going to backup "queue manager data?"

Your queue manager(s) are contained in sub-folders down the WMQ filepath. This is documented in the System Admin manual.
_________________
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
rajeshdjsmart
PostPosted: Fri Mar 14, 2008 9:53 am Post subject: Thanks for the reply Reply with quote

Apprentice

Joined: 05 Mar 2008
Posts: 30

GOt IT!!!
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral Discussionrcrmqimg command for recovery?
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.