hc-settings
Configure the unit as a HA-Cluster mode unit.
syntax
hc-settings <option> [options]
Option |
Description |
||
---|---|---|---|
-h |
Help information. |
||
-l |
List the Cluster configuration. |
||
-sc |
Set this unit to be a HA-Cluster mode unit. |
||
|
-t<N|M|P|R> |
Set this unit to be a HA-Cluster mode unit. |
|
|
|
N |
N/A. |
|
|
M |
Primary (formerly master) unit. |
|
|
P |
Secondary (formerly primary slave) unit. |
|
|
R |
Worker (formerly regular slave) unit. |
|
-n<name string> |
Set alias name for this unit. |
|
|
-c<HA-CLUSTER name> |
Set the HA-Cluster name for primary unit. |
|
|
-p<authentication code> |
Set the authentication code for primary unit. |
|
|
-i<interface> |
Set interface used for cluster internal communication. |
|
-si |
Set the fail-over IPs for this cluster for primary unit. |
||
|
-i<interface> |
Specify the interface for external communication |
|
|
-a<IP/netmask> |
Specify the IP address and netmask for external communication. This IP address will be applied as the alias IP of the specified interface. It must be in the same subnet as the unit IP subnet of the specified interface. |
|
-se |
Enable traffic encryption between HA cluster members. |
||
-sd |
Disable traffic encryption between HA cluster members. |