Author |
Message
|
muralidhar |
Posted: Wed May 15, 2002 9:40 am Post subject: Recovery of MQSeries Objects |
|
|
 Acolyte
Joined: 28 Feb 2002 Posts: 50
|
Hi All,
I have few questions about recording and recovery of MQSeries Objects(MQSeries V5.2 on Win NT). We are using circular logging and from the MQSeries admin guide I found we can record MQ Objects using rcdmqimg command.
1) Is it sufficient if we record image of QManager or do we need to record all queues, processes etc independently ?
2) If we record only QMgr, can we recover only one queue or process using rcrmqobj ?
3) Can we look at the image created when we run rcdmqimg ?
4) When using circular logging, what are the other options for recovery ?
5) Is anyone using circular logging in production environment ?
Thanks in advance,
Murali |
|
Back to top |
|
 |
Bala |
Posted: Wed May 15, 2002 11:20 pm Post subject: |
|
|
Novice
Joined: 14 May 2002 Posts: 12 Location: Chennai, India
|
For recording and recovery of objects you can do on both circular and linear logging.
But when you use rcdimgcmd here you will have to use a linear logging as Image recovery is only possible in linear logging.
1) Is it sufficient if we record image of QManager or do we need to record all queues, processes etc independently ?
You can create a back up for Qmgr alone. For Queues you need to create a script file that when run creates all the queues.
If you want to create a back up of the Qmgr go to regedit, software, IBM , Qmgr name .. here you will find the Qmgr and its attributes save it and run it again.
2) If we record only QMgr, can we recover only one queue or process using rcrmqobj ?
For Qmgr the answer is above. No you cannot recorver queues Using a Queue manager.
3)Can we look at the image created when we run rcdmqimg ?
No you cannot you can only see the queue when you recover the image.
4)When using circular logging, what are the other options for recovery ?
circular logging has only one advantage your log files will never be full but then it is not a good practise as you will not be able to get a complete backup .
5) Is anyone using circular logging in production environment ?
No i have not
Regards,
Bala.V _________________ IBM Certified Specialist MQSeries. |
|
Back to top |
|
 |
bgoldstein |
Posted: Tue May 21, 2002 6:11 am Post subject: Why do a media recovery? |
|
|
Novice
Joined: 14 Feb 2002 Posts: 19 Location: Ameren Services, St.Louis,Mo., USA
|
Why would you ever need to do a media recovery? I have been supporting mqseries for almost a year and I have never seen any type of corruption of the qmgr objects that required me to do this. I use saveqmgr to get a text based image of the objects. I also get backups of the files in the filesystem. Does media recovery give me anything that I can't get using these backups?
Maybe I'm not thinking this through all of the way. Does anyone have any media recovery stories?
I have some boxes that are hands-off kind of boxes. The admins want some way of automatically managing the space used by the log files. I am thinking that circular logging is probably the best way to do this.
If I use circular logging then what can I do to mitigate the loss of media recovery? _________________ +
| Barry Goldstein
| Ameren Services
| Saint Louis, Missouri
| bgoldstein@ameren.com
| (314) 554-4351
+ |
|
Back to top |
|
 |
mrlinux |
Posted: Tue May 21, 2002 6:52 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
I have been working with MQSeries for 4 yrs and the only type of logging we have used on the ditributed side is circular. It provides for faster restarts from crashes, as far as media issues we never had any, our system use EMC disk array so a media failure is not an issue.
We have had issues with not being able to create enough log space prior
to v5.2 of MQSeries _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
jhalstead |
Posted: Wed May 22, 2002 5:06 am Post subject: |
|
|
 Master
Joined: 16 Aug 2001 Posts: 258 Location: London
|
If you run fastpath applications can cause corruption can't it?
At least this is warned of in the manuals.
If a rogue user decides to delete the queue files then this would probably do for any messages resident on queues. However if someones decides to delete the queue files they'll probably also do the log files.
Jamie |
|
Back to top |
|
 |
Mike.WG.Moody |
Posted: Wed May 22, 2002 5:55 am Post subject: |
|
|
 Newbie
Joined: 16 Dec 2001 Posts: 7
|
Jamie - I would never do that to your objects!
And as I told you if I did I would do the logs as well.
On a more serious note all of our current queue managers here at British Airways use circular logging - most of the data flowing through MQSeries queues can either be reproduced or has a limited time of validity.
We are now introducing some queue managers with linear logging so any
hints and tips would be welcomed. I've already got MS62 and written some scripts around it but some examples of practical experiences would be appreciated. |
|
Back to top |
|
 |
|