From Resin 3.0

Revision as of 09:41, 14 January 2009 by Ferg (Talk | contribs)
Jump to: navigation, search
Resin cluster

  1. Cluster configuration documentation for Resin 4.0 is at
  2. <cluster> tag documentation for Resin 4.0 is at

A Resin cluster is a collection of servers which do the same task. For example, all the load-balance servers form a cluster and all the application-servers in the app-tier form a cluster.


A cluster is configured in a <cluster> tag in the resin.conf.

  1. A set of servers, each with its own cluster port for cluster communication
  2. A set of virtual hosts, each containing several web-apps serving pages
  3. Shared resources like databases


A cluster with two servers might look like:


<resin xmlns=""
  <resin:import path="${__DIR__}/app-default.xml"/>
  <cluster id="app-tier">
     <server id="a" address="" port="6800"/>
     <server id="b" address="" port="6800"/>

    <host id="">

        <web-app-deploy path="webapps"/>
Personal tools