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 » Replication

Post new topic  Reply to topic
 Replication « View previous topic :: View next topic » 
Author Message
Reeti
PostPosted: Tue Sep 17, 2002 3:38 am    Post subject: Replication Reply with quote

Apprentice

Joined: 11 Jul 2002
Posts: 40

Hi All:

On a MQ Series server I've multiple queue managers, I would like to Synchronize two queue mangers. Means any message coming to a queue on one queue manager will get replicated to the another queue manger.
This needs to be done on a same MQSeries server or on diff. MQ servers.

This is a very urgent requirement. Pls. help.

Regards
Reeti
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue Sep 17, 2002 5:44 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Queue1 on QM1 is where the first put goes to. When the app puts to Queue1 / QM1, it specifies the MQMD_Report option of COA_With_Full_Data, Reply2Queue of Queue2, and Reply2QueueManager of QM2.

As soon as the message lands on Queue1 / QM1, a copy is automatically sent by QM1 to Queue2 / QM2.

Of course, since there is only 1 reply2queue / reply2queuemanager field, this idea only works if you aren't using those fields for something else (maybe the message going to Queue1 is a Request message expecting a legitimate Reply). In this case, your original app has to be recoded to do 2 seperate Puts, or recoded to use Distribution Lists. See this post:
http://www.mqseries.net/phpBB2/viewtopic.php?t=4791&highlight=distribution
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Reeti
PostPosted: Tue Sep 17, 2002 8:35 pm    Post subject: Replication Reply with quote

Apprentice

Joined: 11 Jul 2002
Posts: 40

Thanks for the reply.

But we don't want to proceed programmatically, our purpose is to acheive MQ series server replication for fail over and also for simultaneous replication of all queues so that applications can access it from any of the servers.

Cld u pls. help. We are in dire need of implementing the same at the earliest.

Regards
Reeti
Back to top
View user's profile Send private message
nimconsult
PostPosted: Tue Sep 17, 2002 9:59 pm    Post subject: Reply with quote

Master

Joined: 22 May 2002
Posts: 268
Location: NIMCONSULT - Belgium

MQ Series clustering provides the workload balancing you want to achieve.

MQ Series clustering also offers a "weak failover" solution, meaning that you can continue processing with the surviving queue managers of the MQ cluster, but you have lost the messages of the "dead" machine.

If you cannot afford to lose messages then you also need system clustering (such as HACMP for AIX, or MSCS for Windows for instance).
_________________
Nicolas Maréchal
Senior Architect - Partner

NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PeterPotkay
PostPosted: Wed Sep 18, 2002 6:07 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Clustering will still not solve the issue of getting copies of your messages to all instances of your queues. Clustering will round robin between all the instances of the queues, unless there is a local copy, in which case they will all go to the local copy.

MQ does not give you this capability out of the box. You have to change your program. Or add MQSi in the middle to intercept and replicate the messages.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
nimconsult
PostPosted: Wed Oct 09, 2002 11:03 pm    Post subject: Reply with quote

Master

Joined: 22 May 2002
Posts: 268
Location: NIMCONSULT - Belgium

If you are looking for a solution of on-line (persistent and not persistent) message replication on MQ, you will find a sample application (code included) with the JASMQ framework.

Read related post http://www.mqseries.net/phpBB2/viewtopic.php?t=5735
_________________
Nicolas Maréchal
Senior Architect - Partner

NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mrlinux
PostPosted: Thu Oct 10, 2002 3:51 am    Post subject: Reply with quote

Grand Master

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

You set up your application to write to multiple queues with one MQPUT call.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
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 » Replication
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.