No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

eSight V300R009C00 Local HA System Software Installation Guide (SUSE Linux + MySQL + OMMHA) 11

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
How Do I Change the Host Name, Route, or IP Address (SUSE Linux)

How Do I Change the Host Name, Route, or IP Address (SUSE Linux)

Question

How do I change the host name, route, or IP address of the eSight VM based on the network division?

Answer

You can perform operations in Changing the IP Address to change the IP address of the operating system, perform operations in Modifying the Route Information to modify the route information, and perform operations in Changing the Host Name to change the host name.

  • The following uses the active server as an example. After the operations are complete, perform the operations again on the standby server.
  • After the VM IP address is changed, you need to change the corresponding IP address on eSight.
  • Changing the IP Address
    1. Log in to the active eSight server as the root user using VNC.
    2. Go to the Network Settings window.
      1. Right-click on the system desktop and choose Open Terminal from the shortcut menu.
      2. In the command terminal window, run the yast2 lan command to go to the Network Settings window.

    3. Change the IP address and mask. The IPv6 address is used as an example.
      Assume that the network port corresponding to the system IP address is eth0, the IPv6 address is 3094::20, and the subnet mask is 64.
      1. On the Overview tab page, delete all default network settings.

        Select each network setting record and click Delete.

      2. Select the NIC where eth0 is located and click Edit.
      3. In the Network Card Setup window that is displayed, select Statically Assigned IP Address, set IP Address, Subnet Mask, and Hostname, and click Next.
        • In a local HA system, if eSight is installed using the FusionSphere OpenStack OM, obtain the heartbeat and replication IP address based on Local High Availability System Software Installation Guide (SUSE Linux + MySQL + OMMHA) >

          Installing eSight Using the FusionSphere OpenStack OM (Full Image) > Installing eSight in Full Image Mode > Querying the Heartbeat and Replication IP Address.

        • In a remote HA system, if eSight is installed using the FusionSphere OpenStack OM, obtain the heartbeat and replication IP address based on Remote High Availability System Software Installation Guide (SUSE Linux + MySQL + OMMHA) > Installing the eSight Using the FusionSphere OpenStack OM (Full Image) > Installing eSight in Full Image Mode > Querying the Heartbeat and Replication IP Address.

      4. Repeat 3.a to 3.c to set the heartbeat and replication IP address and the southbound IP address.

        The southbound IP address needs to be set only in the southbound and northbound service isolation scenario.

      5. Click OK to complete the IP address and mask settings.
    4. (Optional) In the new installation scenario where the IPv6 address is used, perform the following operations to change the value of net.ipv6.conf.default.accept_ra to 0:
      1. Open the /etc/sysctl.conf file.

        # vi /etc/sysctl.conf

      2. Press i to enter the editing mode.
        Change the value of net.ipv6.conf.default.accept_ra to 0.
        net.ipv6.conf.default.accept_ra = 0
      3. Press Esc to exit the editing mode, and run the :wq command to save and exit the file.
      4. Run the following commands for the modification to take effect:

        # sysctl -p

        # rcnetwork restart

      5. Run the following command to check whether the configuration takes effect:

        # ifconfig

        The IP address of the NIC must be the same as that configured in 3.

        eth0      Link encap:Ethernet  HWaddr FA:16:3E:3F:F2:42
                  inet6 addr: fe80::f816:3eff:fe3f:f242/64 Scope:Link
                  inet6 addr: 3094::20/64 Scope:Global
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:208814 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:118724 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:24729332 (23.5 Mb)  TX bytes:19400634 (18.5 Mb)
  • Modifying the Route Information
    1. Log in to the active eSight server as the root user using VNC.
    2. Go to the Network Settings window.
      1. Right-click on the system desktop and choose Open Terminal from the shortcut menu.
      2. In the command terminal window, run the yast2 lan command to go to the Network Settings window.

    3. If the heartbeat and replication IP address and southbound IP address are not in the same network segment as the default IPv6 gateway set on Network Settings > Routing, set the routing information.

      Assume that the heartbeat NIC is eth1, the destination IP address is ff00::0, the subnet mask is 64, and the gateway is 3093::1.

      1. Click Add in the Routing Table area on the Routing tab page.
      2. Set Destination, Genmask, Gateway, and Device.

      3. Click OK.

      4. (Optional) In the southbound and northbound service isolation scenario, configure the southbound routing information based on 3.a to 3.c.
      5. Click OK.
      6. In the command terminal window, run the yast2 lan command to go to the Network Settings window. Check whether configurations are consistent with the plan.
    4. Configure the default gateway.

      The default IPv6 gateway 3094::1 is used as an example.

      1. In the Network Settings window, click the Routing tab.
      2. Set Default IPv6 Gateway based on the plan and click OK to set the default IPv6 gateway.

  • Changing the Host Name
    1. Log in to the active eSight server as the root user using VNC.
    2. Go to the Network Settings window.
      1. Right-click on the system desktop and choose Open Terminal from the shortcut menu.
      2. In the command terminal window, run the yast2 lan command to go to the Network Settings window.

    3. Change the host name of the operating system.
      1. On the Hostname/DNS tab change, change the host name.
        • Different host names must be configured for the active and standby servers. For example, the active server name is eSightServer1 and the standby server name is eSightServer2.
        • If FusionSphere OpenStack OM is used for deployment, the host name of the VM operating system must be the same as the VM name set during VM creation.
        • If ManageOne ServiceCenter is used for deployment, the host name of the VM operating system must be the same as the cloud host name set during VM creation.

      2. In the Network Settings window, click the Routing tab.
      3. Select the NIC where eth0 is located and click Edit.
      4. In the Network Card Setup window, select Statically Assigned IP Address, set Hostname to that configured in 3.a, and click Next.

      5. Repeat 3.c to 3.d set the host names of eSight NICs in sequence.
      6. Click OK.
Download
Updated: 2019-11-22

Document ID: EDOC1100011856

Views: 96073

Downloads: 56

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next