Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 231887

Re: Locator : region problem

$
0
0

Hi Alan,

 

Here is an example:

 

Server A,A' properties include:

groups=A

 

Server B,B' properties include:

groups=B

 

Client xml is a bit complicated. The pool-default pool points to all servers (if you want to execute an onServers function). The pool-A pool points to servers A,A'. The pool-B pool points to servers B,B'.

 

<client-cache>  <pool name="pool-default">    <locator host="localhost" port="23456"/>  </pool>  <pool name="pool-A" server-group="A">    <locator host="localhost" port="23456"/>  </pool>  <pool name="pool-B" server-group="B">    <locator host="localhost" port="23456"/>  </pool>  <region name="AA" refid="PROXY">    <region-attributes pool-name="pool-A"/>  </region>  <region name="AB" refid="PROXY">    <region-attributes pool-name="pool-A"/>  </region>  <region name="BA" refid="PROXY">    <region-attributes pool-name="pool-B"/>  </region>  <region name="BB" refid="PROXY">    <region-attributes pool-name="pool-B"/>  </region></client-cache>

Viewing all articles
Browse latest Browse all 231887

Trending Articles



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