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 » WebSphere Message Broker (ACE) Support » Configure global cache for 2 different brokers as localhost

Post new topic  Reply to topic
 Configure global cache for 2 different brokers as localhost « View previous topic :: View next topic » 
Author Message
harish_td
PostPosted: Tue Sep 08, 2015 6:14 am    Post subject: Configure global cache for 2 different brokers as localhost Reply with quote

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
View user's profile Send private message Yahoo Messenger
fjb_saper
PostPosted: Tue Sep 08, 2015 8:51 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
harish_td
PostPosted: Tue Sep 08, 2015 9:43 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
fjb_saper
PostPosted: Wed Sep 09, 2015 12:59 am    Post subject: Reply with quote

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
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 » WebSphere Message Broker (ACE) Support » Configure global cache for 2 different brokers as localhost
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.