set cluster-config
In the R81.10.X releases, this command is available starting from the R81.10.15 version.
Description
Configure the cluster synchronization network to work as a Bond interface.
See:
In WebUI, this corresponds to:
-
Click the Device view > Advanced section > High Availability page.
- Click Configure Cluster.
Syntax
|
Parameters
Parameter |
Description |
||||
---|---|---|---|---|---|
priority primary |
Configures the Primary (Active) Cluster Member. |
||||
priority secondary |
Configures the Secondary (Standby) Cluster Member.
|
||||
bond-mode |
Configures the bond mode for the synchronization network:
|
||||
first-sync-interface |
Specifies the name of the first subordinate interface in the synchronization bond interface. This subordinate interface must be disabled (status " Run the " |
||||
ha-mode |
Configures the Cluster Member recovery method - which Cluster Member to select as Active during a cluster fallback (when the cluster returns to normal operation after a cluster failover):
|
||||
second-sync-interface |
Specifies the name of the second subordinate interface in the synchronization bond interface. This subordinate interface must be disabled (status " Run the " |
||||
sync-method |
Configures the working mode of the synchronization network:
|
||||
sync-network-ipv4-addr |
Configures the IPv4 address of the synchronization network.
|
||||
sync-subnet |
Configures the IPv4 subnet of the synchronization network (in the format X.X.X.X).
|
||||
sync-ipv4-addr |
Configures the IPv4 address of the synchronization bond interface on this Cluster Member. |
||||
peer-sync-ipv4-addr |
Configures the IPv4 address of the synchronization bond interface of the peer Cluster Member. |
||||
sic-password |
Configures the one-time SIC password for the synchronization network. The required minimum is four characters. This password may contain letters, digits, and special characters.
|
||||
reinitialize-trust-sic-password |
Configures a new one-time SIC password for the synchronization network.
|
||||
wait-for-secondary-minutes |
Configures how long the primary Cluster Member must wait for the secondary Cluster Member to join it in the cluster. Gaia Clish requires the secondary Cluster Member to join the cluster before you can configure cluster interfaces. Default: 60 minutes Range: 1 - 4,294,967,295 minutes |
Example Commands
-
On the Primary (Active) Cluster Member, run:
set cluster-config priority primary bond-mode 802.3ad first-sync-interface LAN1 second-sync-interface LAN2 sync-network-ipv4-addr 172.16.30.0 sync-subnet 24 sync-ipv4-addr 172.16.30.1 peer-sync-ipv4-addr 172.16.30.2 sic-password MyP@asswOrd!
check primary-cluster-state
-
On the Secondary (Standby) Cluster Member, run:
set initiate-trust-with-primary sic-password MyP@asswOrd!
set cluster-config priority secondary bond-mode 802.3ad first-sync-interface LAN1 second-sync-interface LAN2 sync-network-ipv4-addr 172.16.30.0 sync-subnet 24 sync-ipv4-addr 172.16.30.1 peer-sync-ipv4-addr 172.16.30.2 sic-password MyP@asswOrd!
check secondary-cluster-state