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 » IBM MQ Installation/Configuration Support » Online backup of MQ

Post new topic  Reply to topic
 Online backup of MQ « View previous topic :: View next topic » 
Author Message
EB
PostPosted: Fri Nov 05, 2004 5:15 am    Post subject: Online backup of MQ Reply with quote

Acolyte

Joined: 19 Mar 2004
Posts: 70

Hi everyone!
We are wondering if it is possible to take online backup of MQ and if so how? Given that we only have persistent messages on a Qmgr with linear logging.

Any advice is greatly appreciated.

Regards
EB
Back to top
View user's profile Send private message
PGoodhart
PostPosted: Fri Nov 05, 2004 5:17 am    Post subject: Reply with quote

Master

Joined: 17 Jun 2004
Posts: 278
Location: Harrisburg PA

If you search the forum you will fine reams of information on this.
There is no such thing as a "supported" running backup.
_________________
Patrick Goodhart
MQ Admin/Web Developer/Consultant
WebSphere Application Server Admin
Back to top
View user's profile Send private message
Albator
PostPosted: Fri Nov 05, 2004 1:50 pm    Post subject: Reply with quote

Voyager

Joined: 04 Mar 2004
Posts: 75
Location: Toronto, Canada

I think IBM recommends the following to get a proper backup (media and system backups):

1. Stop all channels
2. Perform rcdmqimg
3. shutdown queue manager
4. End listener
5. backup MQM folder on tape
6. Restart queue manager
7. Restart listeners
8. Restart the channels
Back to top
View user's profile Send private message
csmith28
PostPosted: Fri Nov 05, 2004 2:14 pm    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

If all you want is a backup of your MQManagers download the saveqmgr utility in support pack MS03 on the IBM Website.

This script will save a copy of all the objects that have been created on the named MQMGR.

Code:
# saveqmgr -m QMGRNAME -f OutPutFileName.bak.txt


I usually save that and a copy of the /var/mqm/mqs.ini if it has been modified and the /var/mqm/qmgrs/MQMGR/qm.ini file on a remote server.

In my personal experience this has been adequate to recover from a catastrophic failure as long as you have the WMQ installation image and a backup of any ServicePacks/APAR's you have installed.

I know I will probably get flamed a little about this but in most cases if there is a Hardware failure or some other catastrophic failure the TimeToLife for the messages (as in the amount of time that the messages are useful to the application) expires by the time service can be restored rendering any backup of the /var/mqm/log/QMGR/active or the /var/mqm/qmgrs/QMGR/queues directories insignifigant.

Disclaimer: I know this does not apply to all scenarios.
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Nov 05, 2004 3:13 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

csmith28 wrote:
the TimeToLife for the messages expires by the time service can be restored


This is essentially true in a request response scenario. However if you are in a garanteed once only delivery scenario with datagrams (send and forget) you will want to use the Logs to recover whatever you can. Your messages would be persistent with no expiry time.

This is why it is prudent to have the queues and the logs on different file systems. If one gets corrupted you can always count on the other to recover.

Enjoy
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 » IBM MQ Installation/Configuration Support » Online backup of MQ
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.