Author |
Message
|
dhanaraj |
Posted: Mon Aug 04, 2008 1:28 pm Post subject: MQ Cluster question. |
|
|
 Voyager
Joined: 10 Aug 2004 Posts: 92
|
Hi Friends,
I have 3 full repository QMGRs QM1,QM2 and QM3. I have alias queue name TEST1 in QM1 point to the cluster queue TEST1 in QM2 and QM3.
I have few questions here
if the QM2 is down. what will happens to the existing messages in the QM2 Test1 queue.
after restarted the QMGR QM2 the previous messages in the TEST1 is disappearing.
I want to move those messages to the QM3 before shutting down the QM2
what do i need to do for this sceniro?
do i am missing any thing here?
Thx
Dhanaraj |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Aug 04, 2008 3:52 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
after restarted the QMGR QM2 the previous messages in the TEST1 is disappearing |
I'd suspect that your application is MQPUTting non-persistent messages.
The default behavior of the qmgr is to purge non-persistent messages at qmgr restart. solution: don't use non-persistent messages. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
dhanaraj |
Posted: Mon Aug 04, 2008 6:43 pm Post subject: |
|
|
 Voyager
Joined: 10 Aug 2004 Posts: 92
|
Thanks Bruce.
another question
I want to move all the existence persistance messages to the QM3 before shutting down the QM2 in a cluster .
Do u have any suggestions on this
Thx
Dhanaraj |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Aug 04, 2008 7:55 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
dhanaraj wrote: |
Thanks Bruce.
another question
I want to move all the existence persistance messages to the QM3 before shutting down the QM2 in a cluster .
Do u have any suggestions on this
Thx
Dhanaraj |
Suspend QM2. This will route all new messages to targets outside of QM2 if QM2 is not the only qmgr hosting the queue and the queues have been opened with mode (not fixed). Wait until the xmitqs and cluster xmitq are empty. You're about ready to shutdown the qmgr...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
exerk |
Posted: Tue Aug 05, 2008 4:06 am Post subject: Re: MQ Cluster question. |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
dhanaraj wrote: |
...I have 3 full repository QMGRs... |
And there are plenty of posts regarding why that is a bad idea
As regards moving messages from one instance of a cluster queue to another, I think one of the support pacs will get messages from a queue and output to a file, which can then be read back onto another instance of the queue. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
sami.stormrage |
Posted: Tue Aug 05, 2008 5:42 am Post subject: |
|
|
 Disciple
Joined: 25 Jun 2008 Posts: 186 Location: Bangalore/Singapore
|
But V6 clustering doc.. has a scenario where u can have 4 FR's interconnected.. Even the one I worked had 4 FR's in QA and Prod.. (2 in DR boxes) but had channels to a primary and one disaster recovery box... I simply dont get the point.. _________________ *forgetting everything * |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Aug 05, 2008 12:34 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
sami.stormrage wrote: |
But V6 clustering doc.. has a scenario where u can have 4 FR's interconnected.. |
Post the link to this scenario please. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
Jinny |
Posted: Wed Aug 06, 2008 5:50 pm Post subject: |
|
|
Novice
Joined: 30 Jul 2008 Posts: 16
|
|
Back to top |
|
 |
mqjeff |
Posted: Thu Aug 07, 2008 4:33 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Jinny wrote: |
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzah.doc/qc11230_.htm
Figure 3. A complex full repository topology |
Quote: |
Having only two full repositories is sufficient for all but very exceptional circumstances. |
|
|
Back to top |
|
 |
|