Search code examples
appfabric

Setting up an Appfabric Cluster - need some clarification


There's something that's not very clear to me and does not show up in the documentation: After successfully setting up a Cache Cluster with 2 hosts, what is the address for connecting to this cluster? I know this screams setting up a Windows Cluster all over but I just wanted to make sure there wasnt anything I'm missing.


Solution

  • There is no 'address' as such, as you might expect in a load-balancing scenario, but you specify host(s) in the hosts section of the dataCacheClient config element:

    <dataCacheClient … >
      <hosts>
        <host name="server1.mydomain.local" cachePort="22233" />
        <host name="server2.mydomain.local" cachePort="22233" />
      </hosts>
    </dataCacheClient>