Preparing for Adding Controllers
Before adding new controllers, if you are not sure whether the new controllers use factory settings, clear their configurations to prevent system conflicts caused by residual configurations.
(Optional) Initializing the SSH Service Port (Applicable to V500R007C60SPC200 and Earlier Versions)
For V500R007C60SPC200 and earlier versions, If the original storage system does not use the default SSH service port, the capacity expansion based on controller expansion may fail. Therefore, before expanding controllers, you need to change the SSH service port of the original storage system to the default port. For V500R007C60SPC300 and later versions, skip this operation.
Context
The default SSH service port is port 22. On the CLI of the storage system, you can run the show system server_port server_name=SSH command to view the SSH service port of the storage system.
Procedure
- Log in to the CLI of the storage system.
- Run the change system server_ port server_name=SSH port_num=22 command to change the SSH service port of the storage system to port 22.
admin:/>change system server_port server_name=SSH port_num=22 WARNING: You are about to change the SSH service port number. This operation changes the port used to manage the storage system. Suggestion: Ensure that the SSH port number needs to be changed. Have you read warning message carefully?(y/n)y Are you sure you really want to perform the operation?(y/n)y Command executed successfully.
Follow-up Procedure
Run the show system server_port server_name=SSH command to check whether the storage system uses port 22 as the SSH service port.
admin:/>show system server_port server_name=SSH
Server Name : SSH
Port Number : 22
Clearing Configuration Information About Controllers to Be Added
If the controllers to be added for expansion do not adopt default factory settings, you need to clear the controllers' configuration information to prevent system conflicts.
Prerequisites
The controllers to be added for expansion do not adopt default factory settings.
The configuration information about controllers cannot be restored after being cleared. Therefore, ensure that the controllers whose configuration information will be cleared are the controllers to be added for expansion.
Procedure
- Log in to the CLI of a controller to be added.
- Run the export configuration_data ip=? user=? password=? db_file=? protocol=? command to export the configuration file of a storage system.
If no FTP or SFTP server is available onsite, you can run the following command to export the storage system's configuration file to the /home/permitdir directory of the controller:
export configuration_data ip=Storage system IP address user=admin password=Password of user admin db_file=/home/permitdir/xxx.dat protocol=SFTP
admin:/>export configuration_data ip=xx.xx.xx.xx user=admin password=************** db_file=/home/permitdir/test.dat protocol=SFTP WARNING: You are about to export the system configuration data. This operation may leak users' information. Suggestion: Before performing this operation, please acknowledge the aforementioned risks. Have you read warning message carefully?(y/n)y Are you sure you really want to perform the operation?(y/n)y Command executed successfully.
To view the exported configuration file, run the change user_mode current_mode user_mode=developer command to enter the developer view, run the minisystem command to enter the minisystem mode, and then run the ls command.
Storage: minisystem> ls HPC.log coffer_log coffer_perf dha export_import fault_disklog ftds test.dat internal_disklog iotrace log update
Table 10-3 Parameter descriptionParameter
Description
ip=?
IP address of the FTP or SFTP server to which the configuration file is imported.
user=?
User for logging in to an FTP or SFTP server.
password=?
Password for logging in to an FTP or SFTP server.
db_file=?
Path and file name of the configuration data file on an FTP or SFTP server.
The file name extension must be .dat, and the file name must be supported by the FTP or SFTP server.
protocol=?
Transmission protocol type. The value can be FTP or SFTP. The default value is SFTP.
- Run the change user_mode current_mode user_mode=developer command to go to the developer view.
- Run the clear configuration_data command to clear user configuration data.
After the configuration data is cleared, the system automatically restarts.