|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Configure global cache for 2 different brokers as localhost |
« View previous topic :: View next topic » |
Author |
Message
|
harish_td |
Posted: Tue Sep 08, 2015 6:14 am Post subject: Configure global cache for 2 different brokers as localhost |
|
|
Master
Joined: 13 Feb 2006 Posts: 236
|
Hello All,
I am configuring two brokers BRK-A and BRK-B with the single broker global cache mode. These are multi-instance brokers. Do you see any disadvantages with defining a cache policy that uses localhost? My understanding is that regardless of which LPAR the brokers are running, the localhost(PORTRANGE) will always be unique thus avoiding port conflicts. Thanks in advance
I am using the following XML configurations.
Code: |
<cachePolicy xmlns="http://www.ibm.com/xmlns/prod/websphere/messagebroker/globalcache/policy-1.0">
<broker name="BRK-A" listenerHost="localhost">
<catalogs>2</catalogs>
<!-- This broker uses ports between 3000-3019.-->
<portRange>
<startPort>3000</startPort>
<endPort>3019</endPort>
</portRange>
</broker>
</cachePolicy> |
and
Code: |
<cachePolicy xmlns="http://www.ibm.com/xmlns/prod/websphere/messagebroker/globalcache/policy-1.0">
<broker name="BRK-B" listenerHost="localhost">
<catalogs>2</catalogs>
<!-- This broker uses ports between 4000-4019.-->
<portRange>
<startPort>4000</startPort>
<endPort>4019</endPort>
</portRange>
</broker>
</cachePolicy> |
|
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Sep 08, 2015 8:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You do realize that to have a true GLOBAL cache you need to have multiple IIB servers and the catalog server can't be on a multi-instance broker...
So go ahead but realize that what you're going to have is a local cache that needs to be reinitialized when the broker fails over...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
harish_td |
Posted: Tue Sep 08, 2015 9:43 pm Post subject: |
|
|
Master
Joined: 13 Feb 2006 Posts: 236
|
Hi FJ,
fjb_saper wrote: |
local cache that needs to be reinitialized when the broker fails over |
When a multi instance broker fails over to the other side, that broker will have to be restarted any way. I understand that this means starting a catalog, the containers as well as the containers having to establish new connections to the catalog. Followed by adding new values to this cache map..
The customer is not going to buy a third broker license as well as a PowerHA license for the third LPAR to host the Catalog server in the foreseeable future.
For a cache that is not shared across brokers, are there any other drawbacks that we must consider? |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Sep 09, 2015 12:59 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Instead of using localhost, you might have to use the load balancer IP.
It should always point to the active broker.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|