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 » Hot backup possible using rcdmqimg on MQ 6?

Post new topic  Reply to topic Goto page Previous  1, 2
 Hot backup possible using rcdmqimg on MQ 6? « View previous topic :: View next topic » 
Author Message
Vitor
PostPosted: Thu Mar 15, 2007 6:08 am    Post subject: Re: Backup queue Manager setup Reply with quote

Grand High Poobah

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

yortch wrote:
Assuming it is acceptable to lose that bit...


Bad assumption. Do not mess with a file the queue manager is using. Depending on platform, operation in progress and how lucky you are, a variety of bad things will happen. At best you'll have an inconsistent backup that won't restore your queue manager properly.

As to your other point, it depends on how close to "now" you want your recovery to be. This also hinges on what your message throughput is; a factor on how fast log files are used you see.

I think the best thing here is to examine the business requirement. If there's a strong requirement for 24*7 availability and point-in-time recovery then you/they should spend the money on a proper HA solution, not piece together a solution on the cheap. If as is often the case the business want 24*7 availability because it sounds cool, find when they're not using it (I find 3.30 am a common time) and script a queue manager down-and-up to take a consistent backup. Literally takes 10 minutes.

Another solution you could try (and I've not thought this through particually) is to have 2 clustered queue managers, suspend one, stop it, back it up, start it, replace it, then repeat the process with the other one. Message processing can therefore continue while backups are being taken.
_________________
Honesty is the best policy.
Insanity is the best defence.


Last edited by Vitor on Thu Mar 15, 2007 7:02 am; edited 1 time in total
Back to top
View user's profile Send private message
yortch
PostPosted: Thu Mar 15, 2007 6:55 am    Post subject: Reply with quote

Apprentice

Joined: 30 Aug 2004
Posts: 34

Let me paraphrase my assumption by quoting the MQ system administration guide:

Quote:
The existing queue manager does not need to be stopped for log files to be copied, however you should only copy a log file if the queue manager has finished writing to it. Because the existing queue manager log is continually updated, there is always a slight discrepancy between the existing queue manager log and the log data copied to the backup queue manager log.


What I mean when I said it was "ok to lose that bit" was that the "slight discrepancy" is acceptable. I'm just trying to figure out which log files should be copied. I wished this feature was documented better. I have contacted IBM Support about this, it is just taking forever. If I get more info I will post it back here.

The customer is actually moving away from a HA (MSCS clustered) environment (long story). They have very unpredictable traffic, so even a 10 minute window may not work.

Thanks for the input.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 15, 2007 6:58 am    Post subject: Reply with quote

Grand High Poobah

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

yortch wrote:
The customer is actually moving away from a HA (MSCS clustered) environment (long story). They have very unpredictable traffic, so even a 10 minute window may not work.


Then they need to accept that as part of the movement away from HA their uptime may take a hit.

As to IBM Support, remember this feature is new for v6 so there may be some issues, like long response times on questions. Or problems with the new-fangled software.....

I look forward to hearing how it works out for you.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
markt
PostPosted: Thu Mar 15, 2007 9:19 am    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 512

Read the Monitoring MQ book - it describes the event messages generated by the logger as logfiles are finished with.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Thu Mar 15, 2007 11:39 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

markt wrote:
Read the Monitoring MQ book - it describes the event messages generated by the logger as logfiles are finished with.


Are you sure that isn't just for for the AMQERRxx logs?

I was under the impression that they are actually discussing the MQ log (Snnnnnnn.LOG) files where MQ keeps it actual messages etc.?

I could be wrong though......it has been known
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Mar 15, 2007 11:45 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The logger generates PCF Event Messages, that are documented in the manual that MarkT mentions.

At least some of these event messages also get written to AMQERR01.log, in order to allow someone to identify which Snnnnnn.log files are no longer needed.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Thu Mar 15, 2007 12:30 pm    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Aha...I see. Makes sense. Thanks
Back to top
View user's profile Send private message
yortch
PostPosted: Mon Mar 19, 2007 12:29 pm    Post subject: Reply with quote

Apprentice

Joined: 30 Aug 2004
Posts: 34

The information I received from IBM support regarding how to determine which log files to copy for updating the backup queue manager:

Code:

C:\>echo dis qmstatus CURRLOG | runmqsc QM

AMQ8705: Display Queue Manager Status Details.
   QMNAME(QM)                         STATUS(RUNNING)
   CURRLOG(S0000024.LOG)


The log files that need to be copied are all the ones with a number less than the current log extent. In the example above 000000 through 0000023
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » Hot backup possible using rcdmqimg on MQ 6?
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.