Changing the Initial IP Address of the Management Network Port over a Serial Port
Modifying IP addresses of management network ports using a serial port is simpler than using DeviceManager. You can directly log in to a storage device through serial ports to modify the IP addresses, and are not required to configure connectivity between the storage device and the temporary maintenance terminal used for initial configuration.
Prerequisites
The maintenance terminal has been connected to the serial port on the storage device through a serial cable.
Context
After the controller enclosure is connected to the maintenance terminal using a serial cable, you can log in to the CLI of the storage device using a terminal program (such as PuTTY).
- This document uses PuTTY as an example. You can download PuTTY from the chiark website.
- To ensure successful login to the storage system, you are advised to use PuTTY of the latest version.
Precautions
- The maintenance terminal and storage device must be interconnected using a serial port.
- The default IP address of network port 0 on management module 0 is 192.168.128.101 and that of network port 0 on management module 1 is 192.168.128.102. The default subnet mask is 255.255.0.0.
- After the IP addresses of the management network ports are modified, communication between the maintenance terminal and the storage device will be lost. Therefore, you are advised to first modify the IP addresses of the management network ports on the controllers that are not directly connected to the maintenance terminal.
- The IP addresses of management network ports and internal heartbeat IP addresses must be on different network segments. Otherwise, route conflicts may occur. The default internal heartbeat IP addresses are 127.127.127.10, 127.127.127.11, 127.127.127.12, and 127.127.127.13, and the subnet mask is 255.255.255.0. Therefore, you cannot use IP addresses that belong to the 127.127.127.XXX network segment.
- Heartbeats are packets transmitted between two devices for them to judge the availability of the peer device. Heartbeats do not require acknowledgement. They are usually used for node communication, fault diagnosis, and event triggering in an HA system.
- Internal heartbeat links are established between controllers for these controllers to detect each other's working status. You do not need to separately connect cables. In addition, internal heartbeat IP addresses are configured before delivery, and cannot be modified.
- When multiple controller enclosures are deployed, the default internal heartbeat IP addresses of each controller enclosure are the same as those when a single controller enclosure is deployed.
- The IP addresses of management network ports and those of maintenance network ports must be on different network segments. Otherwise, route conflicts may occur. The default IP addresses of the maintenance network ports are 172.31.128.101 and 172.31.128.102, and the subnet mask is 255.255.0.0. Therefore, you cannot use IP addresses that belong to the 172.31.XXX.XXX network segment. For this reason, connect only the management network ports to the network.
- By default, IP addresses of the management network ports and those of the service network ports are on different network segments. If they are in the same network segment, some functions of the storage system may be unavailable. It is strongly recommended that you do not set them on the same network segment.
Procedure
- Run PuTTY.
The PuTTY Configuration dialog box is displayed.
Figure 5-1 PuTTY Configuration dialog box - Set Connection type to Serial. In the Serial line text box, enter the name of the serial port that connects the maintenance terminal to the storage system, for example, COM1. In Speed, enter 115200.
You can query the serial port that connects the maintenance terminal to the storage system as follows (Windows 7 is used as an example):
- Right-click the Computer icon on the desktop of the maintenance terminal and choose Manage from the shortcut menu.
- In the navigation tree of the Computer Manager dialog box, choose System Tools > Device Manager.
- Click Ports. The serial port that connects the maintenance terminal to the storage system, for example, COM1.
There may be multiple serial port names, such as COM1, COM2, and COM3, on the maintenance terminal. Try these ports until you can successfully log in to the storage system.
- Log in to the serial port.
- Click Open.
If the connectivity between the maintenance terminal and controller is normal, information similar to Figure 5-2 is displayed.
- Enter the username and password for logging in to the storage device.
- The default user name is admin. For the default password, refer to the OceanStor V500R007 Account List.
- You are advised to change the default login password immediately after you log in to the storage system for the first time and periodically change the password since then. For details about how to change the login password, see the Administrator Guide.
- For security reasons, the entered password is not displayed.
If the login is successful, the following message is displayed:
Authorized users only. All activity may be monitored and reported. 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 Name : xxxx Health Status : Normal Running Status : Normal Total Capacity : 20.241TB SN : xxxx Location : Product Model : xxxx Product Version : xxxx Time : xxxx-xx-xx/16:13:47 UTC+08:00 Patch Version :
Values of System Name, Product Model, and Product Version vary according to the login device. If the login fails and the system enters the minisystem mode, continue by following the prompts that appear.
- Click Open.
- Change the IP addresses of management network ports.
Ensure that the IP addresses of the two management network ports are modified.
Run the change system management_ip command to change the IP address of the management network port. Table 5-1 describes the parameter settings of the command.
Table 5-1 Command syntax and parametersSyntax
Parameters
change system management_ipeth_port_idip_typemask [gateway]
- eth_port_id
Indicates the port ID. To obtain the value, run show system management_ip.
- ip_type
Specifies the IP address type. The value can be ipv4_address or ipv6_address.
- mask
Specifies the subnet mask of the management network port.
- gateway
Gateway of the management network port.
For example:
Set the IPv4 address of the management network port on management module 0 to 172.16.190.2, subnet mask to 255.255.0.0, and gateway address to 172.16.0.1.
admin:/>change system management_ip eth_port_id=CTE0.SMM0.MGMT0 ip_type=ipv4_address ipv4_address=172.16.190.2 mask=255.255.0.0 gateway_ipv4=172.16.0.1 WARNING: You are going to modify the network address of network port. If you enter an unavailable network address, the O&M interface of the storage system is inaccessible. Suggestion: Before you perform this operation, ensure that you have entered an available network address. Have you read warning message carefully?(y/n)y Command executed successfully.
- After changing the IP address of the management network port, run the show system management_ip command to verify the IP address information about the management network port.
- Modifying the IP address of a management port may disconnect the maintenance terminal from the storage system. Do not modify the IP address of a management network port unless necessary.