Cluster Configuration Management
This section describes how to manage the unified configuration
UI for cluster members.
Configuration UI
The cluster feature has
a unified configuration UI. That is, the CLIs of cluster members can
be switched for unified configuration and O&M.
Current Login Device
|
Target Login Device
|
Procedure
|
Management master device
|
Management backup device
|
- CLI switchover: supported. Run the switch cluster node command
to switch to the CLI of another device.
- Web UI switchover: not supported.
|
Management backup device
|
Management master device
|
- CLI switchover: supported. Run the switch cluster to master command to switch to the CLI of the management master device.
- Web UI switchover: not supported.
|
Management backup device
|
Management backup device
|
- CLI switchover: not supported.
- Web UI switchover: not supported.
|
Before the
switch cluster command is run, ensure
that cluster members use the same SSH user name and password and the
SSH login function has been enabled on the negotiation interface.
The configuration procedure is as follows:
Enable SSH and configure the permission on the SSH service
for administrator admin.
<sysname> system-view
[sysname] stelnet server enable
[sysname] ssh client first-time enable
[sysname] ssh user admin service-type stelnet
[sysname] ssh user admin authentication-type password
[sysname] aaa
[sysname-aaa] manager-user admin
[sysname-aaa-manager-user-admin] service-type web ssh terminal
[sysname-aaa-manager-user-admin] quit
[sysname-aaa] quit
Enable SSH login on the negotiation interface (Eth-Trunk 1 in this example).
[sysname] interface Eth-Trunk 1
[sysname-Eth-Trunk1] service-manage ssh permit
Feature Configuration
After a device joins
a cluster, it becomes the management master (
C_NoX_M in front of the command line prompt) or backup (
C_NoX_S in front of the command line prompt) device. Configuration commands
vary with features.
- Cluster-supported functions must be configured on the management
master device. The configuration will be backed up to the master backup
devices in real time. When a device joins a cluster for the first
time, it synchronizes the configuration of cluster-supported features
from the management master device to overwrite its own configuration,
ensuring cluster configuration consistency.
- Other features are configured on cluster members separately if
needed.
For cluster-supported features, see Cluster Configuration and
Service Data Backup.