Go to new doc!

+49 228 5552576-0


info@predic8.com

cluster

At the moment the balancer only supports one cluster with the name "Default". So you should configure all your nodes in one cluster named "Default".

Can be used in

clusters

Syntax

				<cluster name="string">
					<node >*
				</cluster>
			
Listing 1: cluster Syntax

Sample

				<balancer>
					<clusters>
						<cluster name="Default">
							<node host="node1.predic8.com" port="8080" />
							<node host="node2.predic8.com" port="8090" />
							<node host="node3.predic8.com" port="8100" />
						</cluster>
					</clusters>
				</balancer>
			
Listing 2: cluster Example

Attributes

Name Mandatory Default Description Example
name yes - Sets the name of the cluster. Default

Child Elements

Name Cardinality Description
node 0..* Specifies a node.