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 » rcdmqimg and stopping channels

Post new topic  Reply to topic
 rcdmqimg and stopping channels « View previous topic :: View next topic » 
Author Message
phitchman
PostPosted: Tue Jun 24, 2003 8:45 am    Post subject: rcdmqimg and stopping channels Reply with quote

Novice

Joined: 14 Mar 2003
Posts: 14
Location: London

Hi,
We have been getting to grips with backups. According to the MQSeries Backup and Recovery book the queue managers channels should be stopped before running the rcdmqimg command, but it does not explain why. Is this actually necessary and if so why?

Thanks

Pete
_________________
P.J. Hitchman
Back to top
View user's profile Send private message Send e-mail
mqonnet
PostPosted: Tue Jun 24, 2003 11:53 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

I believe the reason is when you run RCDMQIMG, and it tries to record an image of an object off your queue manager but finds that the queue is in use it fails. And hence to avoid such failover situations you should end your channels. Because the transmission queues are always opened by the mca.

Hope this helps.

Cheers
Kumar
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PeterPotkay
PostPosted: Tue Jun 24, 2003 11:58 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Kumar, I was thinking the same thing, but the Sys Admin Guide says that this command can be issued against a running QM, which to me indicates messages going in and out of queues. Maybe stopping the channels helps lower the amount of change during the run of the command?


Code:

rcdmqimg (record media image)

Purpose

Use the rcdmqimg command to write an image of an object, or group of objects, to the log for use in media recovery. Use the associated command rcrmqobj to recreate the object from the image.

You use this command with an active queue manager. Further activity on the queue manager is logged so that, although the image becomes out of date, the log records reflect any changes to the object.

_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
mqonnet
PostPosted: Tue Jun 24, 2003 1:00 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Peter you are right. I was thinking about rcrmqobj instead. Even though the validation seemed appropriate, it still needs substasive backup.

Which leads to the question of where is the mention of "channels asked to stop" while running rcdmqimg. I dont see any reference anywhere. May be i am missing it.

Recording an image itself means that it has no bearing on any object openers and the same goes with the MCA as well. Hence i would go back to my question and that is, where is the doc that says so.

Cheers
Kumar
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jhalstead
PostPosted: Wed Jun 25, 2003 12:45 am    Post subject: Reply with quote

Master

Joined: 16 Aug 2001
Posts: 258
Location: London

To echo the preceding comments, it makes sense to me. By using rcdmqimg we're taking a shapshot of the contents of the queues and writing this to the linear log files. If the channels are up and running messages could leave the qmgr or messages could arrive. So this is the best practice and cleanest way of doing it.

At the end of the day you're using linear logging for a reason - i.e. wanting the absolutely best chance of being able to recover messages if an object becomes damaged. As there is no doubt a compelling business reason for this I wouldn't take and chances and I'd shut down the channels & stop any MQSeries application which interact with the queue before doing a rcdmqimg.

Ta

Jamie
Back to top
View user's profile Send private message Send e-mail
phitchman
PostPosted: Wed Jun 25, 2003 3:36 am    Post subject: Reply with quote

Novice

Joined: 14 Mar 2003
Posts: 14
Location: London

Hi,
The document I read about shutting down the channels before doing a rcdmqimg is this one:
http://www.redbooks.ibm.com/redbooks/pdfs/sg245222.pdf

I posed the question because this red book dates back to 1998 and because there is no mention of this issue in other documentation, so I was wondering if it was really necessary or if rcdmqimg effectively takes a consistent snapshot of the objects it records.

Thanks for the feedback.

Pete
_________________
P.J. Hitchman
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » rcdmqimg and stopping channels
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.