How Can I Change the IP Addresses of the MDC replication plane?

20

1.Change the IP addresses of the MDC replication plane of each DC. For details, see How Can I Change the IP Addresses of UDS Planes in HUAWEI OceanStor UDS Massive Storage System V100R002C01 Software Installation Guide.
2.Modify the configuration of the VPN device in each DC. For details, refer to the product document of the VPN device.
3.Whether the IP addresses of the MDC replication plane of the GSDC or CDC have been changed?

If yes, perform Step 4.
If no, no further action is required.

4.Log in to the active OMS of the GADC using PuTTY.
Log in as user opadmin using the floating management IP address. Then, run su - root to switch to the root account.

5.Run TMOUT=0 to prevent PuTTY from exiting in a timeout scenario.
6.Run cd /opt/obs/scripts/mdc/scripts to go to the /opt/obs/scripts/mdc/scripts directory.
7.Run the following command to complete changing the IP addresses of the MDC replication plane. Communication among DCs recovers.

sh modifyReplicationAddresses.sh (DC ID) (Floating MDC IP address) (MDC replication IP address of the active OMS) (MDC replication IP address of the standby OMS)

For example: sh modifyReplicationAddresses.sh UDS_DCD4B110B171022014022506000 192.168.10.1 192.168.10.2 192.168.10.3
The following command output is displayed:
modify replication network success!

Other related questions:
How do I change the IP address of the IAD
For details, see Maintenance > Changing IP address in the eSpace IAD Product Documentation

How do I change the IP address of an SC server?
1. Use the SSH to log in to the SC. The user name and password are admin and Change_Me respectively. 2. Run the system-view sys-config network-config lan1 ipv4 address xxx.xxx.xxx.xxx netmask x.x.x.x command and restart the SC. The new IP address takes effect after the SC restarts.

How Can I Change the IP Addresses of UDS Planes?
1.Start the UDS Configuration Tool. 2.Choose File > Modify. The Open dialog box is displayed. 3.Select the original project design file or the original network configuration file, such as UDS_V100R002C01.uds or UDSConfig.xml, and click Open. 4.Click Design Data Network. 5.Click Redesign. The Network Design Wizard dialog box is displayed. 6.Follow the wizard instructions to change the IP addresses of the management plane or the service plane. 7.Click Export Project and select all options to export the new network configuration file to a local computer. NOTICE: If you also change the virtual local area network (VLAN) information about the management plane or the service plane when using the UDS Configuration Tool to change plane IP addresses, modify switch configurations accordingly to enable switch ports for new VLANs before proceeding with the following steps. If no VLAN information is changed, keep switch configurations unchanged and proceed with the following steps. 8.Logging In to the DeviceManager as user admin. 9.In the navigation bar on the right, click . The Maintenance page is displayed. 10.Click Change IP Address. Wizard for Changing IP Address is displayed. 11.Follow the wizard instructions to import the new network design file. A dialog box is displayed stating Succeeded in changing the IP addresses. 12.Use PuTTY to log in to the active OMS. Log in as user opadmin using the OMS floating management IP address. Then, run the su - root command to switch to the root account. 13.Run the sh command to check whether any bussinessfloatip resource monitored by the POE HA is in a normal state. sh /opt/obs/service/poe/ha/module/hacom/script/status_ha.shThe command output is as follows: Check whether any ResHAStatus of resource bussinessfloatip is Exception. If yes, go to Step 14. If no, no further action is required. 14.Clear the bussinessfloatip resource in abnormal state. /opt/obs/service/poe/ha/module/hacom/tools/ha_client_tool --ip=127.0.0.1 --port=61807 --clearrmfault --name=bussinessfloatip 15.(Optional) Change the value in /etc/resolv.conf to the customer-provided DNS server IP address. NOTE: If the UDS works in the single-DC scenario, you need to change the value in /etc/resolv.conf to the customer-provided DNS server IP address after changing the service plane IP address. a.Use PuTTY to log in to OMS01. Log in as user opadmin using the management IP address of OMS01. Then, run the su - root command to switch to the root account. b.Change the value of nameserver in /etc/resolv.conf to the customer-provided DNS server IP address. For example: nameserver 192.168.182.3 nameserver 192.168.182.4 options timeout:1 attempts:5 c.Use PuTTY to log in to OMS02. Log in as user opadmin using the management IP address of OMS02. Then, run the su - root command to switch to the root account. d.Change the value of nameserver in /etc/resolv.conf to the customer-provided DNS server IP address. For example: nameserver 192.168.182.3 nameserver 192.168.182.4 options timeout:1 attempts:5 16.(Optional) Log in to the DeviceManager and clear the alarm about the abnormal access switch port. After the IP address is changed, the switch may report an Access Switch Port Link Is Abnormal alarm. Because the monitoring process is not started yet, the message about the recovery of the switch port fails to be received. Therefore, you need to manually clear the Access Switch Port Link Is Abnormal alarm. For details about how to clear the alarm, refer to the online help on the interface of the DeviceManager.

Change the management IP address of the S1728GWR-4P switch
Change the management IP address of an S1728GWR-4P switch as follows: Choose System > IP. On the page displayed, configure the switch information such as the management VLAN and IP address. By default, the switch obtains an IP address through DHCP. If the switch fails to obtain an IP address through DHCP, the switch uses the IP address of 192.168.0.1. Perform the following operation to configure the switch to obtain an IP address through DHCP: 1. Choose System > IP. 2. Specify an available management VLAN for the switch and set IP地址方式 to DHCP. 3. Click Apply to save the configuration. 4. Click Restart DHCP to obtain a new IP address. Perform the following operations to configure a static IP address for the switch: 1. Choose System > IP. 2. Specify an available management VLAN for the switch, set IP Address Mode to Static, and enter an IP address, subnet mask, and gateway IP address. 3. Click Apply to save the configuration.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top