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 » Unix MQ backup

Post new topic  Reply to topic
 Unix MQ backup « View previous topic :: View next topic » 
Author Message
vmcgloin
PostPosted: Fri Apr 05, 2002 2:05 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

Hi,

Can anybody tell me whether queue managers *need* to be stopped when doing a UNIX system backup? The MQ documentation (& redbook) states "The system backup must have been performed when all queue managers were stopped."

We don't currently stop our qmgrs to do this backup. Will this affect recovery? Does anyone have an opinion, or any horror stories of why we should do this? (We are using circular logging & therefore can't use media recovery.)

Thanks,
Vicky
Back to top
View user's profile Send private message
mrlinux
PostPosted: Fri Apr 05, 2002 4:25 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

The only issues with backing up with queue managers while running are:
1) if there is any persistent message activity the Q data file and the log
will be out of sync.
2) One of the log files will not backup because MQSeries has it open and
changing it depending on the level of persistent message.


So if you have to restore from tape the only thing you will have to do is create a new set of log files and move them into place.
Creating log files:
1) On a seperate machine do crtmqm with the exact same QMGR Name and logfile
size settings the copy/move them to /var/mqm/log/QMGR_NAME
2) Then strmqm, this may take a couple of minutes to start depending on how
the queue manager came down previously.
(assuming some form of crash since you are resotring)

NOTE: There is a small possiblity of having a corrupted queue, which would have
to be deleted and recreated, I Suggest backing up the queue definitions with the
IBM Support Pac MS03 then if you create script/bat file to recreate the queue manager and use the backup of the definitions to finish it this would be faster.
IF you have any special setmqaut commands they should be maintained in a script/bat.
http://www-4.ibm.com/software/ts/mqseries/txppacs/ms03.html


_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries

[ This Message was edited by: mrlinux on 2002-04-05 04:25 ]
Back to top
View user's profile Send private message Send e-mail
vmcgloin
PostPosted: Fri Apr 05, 2002 4:41 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

Great, just what I needed to know. Thanks for the prompt reply.
Vicky
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Unix MQ backup
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.