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) 10

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 Default Route Network Adapter of the OMMHA Two-Node Cluster Image

How Do I Change the Default Route Network Adapter of the OMMHA Two-Node Cluster Image

Question

If the image disc is used for installation, eSight uses eth0 to communicate with the external network by default. If the network adapter used for communicating with the external network is not eth0, change the default route network adapter to the network adapter connected to the external network.

Answer

  1. Stop eSight.
  2. Log in to the active eSight server as the root user using PuTTY.
  3. Run the following command to switch to the /etc/sysconfig/network directory:

    # cd /etc/sysconfig/network

  4. Disable the default network adapter eth0.

    1. Access the VIM editor.

      # vim ifcfg-eth0

    2. Use arrow keys to move the cursor to the line where DHCLIENT_SET_DEFAULT_ROUTE= is located.
    3. Press i, move the cursor to the line where DHCLIENT_SET_DEFAULT_ROUTE is located, and change the value to no.
      DHCLIENT_SET_DEFAULT_ROUTE='no'
    4. Press Esc and enter :wq to exit the VIM editor.

  5. Open the new network adapter. (The following describes how to change eth1 to the default route network adapter as an example.)

    1. Access the VIM editor.

      # vim ifcfg-eth1

    2. Use arrow keys to move the cursor to the line where DHCLIENT_SET_DEFAULT_ROUTE= is located.
    3. Press i, move the cursor, and change the value of DHCLIENT_SET_DEFAULT_ROUTE to yes.
      DHCLIENT_SET_DEFAULT_ROUTE='yes'
    4. Press Esc and enter :wq to exit the VIM editor.

  6. Run the following command to restart the network service:

    # service network restart

  7. Log in to the standby eSight server as the root user using PuTTY.
  8. Perform 3 to 6 on the standby eSight server.
  9. Start eSight.
Download
Updated: 2019-09-02

Document ID: EDOC1100011856

Views: 91929

Downloads: 53

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