Quantcast
Channel: VMware Communities : Unanswered Discussions - vFabric GemFire [ARCHIVED]
Viewing all articles
Browse latest Browse all 532

Access 2 Gemfire Instances (Different locators from single Clientcache.xml file)

$
0
0

Hi

 

Is it possible to access 2 Gemfire instances (2 different locators) from single ClientCache.xml file, both these instances have same regions, every thing is same

 

For example

I tried

<client-cache>

<pool name="pool1"

   server-group="pool1"

<locator port="11000" host="locator01.dtcc.com"/>

/>

<pool name="pool2"

   server-group="pool2"

<locator port="11000" host="locator01.dtcc.com"/>

/>

 

<pool name="pool3"

   server-group="pool3"

<locator port="11000" host="locator02.dtcc.com"/>

/>

 

<pool name="pool4"

   server-group="pool4"

<locator port="11000" host="locator02.dtcc.com"/>

/>

 

<region name="region01">

  <region-attributes refid="PROXY"  />

  </region>

 

<region name="region02">

  <region-attributes refid="PROXY"  />

  </region>

</client-cache>

 

 

This is not working for me, any ideas why?

 

Do i need to specify pool-name on region attribute? if i specify pool name it works fine for one gemfire, how can i specify 2 pool-name attributes


Viewing all articles
Browse latest Browse all 532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>