Author |
Message
|
Al Pacino |
Posted: Fri Feb 13, 2009 5:29 am Post subject: Broker and cluster MQ |
|
|
 Centurion
Joined: 19 Aug 2005 Posts: 114
|
Can someone explain to me how does the broker work when we have a cluster MQ environment ? I am told that the broker would only write to a local (bound) qmgr . Will this work if the Queue Manager is part of a cluster ? Assume the local queue manager to the broker is down , then the broker is trying to put into a cluster queue on that local queue manager , what happen then? _________________ "We can't solve problems by using the same kind of thinking we used
when we created them." |
|
Back to top |
|
 |
Vitor |
Posted: Fri Feb 13, 2009 5:32 am Post subject: Re: Broker and cluster MQ |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Al Pacino wrote: |
Can someone explain to me how does the broker work when we have a cluster MQ environment ? |
The same as any other application. All applications are connected to a single queue manager, irrespective of that queue manager's memership (or not) of a cluster.
Al Pacino wrote: |
I am told that the broker would only write to a local (bound) qmgr . Will this work if the Queue Manager is part of a cluster ? |
Yes. See above.
Al Pacino wrote: |
Assume the local queue manager to the broker is down , then the broker is trying to put into a cluster queue on that local queue manager , what happen then? |
You get a broker error because the connection to it's queue manager is down. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Al Pacino |
Posted: Fri Feb 13, 2009 5:45 am Post subject: |
|
|
 Centurion
Joined: 19 Aug 2005 Posts: 114
|
Poobah ,
In your opinion , what would be the solution then? As I posted in the other day , the reason I am still searching this , is because we are trying to provide a high availability to the queue manager. That's when I started looking into mc91 where it should provide high availability for the queue manager. Thanks _________________ "We can't solve problems by using the same kind of thinking we used
when we created them." |
|
Back to top |
|
 |
Vitor |
Posted: Fri Feb 13, 2009 5:53 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
HA is obtained by using HA software to monitor and control the queue manager (and in this instance the broker & possibly the DB). WMQ Clustering is not suitable for this purpose because it's not what it's designed for!
You want HA, use HACMP. You want workload balancing, use a WMQ cluster. You want both, use both. Easy. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Feb 13, 2009 5:58 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The Broker needs to be considered "part" of the queue manager, more or less.
If the local qmgr it is running on fails, then Broker needs to fail as well. If you need to provide failover for the qmgr, you need to also provide failover for the Broker.
IC91 may help in this regard. |
|
Back to top |
|
 |
Al Pacino |
Posted: Fri Feb 13, 2009 6:11 am Post subject: |
|
|
 Centurion
Joined: 19 Aug 2005 Posts: 114
|
Thanks all for clearing this. MC91 will give us the HA for MQ and MQ clustering will solve the load balance issue. However , in our current design , I need to take into consideration the broker and DB . If a failover over happens then the broker need to fail along with the queue manager. _________________ "We can't solve problems by using the same kind of thinking we used
when we created them." |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Feb 13, 2009 6:15 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You may want to consider placement of the database in designing your broker HA setup. Deciding to place it locally or remotely will change your configuration, and affect the complexity of the failover. |
|
Back to top |
|
 |
Tibor |
Posted: Fri Feb 13, 2009 6:27 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
Quote: |
Can someone explain to me how does the broker work when we have a cluster MQ environment ? I am told that the broker would only write to a local (bound) qmgr . Will this work if the Queue Manager is part of a cluster ? |
Let's see: there are 2 qmgrs run on 2 clustered server as an MQ cluster and 1 broker per qmgr. In addition, you can set the cluster workload parameters (e.g. CLWLUSEQ to ANY).
It's inconvenient (and expansive because the double licensing), but works.
HTH,
Tibor |
|
Back to top |
|
 |
jasonlck |
Posted: Mon Feb 16, 2009 1:08 am Post subject: |
|
|
Apprentice
Joined: 06 Oct 2008 Posts: 48 Location: Singapore
|
Al Pacino wrote: |
If a failover over happens then the broker need to fail along with the queue manager. |
If you need broker to fail along with the queue manager, you can use IC91.
Best practise is to have each component having their individual queue managers. Create channels to link them to allow config mgr to talk to broker despite having different QMs. |
|
Back to top |
|
 |
|