blob: 8ec6d6b6e163da6f3e7f71e0730247c20807f600 [file] [log] [blame]
Henrik Nordstromc2794132004-01-22 15:04:24 +00001This module allows you to configure a simple cluster of nodes that share
2a certain IP and MAC address without an explicit load balancer in front of
3them. Connections are statically distributed between the nodes in this
4cluster.
5.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +01006\fB\-\-new\fP
Henrik Nordstromc2794132004-01-22 15:04:24 +00007Create a new ClusterIP. You always have to set this on the first rule
8for a given ClusterIP.
9.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +010010\fB\-\-hashmode\fP \fImode\fP
Henrik Nordstromc2794132004-01-22 15:04:24 +000011Specify the hashing mode. Has to be one of
Jan Engelhardtfea74bf2009-01-12 04:53:18 +010012\fBsourceip\fP, \fBsourceip\-sourceport\fP, \fBsourceip\-sourceport\-destport\fP.
Henrik Nordstromc2794132004-01-22 15:04:24 +000013.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +010014\fB\-\-clustermac\fP \fImac\fP
15Specify the ClusterIP MAC address. Has to be a link\-layer multicast address
Henrik Nordstromc2794132004-01-22 15:04:24 +000016.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +010017\fB\-\-total\-nodes\fP \fInum\fP
Henrik Nordstromc2794132004-01-22 15:04:24 +000018Number of total nodes within this cluster.
19.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +010020\fB\-\-local\-node\fP \fInum\fP
Henrik Nordstromc2794132004-01-22 15:04:24 +000021Local node number within this cluster.
22.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +010023\fB\-\-hash\-init\fP \fIrnd\fP
Henrik Nordstromc2794132004-01-22 15:04:24 +000024Specify the random seed used for hash initialization.