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 » Disaster Recovery Setup

Post new topic  Reply to topic
 Disaster Recovery Setup « View previous topic :: View next topic » 
Author Message
kalam475
PostPosted: Tue Feb 28, 2017 12:48 am    Post subject: Disaster Recovery Setup Reply with quote

Acolyte

Joined: 16 Jan 2015
Posts: 63

Hi,

We have a three Multi-instance queue managers (CLUSQM1 & CLUSQM2 & CLUSQM3 )which are participating in the Clustering. CLUSQM1 and CLUSQM3 are full repositories and CLUSQM2 is half repository. CLUSQM1 and CLUSQM2 are hosting the Cluster queues and CLUSQM3 is there to maintain the CLUSTER and doesn't host any queues.

Now we want to set up a DR for the same. Which we are thinking of creating a backup queue manager for each queue manager. In-order to create the backup queue manager it should resemble the actual queue manager such as
1.queue manager name,
2.the logging type,
3.and the log file size.

apart from these is there any other extra consideration to be taken since these queue managers are participating in the clusters. If so any suggestion would be good. Knowledge center doesn't provide any specific details for creating a backup queue manager participating in cluster.

If no need of changing any thing how cluster queue effect in this case and Cluster channels needs to be created or not.


Also apart from backup queue manager is there any alternative for Disaster recovery. Please spare my ignorace here. Thanks
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Feb 28, 2017 3:19 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

You do have access to the scripts that were used to create the QMGRS in the first place?
Are all the changes (like adding Queues, Channels etc) since creation scripted and in Source control?

If not then perhaps now is a good time to create them and you know actually use them to create your DR environment?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
kalam475
PostPosted: Tue Feb 28, 2017 8:41 am    Post subject: Reply with quote

Acolyte

Joined: 16 Jan 2015
Posts: 63

I do have all the commands how i created the queeue manager. but doesn't have the commands of how i created the queues. but if i run rcdmqimg before taking the backup doesn't it take the image of the queue we have created. let us say before moving the log files i created a queue and after moving it to DR and replay doesn't it create the queue I guess it will.

Any how my question was since my QMGRs are participating in the cluster do i have to take any precatuions or backup queue manager will not support the qmgrs participating in the clusters or there are cluster channels are there are they gonna effect my base queue manager?

Thanks for help:)
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Feb 28, 2017 9:06 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

kalam475 wrote:
I do have all the commands how i created the queeue manager. but doesn't have the commands of how i created the queues.


All is not lost. You can generate them with the dmpmqcfg command.

Do some experimentation. your DR site is perfect for that.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
kalam475
PostPosted: Tue Feb 28, 2017 11:10 pm    Post subject: Reply with quote

Acolyte

Joined: 16 Jan 2015
Posts: 63

Thanks for reply. I do have another question.

Let us suppose say I have created a queue manager with Linear logging of primary files of arround 200 so I have 200 log files available in my mount point /nfsshare/QMGRSlogs/CLUSQM1 and data files are at /nfsshare/QMGRSdata/CLUSQM1. In order to create a backup queue manager in my DR I use the same commands to create it.

Now for the first time I will stop my actual qmgr and copy the data and log folders to DR and replay the logs. now everything works fine. Once my qmgr in production starts and start filling up how do i keep both in sync.

1st option :
use some kind of replication (synchronous) and hope that both are in sync and when disaster strike i reply the logs and start the queue manager. Does this works? and simple.

2nd option:

At regular intervals I will run rcdmqimg command and take the logs (n-1) of media log and replace them in DR. run strmqm -r <QMGR>. when actual disaster happens copy all the latest log files and activate the qmgr. In this scenario there is chance of loosing the messages or duplicating the messages.

IF I go with 1st option any is still there a chance of loosing messages. Is there a possible scenario where we can't loose messages or duplicate messages. Any technote or redbook suggested is very helpful.


Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Mar 01, 2017 4:41 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Ask your storage admins/dbas how this problem is solved for databases.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Wed Mar 01, 2017 7:48 pm    Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2491
Location: Melbourne, Australia

Quote:
IF I go with 1st option any is still there a chance of loosing messages. Is there a possible scenario where we can't loose messages or duplicate messages. Any technote or redbook suggested is very helpful.

In a true DR scenario (where not just MQ is affected), it is normal to hand over the DR qmgr in an empty state. It is the responsibility of apps to reconcile / reprocess any missing or duplicate transactions / messages.
This avoids the issue of trust in the MQ recovery logs, where there is a chance that a message may or may not have been logged at the point of disaster.
_________________
Glenn
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 » IBM MQ Installation/Configuration Support » Disaster Recovery Setup
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.