title: Coherence clustering configuration
body: <p>I am new to oracle coherence and trying out a POC to use coherence as a distributed cache for our application. This is in my dev environment, I am trying to have a clustered setup with two coherence client instances.
  The changes I did was to create <code>tangosol_coherence_override.xml</code> and <code>coherence-cache-config.xml</code>
  Below are the details present.</p>
  
  <p>As suggested in the user guide when i start one instance of default cache server and two instances of coherence, they are not clustered, changes made on console on one coherence does not reflect on the other.</p>
  
  <p>The changes I did was to set a unicast address and port, configure the cluster name and port.
  Any pointers or sample configuration files would help.
  My machine ip - 10.209.14.17</p>
  
  <p><strong>tangosol_coherence_override.xml</strong></p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version='1.0'?&gt;
  
     &lt;coherence  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
              xmlns="http://xmlns.oracle.com/coherence/coherence-operational-config"
              xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-operational-config coherence-operational-config.xsd"&gt;
  
     &lt;cluster-config&gt;
        &lt;member-identity&gt;
           &lt;cluster-name system-property="tangosol.coherence.cluster"&gt;GR&lt;/cluster-name&gt;
        &lt;/member-identity&gt;
  
  
        &lt;unicast-listener&gt;
           &lt;address system-property="tangosol.coherence.localhost"&gt;10.209.14.17
           &lt;/address&gt;
           &lt;port system-property="tangosol.coherence.localport"&gt;8090&lt;/port&gt;
           &lt;port-auto-adjust system-property="tangosol.coherence.localport.adjust"&gt;
              true
           &lt;/port-auto-adjust&gt;
        &lt;/unicast-listener&gt;
      &lt;multicast-listener&gt;
           &lt;address&gt;224.3.7.0&lt;/address&gt;
           &lt;port&gt;4280&lt;/port&gt;
           &lt;time-to-live&gt;0&lt;/time-to-live&gt;
        &lt;/multicast-listener&gt;
     &lt;/cluster-config&gt;
  
     &lt;configurable-cache-factory-config&gt;
        &lt;init-params&gt;
           &lt;init-param&gt;
              &lt;param-type&gt;java.lang.String&lt;/param-type&gt;
              &lt;param-value system-property="tangosol.coherence.cacheconfig"&gt;
                 coherence-cache-config.xml&lt;/param-value&gt;
           &lt;/init-param&gt;
        &lt;/init-params&gt;
     &lt;/configurable-cache-factory-config&gt;
  &lt;/coherence&gt;
  </code></pre>
  
  <p><strong>coherence-cache-config.xml</strong></p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0"?&gt;
  
  &lt;cache-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config"
     xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config
     coherence-cache-config.xsd"&gt;
     &lt;caching-scheme-mapping&gt;
        &lt;cache-mapping&gt;
           &lt;cache-name&gt;voCache&lt;/cache-name&gt;
           &lt;scheme-name&gt;distributed&lt;/scheme-name&gt;
        &lt;/cache-mapping&gt;
     &lt;/caching-scheme-mapping&gt;
  
     &lt;caching-schemes&gt;
        &lt;distributed-scheme&gt;
           &lt;scheme-name&gt;distributed&lt;/scheme-name&gt;
           &lt;service-name&gt;DistributedCache&lt;/service-name&gt;
           &lt;backing-map-scheme&gt;
              &lt;local-scheme/&gt;
           &lt;/backing-map-scheme&gt;
           &lt;autostart&gt;true&lt;/autostart&gt;
        &lt;/distributed-scheme&gt;
     &lt;/caching-schemes&gt;
  &lt;/cache-config&gt;
  </code></pre>