App Connect

 View Only
Expand all | Collapse all

Where is the Global cache catalog?

  • 1.  Where is the Global cache catalog?

    IBM Champion
    Posted Thu February 11, 2021 07:36 PM
    Hello,

    This is my globalcache/policy_two_brokers.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <!--

    Sample global cache policy for connecting the caches of two brokers together.
    The brokers will rely on a single catalog server in the first broker.
    Customize this policy file for your installation.

    -->
    <cachePolicy xmlns="http://www.ibm.com/xmlns/prod/websphere/messagebroker/globalcache/policy-1.0">

    <!--
    The broker "IIBGURU" runs on "localhost".
    -->
    <broker name="IIBGURU" listenerHost="localhost">

    <!--
    This broker hosts one catalog server.
    -->
    <catalogs>1</catalogs>

    <!--
    This broker uses ports between 3000-3019.
    -->
    <portRange>
    <startPort>3000</startPort>
    <endPort>3019</endPort>
    </portRange>

    </broker>

    <!--
    The broker "MindMajix" runs on "localhost".
    -->
    <broker name="MindMajix" listenerHost="localhost">

    <!--
    This broker hosts no catalog servers.
    -->
    <catalogs>0</catalogs>

    <!--
    This broker uses ports between 3020-3039.
    -->
    <portRange>
    <startPort>3020</startPort>
    <endPort>3039</endPort>
    </portRange>

    </broker>

    </cachePolicy>

    The IIBGURU broker has 2 Integration Servers. They are EG2 and IIBGURU_EX.
    The MindMajix broker has 1 Integration Server named MindMajixEX.

    From the web user interface of IIBGURU I can see:

    EG2 Cache Manager - Enable Catalog Service true
    IIBGURU_EX Cache Manager - Enable Catalog Service false

    From the web user interface of MindMajix I can see:
    MindMajixEX Cache Manager - Enable Catalog Service false

    If I stop EG2 I see the same thing. Where has the catalog gone? Surely if the Integration Server EG2 that hosts the catalog has been stopped and there is only 1 catalog allowed on IIBGURU then the IIBGURU_EX should become the catalog server. Does this not happen automatically? In addition the applications that use the Global Cache are still working. Apart from the one on EGG2 of course.

    ------------------------------
    Amit Kapila
    Integration Developer
    eComm Europe Limited
    London
    UK
    amitkapila@hotmail.com
    +44 (0)2085707240
    +44 (0)7976529902
    ------------------------------


  • 2.  RE: Where is the Global cache catalog?

    IBM Champion
    Posted Thu February 11, 2021 08:00 PM
    Eventually after stopped both Integration Servers on IIBGURU then started IIBGURU_EX I could see that the catalog shifted to IIBGURU_EX. This is not what I expected. I expected the catalog to move immediately after the Integration server that hosted the catalog stops.

    ------------------------------
    Amit Kapila
    Integration Developer
    eComm Europe Limited
    London
    UK
    amitkapila@hotmail.com
    +44 (0)2085707240
    +44 (0)7976529902
    ------------------------------