lfd:clustering

Configure a group of servers to share blocks and configuration changes.

juggernaut --task=lfd:clustering
Option
Value Default Description
--CLUSTER_SENDTO <string1,string2> The cluster member IP addresses to send requests to (comma separated).
--CLUSTER_SENDTO_add <string> Add a single entry to CLUSTER_SENDTO.
--CLUSTER_SENDTO_del <string> Remove a single entry from CLUSTER_SENDTO.
--CLUSTER_RECVFROM <string1,string2> The cluster member IP addresses to receive requests from (comma separated).
--CLUSTER_RECVFROM_add <string> Add a single entry to CLUSTER_RECVFROM.
--CLUSTER_RECVFROM_del <string> Remove a single entry from CLUSTER_RECVFROM.
--CLUSTER_MASTER <string> IP address of the master node in the cluster allowed to send CLUSTER_CONFIG changes.
--CLUSTER_NAT <string> The public IP address of this server (For servers behind a NAT).
--CLUSTER_LOCALADDR <string> Send requests on an IP address other than the default IP address.
--CLUSTER_PORT <string> 7777 The cluster communication port (must be the same on all cluster member servers). There is no need to open this port in the firewall as the firewall will automatically add in and out bound rules to allow communication between cluster members.
--CLUSTER_KEY <string> The secret key used to encrypt cluster communications using the Blowfish algorithm. It should be between 8 and 56 characters long.
--CLUSTER_BLOCK <1|0> 1 Automatically send login failure blocks to all members of CLUSTER_SENDTO. Those servers must have this servers IP address listed in their CLUSTER_RECVFROM.
--CLUSTER_CONFIG <1|0> 0 Allow cluster configuration options to be received.
--CLUSTER_CHILDREN <1-100> 10 The maximum number of child processes to listen on. High blocking rates or large clusters may need to increase this.
--default <yes> Reset all settings to their default values.
--default_option <option> Reset a specific setting to its default value.
--restart <yes> Restart the service after saving settings.

Examples

// add an IP address to CLUSTER_SENDTO
juggernaut --task=lfd:clustering --CLUSTER_SENDTO_add=203.0.113.1 --restart=yes

// reset CLUSTER_PORT back to default
juggernaut --task=lfd:clustering --default_option=CLUSTER_PORT --restart=yes

// reset all settings back to default
juggernaut --task=lfd:clustering --default=yes --restart=yes