(Optional) Deploying Multi-Controller Storage Systems
This section describes how to deploy a storage system that has two or more controller enclosures. For a direct-connection network, skip this section because you do not need to use SmartKit to add controllers.
Deployment Procedure
Figure 3-91 shows the controller deployment procedure.
Before performing the operations in this section, ensure that the storage system has no service. If the storage system is running any service, the operations will fail.
Configuring New IP Addresses for the Management Network Ports on the Switches and SSH Login User Information
Applicable to CE8850-32CQ-EI Switches
If you want to use SmartKit to configure switches, change the IP addresses of the management network ports on the switches to ensure that the switches, the maintenance terminal where SmartKit resides, and the original storage system are on the same network.
Before modifying the IP address of a switch's management network port and the SSH account, run the reset saved-configuration command to reset the configuration file of the switch. In the mean time, run the reboot fast command to restart the switch for the resetting to take effect.
- The two switches used for controller expansion must be of the same model.
- Switches for controller expansion can only be used for scale-out networking. Do not use them for front-end service networking or other purposes.
- Switches used for controller expansion cannot be stacked or cascaded.
- Do not upgrade the firmware of the switches used for controller expansion.
Procedure
- Use the serial port to log in to a switch.
- Run the system-view command to go to the system view.
- Run the command-privilege level rearrange command to improve command levels in batches.
- Run the commit command to commit the configuration.
- Run the aaa command to enter the AAA view.
- Configure the SSH login user for the switch.
- Run the undo local-user policy security-enhance command to delete SSH login security policies.
- Run the local-user username password irreversible-cipher password command to add a user.
username is the user name and password is the user's password.
- Run the local-user username service-type ssh command to set the user service model.
- Run the local-user username level 15 command to set the user level.
- Change the IP address of the management network port of the switch.
- Run the interface MEth0/0/0 command to enter the management network port view.
- Run the ip address ipaddress mask command to set the IP address.
ipaddress is the new IP address of the management network port and mask is the subnet mask of the management network port.
- Optional: Run the ip route-static ipaddress mask gateway command to set the switch gateway.
ipaddress indicates the destination network segment, mask indicates the subnet mask of the destination network segment, and gateway indicates the gateway.
If the switches, the maintenance terminal where SmartKit resides, and the original storage system are not on the same network, you need to set the switch gateway. To ensure that IP addresses on all network segments can access switches, you are advised to set a default gateway, namely, set ipaddress and mask to 0.0.0.0 and 0.0.0.0.
- Run the user-interface maximum-vty number command to change the number of SSH connections.
number is the maximum number of SSH connections and the value ranges from 0 to 21.
If SmartKit is used to configure switches, you are advised to set number to a value larger than six.
- Run the stelnet server enable command to enable the SSH service.
- Run the ssh authentication-type default password command to set the SSH user authentication mode to password authentication.
- Run the user-interface vty 0 n command to set the number of concurrent users.
n indicates the number of concurrent users and the value must be smaller than that set in 8.
- Run the authentication-mode aaa command to set the user authentication mode.
- Run the user privilege level 15 command to set the user level.
- Run the protocol inbound ssh command to enable the user to support the SSH protocol.
- Run the quit command to return to the system view.
- Run the rsa local-key-pair create command to generate the SSH public key for the user.
- Run the commit command to submit the configuration file.
- Run the quit command to exit the system view.
- Run the save command to save the configuration file.
Applicable to CE8850-SAN Switches
If you want to use SmartKit to configure switches, change the IP addresses of the management network ports on the switches to ensure that the switches, the maintenance terminal where SmartKit resides, and the original storage system are on the same network.
Context
If you use SmartKit to configure a switch, modify the IP address of the switch's management network port to ensure that this IP address resides in the same network with that of the storage system.
Before modifying the IP address of a switch's management network port and the SSH account, run the reset saved-configuration command to reset the configuration file of the switch. In the mean time, run the reboot command to restart the switch for the resetting to take effect.
- The two switches used for controller expansion must be of the same model.
- Switches for controller expansion can only be used for scale-out networking. Do not use them for front-end service networking or other purposes.
- Switches used for controller expansion cannot be stacked or cascaded.
- Do not upgrade the firmware of the switches used for controller expansion.
Procedure
- Log in to the switch using the serial port.
- Run the system-view command to go to the system view.
- Change the IP address of the management network port of the switch.
- Run the interface MEth 0/0/0 command to enter the management network port.
- Run the undo ip binding vpn-instance _management_vpn_ command to unbind the interface from the VPN instance.
If the following error message is displayed, the interface has been unbound from the VPN instance. Ignore the error message.
[*HUAWEI-MEth0/0/0]undo ip binding vpn-instance _management_vpn_ Error: The VPN instance is not bound to the interface.
- Run the commit command to commit the configuration.
- Run the ip address ipaddress mask command to set the IP address.
ipaddress is the new IP address of the management network port and mask is the subnet mask.
- (Optional) Run the ip route-static ipaddress mask gateway command to set the switch gateway.
ipaddress is the destination network segment, mask is the subnet mask of the destination network segment, and gateway is the gateway.
If the switches, the maintenance terminal where SmartKit resides, and the original storage system are not on the same network, you must set the switch gateway. To ensure that IP addresses on all network segments can access the switches, you are advised to use the default gateway, that is, set ipaddress and mask to 0.0.0.0 and 0.0.0.0.
- Run the commit command to commit the configuration.
- Run the quit command.
- Set the user authentication mode and enable the user to support the SSH protocol.
- Run the system-view command to go to the system view.
- Run the user-interface vty 0 4 command to set the number of concurrent users.
- Run the authentication-mode aaa command to set the user authentication mode.
- Run the protocol inbound ssh command to enable the user to support the SSH protocol.
- Run the quit command to return to the system view.
- Run the commit command to commit the configuration.
- Set the AAA local user name and password.
- Run the aaa command to enter the AAA view.
- Run the local-user username password irreversible-cipher password command to add an AAA local user.
In the command, username indicates the user name, and password indicates the password of the user.
- Run the local-user username service-type ssh terminal command to set the user service mode.
- Run the local-user username privilege level 3 command to set the user level.
- Run the quit command to return to the system view.
- Run the commit command to commit the configuration.
- Create an SSH user and configure the authentication mode and service type for the user.
- Run the ssh user username command to create an SSH user with the same name as the AAA local user.
- Run the ssh user username authentication-type password command to set the SSH user authentication mode to password authentication.
- Run the ssh user username service-type stelnet command to set the service type of the SSH user to STelnet.
- Run the ssh server-source -i meth 0/0/0 command to configure the source interface of the SSH server.
If the login address is an IPv6 address, run the ssh ipv6 server-source -a ipv6-address command to configure the source IP address of the SSH server.
- Run the stelnet server enable command to enable the STelnet server functions.
- Run the commit command to commit the configuration.
- Run the ssh server publickey ecc rsa rsa_sha2_256 rsa_sha2_512 command to enable the ECC and RSA encryption algorithms.
- Run the quit command to exit the system view.
- Run the save command to save the configuration file.
- Run the reboot command to restart the switch for the configurations to take effect.
- Log in to the switch using SSH as the SSH user created in 6 and set the password as prompted.
(Optional) Manually Configuring Switches
If the maintenance terminal where SmartKit is installed cannot log in to the switch through the management network port of the switch, you need to manually configure the switch by referring to this section. If the maintenance terminal where SmartKit is installed can log in to the switch through the management network port of the switch, SmartKit automatically configures the switch during controller expansion. In this case, skip this section.
Applicable to CE8850-32CQ-EI Switches
If the maintenance terminal where SmartKit is installed cannot log in to the switch through the management network port of the switch, you need to manually configure the switch by referring to this section. If the maintenance terminal where SmartKit is installed can log in to the switch through the management network port of the switch, SmartKit automatically configures the switch during controller expansion. In this case, skip this section.
Procedure for Configuring Switch 0
- Set the global parameters of the spanning tree.
//Enter the system view. system-view //Set the spanning tree mode to MSTP. stp mode mstp //Validate the spanning tree configuration. commit //Enter the spanning tree configuration view. stp region-configuration //Configure a spanning tree instance. instance 1 vlan 200 to 203 300 to 303 400 to 403 500 to 503 1000 to 1004 1100 to 1104 1200 to 1203 1300 to 1303 4005 4007 instance 1 vlan 4010 4011 instance 2 vlan 2000 to 2003 2100 to 2103 2200 to 2203 2300 to 2303 4008 //Validate the spanning tree configuration. commit //Exit the spanning tree configuration view. quit
- Configure spanning tree ports.
- Ports can be configured in batches or one by one.
- Retain the default configurations for other spanning tree functions.
- Method 1: Configure ports in batches.
//Enter the batch port configuration view. port-group group-member 100GE 1/0/1 to 100GE 1/0/32 //Enable root bridge protection on the ports. stp root-protection //Enable the edge port function. stp edged-port enable //Validate the port configuration. commit //Exit the batch port configuration view. quit
- Method 2: Configure each port separately.
The following uses port 100GE 1/0/1 as an example. Perform this step on ports 100GE 1/0/1 to 100GE 1/0/32 in sequence.
//Enter the configuration view of port 100GE 1/0/1. interface 100GE 1/0/1 //Enable root bridge protection on the port. stp root-protection //Enable the edge port function. stp edged-port enable //Validate the port configuration. commit //Exit the configuration view of port 100GE 1/0/1. quit
- Configure global LLDP parameters.
//Configure the system name. sysname STORAGE-SCALE-SW-0 //Enable LLDP globally. lldp enable //Set the number of LLDP packets to be quickly sent. lldp fast-count 3 //Set the LLDP restart delay. lldp restart 1 //Set the interval for sending LLDP packets. lldp transmit interval 20 //Configure the LLDP keepalive factor. lldp transmit multiplier 10 //Validate all the preceding configurations. commit
- Configure LLDP ports.
- Ports can be configured in batches or one by one.
- Retain the default configurations of other LLDP functions.
- Method 1: Configure ports in batches.
//Enter the batch port configuration view. port-group group-member 100GE 1/0/1 to 100GE 1/0/32 //Enable LLDP on the ports. undo lldp disable //Allow LLDP packet transmission and reception. lldp admin-status txrx //Validate all the preceding configurations. commit //Exit the batch port configuration view. quit
- Method 2: Configure each port separately.
The following uses port 100GE 1/0/1 as an example. Perform this step on ports 100GE 1/0/1 to 100GE 1/0/32 in sequence.
//Enter the configuration view of port 100GE 1/0/1. interface 100GE 1/0/1 //Enable LLDP on the port. undo lldp disable //Allow LLDP packet transmission and reception. lldp admin-status txrx //Validate all the preceding configurations. commit //Exit the configuration view of port 100GE 1/0/1. quit
- Configure global RDMA parameters.
//Create a WRED drop profile and enter the WRED drop profile view. drop-profile ecn_100G //Configure ECN parameters. ecn buffer-size low-limit 7000 high-limit 750000 discard-percentage 30 //Validate the configuration. commit //Exit the WRED drop profile view. quit //Configure the accuracy of the hardware-based PFC deadlock detection interval and recovery time. dcb pfc deadlock-detect interval 100 //Validate the configuration. commit //Enter the default PFC configuration view. dcb pfc //Configure the RDMA link forwarding priority. priority 2 3 //Configure PFC deadlock detection. priority 2 deadlock-detect time 2 deadlock-recovery time 15 priority 2 turn-off threshold 20 priority 3 deadlock-detect time 2 deadlock-recovery time 15 priority 3 turn-off threshold 20 //Validate the configuration. commit //Exit the global RDMA configuration view. quit
- Configure the RDMA parameters of ports.
- Ports can be configured in batches or one by one.
- Retain the default configurations of other RDMA functions.
- Method 1: Configure ports in batches.
//Enter the batch port configuration view. port-group group-member 100GE 1/0/1 to 100GE 1/0/32 //Configure the port forwarding priority and QoS parameters. undo flow-control dcb pfc enable mode manual dcb pfc buffer 2 xoff dynamic 4 dcb pfc buffer 3 xoff dynamic 4 qos drr 0 2 3 qos queue 0 drr weight 10 qos queue 2 drr weight 90 qos queue 3 drr weight 90 qos buffer queue 0 shared-threshold dynamic 1 qos buffer queue 2 shared-threshold dynamic 10 qos buffer queue 3 shared-threshold dynamic 10 qos queue 2 wred ecn_100G qos queue 3 wred ecn_100G qos queue 2 ecn qos queue 3 ecn //Validate the configuration. commit //Exit the batch port configuration view. quit
- Method 2: Configure each port separately.
The following uses port 100GE 1/0/1 as an example. Perform this step on ports 100GE 1/0/1 to 100GE 1/0/32 in sequence.
//Enter the configuration view of port 100GE 1/0/1. interface 100GE 1/0/1 //Configure the port forwarding priority and QoS parameters. undo flow-control dcb pfc enable mode manual dcb pfc buffer 2 xoff dynamic 4 dcb pfc buffer 3 xoff dynamic 4 qos drr 0 2 3 qos queue 0 drr weight 10 qos queue 2 drr weight 90 qos queue 3 drr weight 90 qos buffer queue 0 shared-threshold dynamic 1 qos buffer queue 2 shared-threshold dynamic 10 qos buffer queue 3 shared-threshold dynamic 10 qos queue 2 wred ecn_100G qos queue 3 wred ecn_100G qos queue 2 ecn qos queue 3 ecn //Validate the configuration. commit //Exit the configuration view of port 100GE 1/0/1. quit
- Configure global VLAN parameters.
//Create VLANs in a batch. vlan batch 200 to 203 300 to 303 400 to 403 500 to 503 1000 to 1004 1100 to 1104 4011 vlan batch 1200 to 1203 1300 to 1303 2000 to 2003 2100 to 2103 2200 to 2203 2300 to 2303 4005 4007 4008 4010 //Validate the configuration. commit
- Set port VLAN parameters.
- Ports can be configured in batches or one by one.
- Retain the default configurations of other VLAN functions.
- Method 1: Configure ports in batches.
//Enter the batch port configuration view. port-group group-member 100GE 1/0/1 to 100GE 1/0/32 //Set the ports to work in trunk mode. port link-type trunk //Configure the PVID. port trunk pvid vlan 1 //Configure allowed VLAN IDs. port trunk allow-pass vlan 200 to 203 300 to 303 400 to 403 500 to 503 1000 to 1004 1100 to 1104 4011 port trunk allow-pass vlan 1200 to 1203 1300 to 1303 2000 to 2003 2100 to 2103 2200 to 2203 2300 to 2303 4005 4007 4008 4010 //Validate the port configuration. commit //Exit the batch port configuration view. quit
- Method 2: Configure each port separately.
The following uses port 100GE 1/0/1 as an example. Perform this step on ports 100GE 1/0/1 to 100GE 1/0/32 in sequence.
//Enter the configuration view of port 100GE 1/0/1. interface 100GE 1/0/1 //Set the port to work in trunk mode. port link-type trunk //Configure the PVID. port trunk pvid vlan 1 //Configure allowed VLAN IDs. port trunk allow-pass vlan 200 to 203 300 to 303 400 to 403 500 to 503 1000 to 1004 1100 to 1104 4011 port trunk allow-pass vlan 1200 to 1203 1300 to 1303 2000 to 2003 2100 to 2103 2200 to 2203 2300 to 2303 4005 4007 4008 4010 //Validate the port configuration. commit //Exit the configuration view of port 100GE 1/0/1. quit
- Save the settings.
//Enter the user view. quit //Save the settings. save STORAGE-SCALE-SW-0.cfg //Modify the boot items for the next startup. startup saved-configuration STORAGE-SCALE-SW-0.cfg
Procedure for Configuring Switch 1
- Set the global parameters of the spanning tree.
//Enter the system view. system-view //Set the spanning tree mode to MSTP. stp mode mstp //Validate the spanning tree configuration. commit //Enter the spanning tree configuration view. stp region-configuration //Configure a spanning tree instance. instance 1 vlan 200 to 203 300 to 303 400 to 403 500 to 503 1000 to 1004 1100 to 1104 1200 to 1203 1300 to 1303 4005 4007 instance 1 vlan 4010 4011 instance 2 vlan 2000 to 2003 2100 to 2103 2200 to 2203 2300 to 2303 4008 //Validate the spanning tree configuration. commit //Exit the spanning tree configuration view. quit
- Configure spanning tree ports.
- Ports can be configured in batches or one by one.
- Retain the default configurations for other spanning tree functions.
- Method 1: Configure ports in batches.
//Enter the batch port configuration view. port-group group-member 100GE 1/0/1 to 100GE 1/0/32 //Enable root bridge protection on the ports. stp root-protection //Enable the edge port function. stp edged-port enable //Validate the port configuration. commit //Exit the batch port configuration view. quit
- Method 2: Configure each port separately.
The following uses port 100GE 1/0/1 as an example. Perform this step on ports 100GE 1/0/1 to 100GE 1/0/32 in sequence.
//Enter the configuration view of port 100GE 1/0/1. interface 100GE 1/0/1 //Enable root bridge protection on the port. stp root-protection //Enable the edge port function. stp edged-port enable //Validate the port configuration. commit //Exit the configuration view of port 100GE 1/0/1. quit
- Configure global LLDP parameters.
//Configure the system name. sysname STORAGE-SCALE-SW-1 //Enable LLDP globally. lldp enable //Set the number of LLDP packets to be quickly sent. lldp fast-count 3 //Set the LLDP restart delay. lldp restart 1 //Set the interval for sending LLDP packets. lldp transmit interval 20 //Configure the LLDP keepalive factor. lldp transmit multiplier 10 //Validate all the preceding configurations. commit
- Configure LLDP ports.
- Ports can be configured in batches or one by one.
- Retain the default configurations of other LLDP functions.
- Method 1: Configure ports in batches.
//Enter the batch port configuration view. port-group group-member 100GE 1/0/1 to 100GE 1/0/32 //Enable LLDP on the ports. undo lldp disable //Allow LLDP packet transmission and reception. lldp admin-status txrx //Validate all the preceding configurations. commit //Exit the batch port configuration view. quit
- Method 2: Configure each port separately.
The following uses port 100GE 1/0/1 as an example. Perform this step on ports 100GE 1/0/1 to 100GE 1/0/32 in sequence.
//Enter the configuration view of port 100GE 1/0/1. interface 100GE 1/0/1 //Enable LLDP on the port. undo lldp disable //Allow LLDP packet transmission and reception. lldp admin-status txrx //Validate all the preceding configurations. commit //Exit the configuration view of port 100GE 1/0/1. quit
- Configure global RDMA parameters.
//Create a WRED drop profile and enter the WRED drop profile view. drop-profile ecn_100G //Configure ECN parameters. ecn buffer-size low-limit 7000 high-limit 750000 discard-percentage 30 //Validate the configuration. commit //Exit the WRED drop profile view. quit //Configure the accuracy of the hardware-based PFC deadlock detection interval and recovery time. dcb pfc deadlock-detect interval 100 //Validate the configuration. commit //Enter the default PFC configuration view. dcb pfc //Configure the RDMA link forwarding priority. priority 2 3 //Configure PFC deadlock detection. priority 2 deadlock-detect time 2 deadlock-recovery time 15 priority 2 turn-off threshold 20 priority 3 deadlock-detect time 2 deadlock-recovery time 15 priority 3 turn-off threshold 20 //Validate the configuration. commit //Exit the global RDMA configuration view. quit
- Configure the RDMA parameters of ports.
- Ports can be configured in batches or one by one.
- Retain the default configurations of other RDMA functions.
- Method 1: Configure ports in batches.
//Enter the batch port configuration view. port-group group-member 100GE 1/0/1 to 100GE 1/0/32 //Configure the port forwarding priority and QoS parameters. undo flow-control dcb pfc enable mode manual dcb pfc buffer 2 xoff dynamic 4 dcb pfc buffer 3 xoff dynamic 4 qos drr 0 2 3 qos queue 0 drr weight 10 qos queue 2 drr weight 90 qos queue 3 drr weight 90 qos buffer queue 0 shared-threshold dynamic 1 qos buffer queue 2 shared-threshold dynamic 10 qos buffer queue 3 shared-threshold dynamic 10 qos queue 2 wred ecn_100G qos queue 3 wred ecn_100G qos queue 2 ecn qos queue 3 ecn //Validate the configuration. commit //Exit the batch port configuration view. quit
- Method 2: Configure each port separately.
The following uses port 100GE 1/0/1 as an example. Perform this step on ports 100GE 1/0/1 to 100GE 1/0/32 in sequence.
//Enter the configuration view of port 100GE 1/0/1. interface 100GE 1/0/1 //Configure the port forwarding priority and QoS parameters. undo flow-control dcb pfc enable mode manual dcb pfc buffer 2 xoff dynamic 4 dcb pfc buffer 3 xoff dynamic 4 qos drr 0 2 3 qos queue 0 drr weight 10 qos queue 2 drr weight 90 qos queue 3 drr weight 90 qos buffer queue 0 shared-threshold dynamic 1 qos buffer queue 2 shared-threshold dynamic 10 qos buffer queue 3 shared-threshold dynamic 10 qos queue 2 wred ecn_100G qos queue 3 wred ecn_100G qos queue 2 ecn qos queue 3 ecn //Validate the configuration. commit //Exit the configuration view of port 100GE 1/0/1. quit
- Configure global VLAN parameters.
//Create VLANs in a batch. vlan batch 200 to 203 300 to 303 400 to 403 500 to 503 1000 to 1004 1100 to 1104 4011 vlan batch 1200 to 1203 1300 to 1303 2000 to 2003 2100 to 2103 2200 to 2203 2300 to 2303 4005 4007 4008 4010 //Validate the configuration. commit
- Set port VLAN parameters.
- Ports can be configured in batches or one by one.
- Retain the default configurations of other VLAN functions.
- Method 1: Configure ports in batches.
//Enter the batch port configuration view. port-group group-member 100GE 1/0/1 to 100GE 1/0/32 //Set the ports to work in trunk mode. port link-type trunk //Configure the PVID. port trunk pvid vlan 1 //Configure allowed VLAN IDs. port trunk allow-pass vlan 200 to 203 300 to 303 400 to 403 500 to 503 1000 to 1004 1100 to 1104 4011 port trunk allow-pass vlan 1200 to 1203 1300 to 1303 2000 to 2003 2100 to 2103 2200 to 2203 2300 to 2303 4005 4007 4008 4010 //Validate the port configuration. commit //Exit the batch port configuration view. quit
- Method 2: Configure each port separately.
The following uses port 100GE 1/0/1 as an example. Perform this step on ports 100GE 1/0/1 to 100GE 1/0/32 in sequence.
//Enter the configuration view of port 100GE 1/0/1. interface 100GE 1/0/1 //Set the port to work in trunk mode. port link-type trunk //Configure the PVID. port trunk pvid vlan 1 //Configure allowed VLAN IDs. port trunk allow-pass vlan 200 to 203 300 to 303 400 to 403 500 to 503 1000 to 1004 1100 to 1104 4011 port trunk allow-pass vlan 1200 to 1203 1300 to 1303 2000 to 2003 2100 to 2103 2200 to 2203 2300 to 2303 4005 4007 4008 4010 //Validate the port configuration. commit //Exit the configuration view of port 100GE 1/0/1. quit
- Save the settings.
//Enter the user view. quit //Save the settings. save STORAGE-SCALE-SW-1.cfg //Modify the boot items for the next startup. startup saved-configuration STORAGE-SCALE-SW-1.cfg
Applicable to CE8850-SAN Switches
If the maintenance terminal where SmartKit is installed cannot log in to the switch through the management network port of the switch, you need to manually configure the switch by referring to this section. If the maintenance terminal where SmartKit is installed can log in to the switch through the management network port of the switch, SmartKit automatically configures the switch during controller expansion. In this case, skip this section.
Procedure for Configuring Switch 0
- Set the global parameters of the spanning tree.
//Enter the system view. system-view //Set the spanning tree mode to MSTP. stp mode mstp //Validate the spanning tree configuration. commit //Enter the spanning tree configuration view. stp region-configuration //Configure a spanning tree instance. instance 1 vlan 200 to 203 300 to 303 400 to 403 500 to 503 1000 to 1004 1100 to 1104 1200 to 1203 1300 to 1303 4005 4007 instance 1 vlan 4010 4011 instance 2 vlan 2000 to 2003 2100 to 2103 2200 to 2203 2300 to 2303 4008 //Validate the spanning tree configuration. commit //Exit the spanning tree configuration view. quit
- Configure spanning tree ports.
- Ports can be configured in batches or one by one.
- Retain the default configurations for other spanning tree functions.
- Method 1: Configure ports in batches.
//Enter the batch port configuration view. port-group group-member 100GE 1/0/1 to 100GE 1/0/32 //Change the mode of an Ethernet interface from Layer 3 to Layer 2. portswitch //Enable root bridge protection on the ports. stp root-protection //Enable the edge port function. stp edged-port enable //Validate the port configuration. commit //Exit the batch port configuration view. quit
- Method 2: Configure each port separately.
The following uses port 100GE 1/0/1 as an example. Perform this step on ports 100GE 1/0/1 to 100GE 1/0/32 in sequence.
//Enter the configuration view of port 100GE 1/0/1. interface 100GE 1/0/1 //Change the mode of an Ethernet interface from Layer 3 to Layer 2. portswitch //Enable root bridge protection on the port. stp root-protection //Enable the edge port function. stp edged-port enable //Validate the port configuration. commit //Exit the configuration view of port 100GE 1/0/1. quit
- Configure global LLDP parameters.
//Configure the system name. sysname STORAGE-SCALE-SW-0 //Enable LLDP globally. lldp enable //Set the number of LLDP packets to be quickly sent. lldp fast-count 3 //Set the LLDP restart delay. lldp restart 1 //Set the interval for sending LLDP packets. lldp transmit interval 20 //Configure the LLDP keepalive factor. lldp transmit multiplier 10 //Validate all the preceding configurations. commit
- Configure LLDP ports.
- Ports can be configured in batches or one by one.
- Retain the default configurations of other LLDP functions.
- Method 1: Configure ports in batches.
//Enter the batch port configuration view. port-group group-member 100GE 1/0/1 to 100GE 1/0/32 //Change the mode of an Ethernet interface from Layer 3 to Layer 2. portswitch //Enable LLDP on the ports. undo lldp disable //Allow LLDP packet transmission and reception. lldp admin-status txrx //Validate all the preceding configurations. commit //Exit the batch port configuration view. quit
- Method 2: Configure each port separately.
The following uses port 100GE 1/0/1 as an example. Perform this step on ports 100GE 1/0/1 to 100GE 1/0/32 in sequence.
//Enter the configuration view of port 100GE 1/0/1. interface 100GE 1/0/1 //Change the mode of an Ethernet interface from Layer 3 to Layer 2. portswitch //Enable LLDP on the port. undo lldp disable //Allow LLDP packet transmission and reception. lldp admin-status txrx //Validate all the preceding configurations. commit //Exit the configuration view of port 100GE 1/0/1. quit
- Configure global RDMA parameters.
//Create a WRED drop profile and enter the WRED drop profile view. drop-profile ecn_100G //Configure ECN parameters. ecn buffer-size low-limit 7000 high-limit 750000 discard-percentage 30 //Validate the configuration. commit //Exit the WRED drop profile view. quit //Configure the accuracy of the hardware-based PFC deadlock detection interval and recovery time. dcb pfc deadlock-detect timer 100 //Validate the configuration. commit //Enter the default PFC configuration view. dcb pfc //Configure the RDMA link forwarding priority. priority 2 3 //Configure PFC deadlock detection. priority 2 turn-off threshold 30 priority 3 turn-off threshold 30 dcb pfc deadlock recovery-behavior forwarding slot 1 dcb pfc deadlock-detect timer 200 dcb pfc deadlock-recovery timer 1500 //Validate the configuration. commit //Exit the global RDMA configuration view. quit
- Configure the RDMA parameters of ports.
- Ports can be configured in batches or one by one.
- Retain the default configurations of other RDMA functions.
- Method 1: Configure ports in batches.
//Enter the batch port configuration view. port-group group-member 100GE 1/0/1 to 100GE 1/0/32 //Change the mode of an Ethernet interface from Layer 3 to Layer 2. portswitch //Configure the port forwarding priority and QoS parameters. dcb pfc enable mode manual dcb pfc buffer 2 xon dynamic 6 xoff dynamic 9 dcb pfc buffer 3 xon dynamic 6 xoff dynamic 9 qos drr 0 2 3 qos queue 0 drr weight 10 qos queue 2 drr weight 90 qos queue 3 drr weight 90 qos buffer queue 0 shared-threshold dynamic 1 qos buffer queue 2 shared-threshold dynamic 10 qos buffer queue 3 shared-threshold dynamic 10 qos queue 2 wred ecn_100G qos queue 3 wred ecn_100G qos queue 2 ecn qos queue 3 ecn //Validate the configuration. commit //Exit the batch port configuration view. quit
- Method 2: Configure each port separately.
The following uses port 100GE 1/0/1 as an example. Perform this step on ports 100GE 1/0/1 to 100GE 1/0/32 in sequence.
//Enter the configuration view of port 100GE 1/0/1. interface 100GE 1/0/1 //Change the mode of an Ethernet interface from Layer 3 to Layer 2. portswitch //Configure the port forwarding priority and QoS parameters. dcb pfc enable mode manual dcb pfc buffer 2 xon dynamic 6 xoff dynamic 9 dcb pfc buffer 3 xon dynamic 6 xoff dynamic 9 qos drr 0 2 3 qos queue 0 drr weight 10 qos queue 2 drr weight 90 qos queue 3 drr weight 90 qos buffer queue 0 shared-threshold dynamic 1 qos buffer queue 2 shared-threshold dynamic 10 qos buffer queue 3 shared-threshold dynamic 10 qos queue 2 wred ecn_100G qos queue 3 wred ecn_100G qos queue 2 ecn qos queue 3 ecn //Validate the configuration. commit //Exit the configuration view of port 100GE 1/0/1. quit
- Configure global VLAN parameters.
//Create VLANs in a batch. vlan batch 200 to 203 300 to 303 400 to 403 500 to 503 1000 to 1004 1100 to 1104 4011 vlan batch 1200 to 1203 1300 to 1303 2000 to 2003 2100 to 2103 2200 to 2203 2300 to 2303 4005 4007 4008 4010 //Validate the configuration. commit
- Set port VLAN parameters.
- Ports can be configured in batches or one by one.
- Retain the default configurations of other VLAN functions.
- Method 1: Configure ports in batches.
//Enter the batch port configuration view. port-group group-member 100GE 1/0/1 to 100GE 1/0/32 //Change the mode of an Ethernet interface from Layer 3 to Layer 2. portswitch //Set the ports to work in trunk mode. port link-type trunk //Configure the PVID. port trunk pvid vlan 1 //Configure allowed VLAN IDs. port trunk allow-pass vlan 200 to 203 300 to 303 400 to 403 500 to 503 1000 to 1004 1100 to 1104 4011 port trunk allow-pass vlan 1200 to 1203 1300 to 1303 2000 to 2003 2100 to 2103 2200 to 2203 2300 to 2303 4005 4007 4008 4010 //Validate the port configuration. commit //Exit the batch port configuration view. quit
- Method 2: Configure each port separately.
The following uses port 100GE 1/0/1 as an example. Perform this step on ports 100GE 1/0/1 to 100GE 1/0/32 in sequence.
//Enter the configuration view of port 100GE 1/0/1. interface 100GE 1/0/1 //Change the mode of an Ethernet interface from Layer 3 to Layer 2. portswitch //Set the port to work in trunk mode. port link-type trunk //Configure the PVID. port trunk pvid vlan 1 //Configure allowed VLAN IDs. port trunk allow-pass vlan 200 to 203 300 to 303 400 to 403 500 to 503 1000 to 1004 1100 to 1104 4011 port trunk allow-pass vlan 1200 to 1203 1300 to 1303 2000 to 2003 2100 to 2103 2200 to 2203 2300 to 2303 4005 4007 4008 4010 //Validate the port configuration. commit //Exit the configuration view of port 100GE 1/0/1. quit
- Save the settings.
//Enter the user view. quit //Save the settings. save STORAGE-SCALE-SW-0.cfg //Modify the boot items for the next startup. startup saved-configuration STORAGE-SCALE-SW-0.cfg
Procedure for Configuring Switch 1
- Set the global parameters of the spanning tree.
//Enter the system view. system-view //Set the spanning tree mode to MSTP. stp mode mstp //Validate the spanning tree configuration. commit //Enter the spanning tree configuration view. stp region-configuration //Configure a spanning tree instance. instance 1 vlan 200 to 203 300 to 303 400 to 403 500 to 503 1000 to 1004 1100 to 1104 1200 to 1203 1300 to 1303 4005 4007 instance 1 vlan 4010 4011 instance 2 vlan 2000 to 2003 2100 to 2103 2200 to 2203 2300 to 2303 4008 //Validate the spanning tree configuration. commit //Exit the spanning tree configuration view. quit
- Configure spanning tree ports.
- Ports can be configured in batches or one by one.
- Retain the default configurations for other spanning tree functions.
- Method 1: Configure ports in batches.
//Enter the batch port configuration view. port-group group-member 100GE 1/0/1 to 100GE 1/0/32 //Change the mode of an Ethernet interface from Layer 3 to Layer 2. portswitch //Enable root bridge protection on the ports. stp root-protection //Enable the edge port function. stp edged-port enable //Validate the port configuration. commit //Exit the batch port configuration view. quit
- Method 2: Configure each port separately.
The following uses port 100GE 1/0/1 as an example. Perform this step on ports 100GE 1/0/1 to 100GE 1/0/32 in sequence.
//Enter the configuration view of port 100GE 1/0/1. interface 100GE 1/0/1 //Change the mode of an Ethernet interface from Layer 3 to Layer 2. portswitch //Enable root bridge protection on the port. stp root-protection //Enable the edge port function. stp edged-port enable //Validate the port configuration. commit //Exit the configuration view of port 100GE 1/0/1. quit
- Configure global LLDP parameters.
//Configure the system name. sysname STORAGE-SCALE-SW-1 //Enable LLDP globally. lldp enable //Set the number of LLDP packets to be quickly sent. lldp fast-count 3 //Set the LLDP restart delay. lldp restart 1 //Set the interval for sending LLDP packets. lldp transmit interval 20 //Configure the LLDP keepalive factor. lldp transmit multiplier 10 //Validate all the preceding configurations. commit
- Configure LLDP ports.
- Ports can be configured in batches or one by one.
- Retain the default configurations of other LLDP functions.
- Method 1: Configure ports in batches.
//Enter the batch port configuration view. port-group group-member 100GE 1/0/1 to 100GE 1/0/32 //Change the mode of an Ethernet interface from Layer 3 to Layer 2. portswitch //Enable LLDP on the ports. undo lldp disable //Allow LLDP packet transmission and reception. lldp admin-status txrx //Validate all the preceding configurations. commit //Exit the batch port configuration view. quit
- Method 2: Configure each port separately.
The following uses port 100GE 1/0/1 as an example. Perform this step on ports 100GE 1/0/1 to 100GE 1/0/32 in sequence.
//Enter the configuration view of port 100GE 1/0/1. interface 100GE 1/0/1 //Change the mode of an Ethernet interface from Layer 3 to Layer 2. portswitch //Enable LLDP on the port. undo lldp disable //Allow LLDP packet transmission and reception. lldp admin-status txrx //Validate all the preceding configurations. commit //Exit the configuration view of port 100GE 1/0/1. quit
- Configure global RDMA parameters.
//Create a WRED drop profile and enter the WRED drop profile view. drop-profile ecn_100G //Configure ECN parameters. ecn buffer-size low-limit 7000 high-limit 750000 discard-percentage 30 //Validate the configuration. commit //Exit the WRED drop profile view. quit //Configure the accuracy of the hardware-based PFC deadlock detection interval and recovery time. dcb pfc deadlock-detect timer 100 //Validate the configuration. commit //Enter the default PFC configuration view. dcb pfc //Configure the RDMA link forwarding priority. priority 2 3 //Configure PFC deadlock detection. priority 2 turn-off threshold 30 priority 3 turn-off threshold 30 dcb pfc deadlock recovery-behavior forwarding slot 1 dcb pfc deadlock-detect timer 200 dcb pfc deadlock-recovery timer 1500 //Validate the configuration. commit //Exit the global RDMA configuration view. quit
- Configure the RDMA parameters of ports.
- Ports can be configured in batches or one by one.
- Retain the default configurations of other RDMA functions.
- Method 1: Configure ports in batches.
//Enter the batch port configuration view. port-group group-member 100GE 1/0/1 to 100GE 1/0/32 //Change the mode of an Ethernet interface from Layer 3 to Layer 2. portswitch //Configure the port forwarding priority and QoS parameters. dcb pfc enable mode manual dcb pfc buffer 2 xon dynamic 6 xoff dynamic 9 dcb pfc buffer 3 xon dynamic 6 xoff dynamic 9 qos drr 0 2 3 qos queue 0 drr weight 10 qos queue 2 drr weight 90 qos queue 3 drr weight 90 qos buffer queue 0 shared-threshold dynamic 1 qos buffer queue 2 shared-threshold dynamic 10 qos buffer queue 3 shared-threshold dynamic 10 qos queue 2 wred ecn_100G qos queue 3 wred ecn_100G qos queue 2 ecn qos queue 3 ecn //Validate the configuration. commit //Exit the batch port configuration view. quit
- Method 2: Configure each port separately.
The following uses port 100GE 1/0/1 as an example. Perform this step on ports 100GE 1/0/1 to 100GE 1/0/32 in sequence.
//Enter the configuration view of port 100GE 1/0/1. interface 100GE 1/0/1 //Change the mode of an Ethernet interface from Layer 3 to Layer 2. portswitch //Configure the port forwarding priority and QoS parameters. dcb pfc enable mode manual dcb pfc buffer 2 xon dynamic 6 xoff dynamic 9 dcb pfc buffer 3 xon dynamic 6 xoff dynamic 9 qos drr 0 2 3 qos queue 0 drr weight 10 qos queue 2 drr weight 90 qos queue 3 drr weight 90 qos buffer queue 0 shared-threshold dynamic 1 qos buffer queue 2 shared-threshold dynamic 10 qos buffer queue 3 shared-threshold dynamic 10 qos queue 2 wred ecn_100G qos queue 3 wred ecn_100G qos queue 2 ecn qos queue 3 ecn //Validate the configuration. commit //Exit the configuration view of port 100GE 1/0/1. quit
- Configure global VLAN parameters.
//Create VLANs in a batch. vlan batch 200 to 203 300 to 303 400 to 403 500 to 503 1000 to 1004 1100 to 1104 4011 vlan batch 1200 to 1203 1300 to 1303 2000 to 2003 2100 to 2103 2200 to 2203 2300 to 2303 4005 4007 4008 4010 //Validate the configuration. commit
- Set port VLAN parameters.
- Ports can be configured in batches or one by one.
- Retain the default configurations of other VLAN functions.
- Method 1: Configure ports in batches.
//Enter the batch port configuration view. port-group group-member 100GE 1/0/1 to 100GE 1/0/32 //Change the mode of an Ethernet interface from Layer 3 to Layer 2. portswitch //Set the ports to work in trunk mode. port link-type trunk //Configure the PVID. port trunk pvid vlan 1 //Configure allowed VLAN IDs. port trunk allow-pass vlan 200 to 203 300 to 303 400 to 403 500 to 503 1000 to 1004 1100 to 1104 4011 port trunk allow-pass vlan 1200 to 1203 1300 to 1303 2000 to 2003 2100 to 2103 2200 to 2203 2300 to 2303 4005 4007 4008 4010 //Validate the port configuration. commit //Exit the batch port configuration view. quit
- Method 2: Configure each port separately.
The following uses port 100GE 1/0/1 as an example. Perform this step on ports 100GE 1/0/1 to 100GE 1/0/32 in sequence.
//Enter the configuration view of port 100GE 1/0/1. interface 100GE 1/0/1 //Change the mode of an Ethernet interface from Layer 3 to Layer 2. portswitch //Set the port to work in trunk mode. port link-type trunk //Configure the PVID. port trunk pvid vlan 1 //Configure allowed VLAN IDs. port trunk allow-pass vlan 200 to 203 300 to 303 400 to 403 500 to 503 1000 to 1004 1100 to 1104 4011 port trunk allow-pass vlan 1200 to 1203 1300 to 1303 2000 to 2003 2100 to 2103 2200 to 2203 2300 to 2303 4005 4007 4008 4010 //Validate the port configuration. commit //Exit the configuration view of port 100GE 1/0/1. quit
- Save the settings.
//Enter the user view. quit //Save the settings. save STORAGE-SCALE-SW-1.cfg //Modify the boot items for the next startup. startup saved-configuration STORAGE-SCALE-SW-1.cfg
Adding Controllers Using SmartKit
After you have finished the connection between the original controller enclosure 0 and new controller enclosures 1 and 2 according to Direct-Connection Network, use SmartKit to add controllers.
Prerequisites
- The system network has been connected based on the controller expansion scenario. For details, see (Optional) Connection Planning Between Controller Enclosures.
- C versions of the controller enclosures to be added for expansion and the original storage system are consistent.
- The memory sizes of the controller enclosures to be added for expansion are the same as those of the original storage system's controller enclosures.
- Controller enclosures have been powered on. For a 4 U controller enclosure, ensure that disk enclosures with coffer disk labels have been properly connected to the controller enclosure.
- The system network has been connected based on the controller expansion scenario.
- There are no critical or major alarms in the storage system.
- The IP addresses of the management network ports on controller enclosures connected to the management network must be different but on the same network segment. For details, see Changing the Initial IP Address of the Management Network Port over a Serial Port or (Optional) Changing IP Addresses of Management Network Ports Using DeviceManager.
Precautions
- SmartKit is used to expand controllers for the storage system.
- The operation procedure varies with the SmartKit version. The actual GUI prevails.
- The Auto Discovery (AD) process has been enabled on all of the controllers in the new controller enclosures 1 and 2. For details on how to enable the AD process, see What Can I Do If Controller Expansion Fails Because the Process Lasts for Over 24 Hours After the Controllers to Be Added Are Powered On?
The AD process is used for message forwarding between controllers during expansion. After enabling the AD process on all of the new controllers, you must add the new controllers using SmartKit within 24 hours. Otherwise, controller expansion will fail and you need to enable the AD process on the new controllers again.
Procedure
- Download SmartKit.
If the maintenance terminal cannot access the Internet, you need to use another terminal that can access the Internet to download the SmartKit installation package. Then copy the package to the maintenance terminal.
- If you are an enterprise user:
- Use the maintenance terminal to log in to https://support.huawei.com/enterprise and Choose Tools > SmartKit.
- Select the latest version.
- In the Version and Patch Software area, select and download the software you need.
- If you are a carrier user:
- Use the maintenance terminal to log in to https://support.huawei.com. In the search box on the home page, type SmartKit and choose the associated SmartKit path from the drop-down list.
- On the search result page, click the Software tab.
- On the Software tab page, click the latest version.
The page for downloading the software is displayed.
- In the Software area, download the software you need.
- If you are an enterprise user:
- Install SmartKit.
- On the maintenance terminal, run the SmartKit installation package and follow the instructions provided by the installation wizard to install SmartKit.
After the installation is complete, SmartKit will automatically start.
- Type your support website account as prompted to activate SmartKit and read the safety precautions.
- You can apply for an account of the support website at https://support.huawei.com.
- You have 180 days to use an account after it is activated. If there are only 45 days or fewer days left, you will be reminded of activating the tool again. If the tool is not activated after 180 days, you only have permissions of a Visitor.
- On the maintenance terminal, run the SmartKit installation package and follow the instructions provided by the installation wizard to install SmartKit.
- Install the Expansion tool package.
- If your maintenance terminal can access the Internet, choose Home > Storage > Capacity Expansion > Add Controllers. In the dialog box that is displayed, click OK to download and install the expansion tool.
- If your maintenance terminal cannot access the Internet, click Function Management on the Home page. Then click Import and select the tool package exported from another SmartKit environment to install it in offline mode.
For details about offline installation, see "Function Export" and "Function Import" in the SmartKit User Guide.
- Add the storage device whose capacity is to be expanded to SmartKit.
- In the main window of SmartKit, click the Devices tab and select Add.
The dialog box for adding devices is displayed.
- In Basic Information, select Specify IP Address (add a device by the IP address) and enter the management IP address of the original storage system. Then click Next.
- In the Login Information area, enter the user name and password of the storage system super administrator and click Finish.
- When a device is added for the first time or a device certificate is not trusted, a message is displayed indicating that the connection is not trusted.
- When an SSH server is added for the first time or the fingerprint of an SSH server changes, a message is displayed asking whether you want to continue to register the SSH server.
- In the main window of SmartKit, click the Devices tab and select Add.
- In the main window of SmartKit, choose Home > Storage > Capacity Expansion > Add Controllers.
The Add Controllers page is displayed. Add the controllers by following the wizard on SmartKit. For the detailed operations, see Using SmartKit for Capacity Expansion (Switched Network).
- Check the health status and running status of the added controllers and the disk enclosure.
Log in to OceanStor DeviceManager and check whether Health Status of the new controllers and disk enclosure is Normal and Running Status is Online.
- If yes, the capacity expansion is successful.
- If no, contact Huawei technical support.
Expansion Rollback
If controllers fail to be expanded, restore the storage system to factory settings and expand the controllers again.
Symptom
SmartKit may fail to expand controllers because:
- The configuration information about controller enclosure (enclosure SN: %s) fails to be modified.
- The BMC information about controller enclosure (enclosure SN: %s) fails to be synchronized.
- Controller expansion fails to be performed.
- The new controller enclosure (enclosure SN: %s) fails to be added to the cluster.
%s indicates the SN of the enclosure.
- When handling controller expansion failure, remove cables of storage systems that have not been added to the cluster to isolate controllers.
- If New engine (enclosure SN: %s) failed to be added to the cluster is displayed in SmartKit, the controller expansion cannot be rolled back. Contact Huawei technical support.
- For details about how to use the commands mentioned in this chapter, see Advanced O&M Command Reference of the corresponding product model.
- Do not restart the controllers to minimize the impact on cluster services.
Fault Diagnosis
Rolling Back the Storage System
If controllers fail to be expanded, restore the storage system to factory settings.
When handling controller expansion failure, remove cables of storage systems that have not been added to the cluster to isolate controllers.
Procedure
- Roll back controller expansion in the original storage system in normal mode.
- Run the change user_mode current_mode user_mode=developer command to go to the developer view.
- Run the debug command to go to the engineer view.
- Run the sys showcls command to query the total number of controllers in the cluster, as shown in the following figure. node cfg indicates the total number of controllers in the cluster.
admin:/diagnose>sys showcls mode : normal status : none node cfg : 2 node max : 8 group cfg : 1 group max : 4 product : 0 serial : 2102350SHW10G3000001 WWN : 0x2100e4a8b63bd03e local node id : 0 normalNodeBitmap : 3 faultNodeBitmap : 0 offlineNodeBitmap: 0 standbyNodeBitmap: 0 id role status -------------------- -------------------- -------------------- 0 master normal 1 slave normal group engine nodeSessionID -------------------- -------------------- -------------------- 0 0 1 0 0 1
- Run the exit command to exit the diagnose view.
- Run the change user_mode current_mode user_mode=engineer command to go to the engineer view.
- Run the change controllers_expansion cancel controller_total=m command to roll back controller expansion.
In the command, m indicates the total number of controllers in the original cluster.
Do not restart the controllers to minimize the impact on cluster services.
- Perform the operations described in Clearing the Controllers That Failed to Be Added.
Clearing the Controllers That Failed to Be Added
If controller expansion fails, you must clear the controllers that failed to be added before expanding controllers again.
Prerequisites
You have removed the cables of storage systems that have not been added to the cluster to isolate controllers.
Procedure
- Log in to a controller that failed to be added via its serial port or management network port and check whether the following information is displayed in the CLI.
Storage: minisystem>
- If yes, the controller is in minisystem mode. Go to 2.
- If no, the controller is not in minisystem mode. You must enter the minisystem mode before proceeding with 2. You can manually enter the minisystem mode as follows:
- Run change user_mode current_mode user_mode=developer to enter the developer mode and then run minisystem to enter the minisystem mode.
developer:/>minisystem Storage: minisystem>
- When the storage system is starting, System is not ready, Please wait(Ctrl+c to exit or Input minisystem to minisystem mode) is displayed on the CLI. Run minisystem to enter the minisystem mode.
Authorized users only. All activities may be monitored and reported. WARNING! The remote SSH server rejected X11 forwarding request. WARNING: You have accessed the system. You are required to have a personal authorisation from the system administrator before you use this computer. Unauthorised access to or misuse of this system is prohibited. System is not ready, Please wait(Ctrl+c to exit or Input minisystem to minisystem mode).\minisystem
- Run change user_mode current_mode user_mode=developer to enter the developer mode and then run minisystem to enter the minisystem mode.
If you cannot log in to a controller (for example, controller A) using the serial port or management network port, log in to another controller in the controller enclosure (for example, controller B) and run the sshtoremoteExt SlotId command in minisystem mode to log in to controller A. SlotId is controller A's slot number and its value ranges from 0 to N–1, where N indicates the total number of controllers after controller expansion.
2 U controller enclosures are used as an example. The slot IDs of controllers A and B in controller enclosure 0 are 0 and 1, those in controller enclosure 1 are 2 and 3, and so on.
4 U controller enclosures are used as an example. The slot IDs of controllers A, B, C, and D in controller enclosure 0 are 0, 1, 2, and 3, those in controller enclosure 1 are 4, 5, 6, and 7, and so on.
- Query the status of coffer disks.
- If the configuration disk enclosure (DAE000) is a smart SAS or NVMe disk enclosure, run the sys.sh showallspecdiskinfo command to check whether the State value of coffer disks (Engine ID is 0 and Slot ranges from 0 to 3) is 0.
- If the configuration disk enclosure (DAE000) is a SAS disk enclosure, run bdm_diskbomlist.sh showdisk and check whether Valid of coffer disks (Slot ranges from 0 to 3 and ID is greater than 63) is Normal.
- If the configuration disk enclosure (DAE000) is a smart SAS or NVMe disk enclosure, run the sys.sh showallspecdiskinfo command to check whether the State value of coffer disks (Engine ID is 0 and Slot ranges from 0 to 3) is 0.
- Wait for 20 minutes. If the configuration disk enclosure is a smart SAS or NVMe disk enclosure, run the sys.sh showallspecdiskinfo command again to check whether coffer disks are connected. If the configuration disk enclosure is a SAS disk enclosure, run the bdm_diskbomlist.sh showdisk command again to check whether coffer disks are connected.
- Run showsysstatus. The value of local node id is the ID of the current controller. Check whether the controller's status is normal.
- Run sys.sh clearnode -d -all in minisystem mode. The system will clear information automatically. This process typically takes about 6 minutes and will not exceed 30 minutes.
Check whether Success is returned.
- This operation will restore all services and configurations of the controller to the initial state.
- This operation will initialize user passwords. For the default password of the system administrator, see Security Configuration Guide of the corresponding product model.
- Run sys.sh clearnode -df -all in minisystem mode. The system will clear information automatically. This process typically takes about 6 minutes and will not exceed 30 minutes.
Check whether Success is returned.
- This operation will restore all services and configurations of the controller to the initial state.
- This operation will initialize user passwords. For the default password of the system administrator, see Security Configuration Guide of the corresponding product model.
- Run sys.sh clearnode -d in minisystem mode. The system will clear information automatically. This process typically takes about 6 minutes and will not exceed 30 minutes.
After the system clears information automatically, check whether the "FAILED" message is not displayed.
- This operation can only clear the information on the controller that you have logged in to. Therefore, you must log in to all of the new controllers one by one and run this command.
- This operation will restore all services and configurations of the controller to the initial state.
- This operation will initialize user passwords. For the default password of the system administrator, see Security Configuration Guide of the corresponding product model.
- Observe the indicators to determine whether the controller is running properly and the coffer disks are normal. For the indicator meanings, see the Product Description of the corresponding product model.
- After all controllers have been cleared, log in to any of them and run sys.sh resetengine -n to reset all controllers in the current controller enclosure.
- Use the expansion tool to expand controllers again.
- If the expansion is successful, no further action is required.
- If expansion fails, go to 11.
- Collect system logs and contact technical support engineers for assistance.
To collect system logs:
- Log in to DeviceManager. If you can access the console, choose Settings > Export Data. Select All logs under System Log and click Log List. The system starts collecting logs.
Figure 3-93 Exporting system logs- If Failed to start the system is displayed when you log in to DeviceManager, click Download Log to download system logs.
Figure 3-94 Downloading logs- If a controller fails to be powered on, log in to the controller and enter the minisystem mode. Then run os_backup_info.sh to collect logs and access the log path to obtain the logs.