lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | This module allows you to configure a simple cluster of nodes that share |
| 2 | a certain IP and MAC address without an explicit load balancer in front of |
| 3 | them. Connections are statically distributed between the nodes in this |
| 4 | cluster. |
| 5 | .TP |
| 6 | \fB\-\-new\fP |
| 7 | Create a new ClusterIP. You always have to set this on the first rule |
| 8 | for a given ClusterIP. |
| 9 | .TP |
| 10 | \fB\-\-hashmode\fP \fImode\fP |
| 11 | Specify the hashing mode. Has to be one of |
| 12 | \fBsourceip\fP, \fBsourceip\-sourceport\fP, \fBsourceip\-sourceport\-destport\fP. |
| 13 | .TP |
| 14 | \fB\-\-clustermac\fP \fImac\fP |
| 15 | Specify the ClusterIP MAC address. Has to be a link\-layer multicast address |
| 16 | .TP |
| 17 | \fB\-\-total\-nodes\fP \fInum\fP |
| 18 | Number of total nodes within this cluster. |
| 19 | .TP |
| 20 | \fB\-\-local\-node\fP \fInum\fP |
| 21 | Local node number within this cluster. |
| 22 | .TP |
| 23 | \fB\-\-hash\-init\fP \fIrnd\fP |
| 24 | Specify the random seed used for hash initialization. |