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 Obtain the System IP Addresses of the Active and Standby Servers

How Do I Obtain the System IP Addresses of the Active and Standby Servers

Question

How do I obtain the system IP addresses of the active and standby servers?

Answer

  1. Log in to the eSight server through the floating IP address of eSight. The server that is logged in to is the active server.
  2. Obtain the system IP addresses of the active and standby servers.

    # cat /opt/eSight/mttools/ha/var/ServerMode.xml

    <?xml version="1.0" encoding="utf-8"?>
    <root>
      <Server name="">
        <ip>10.137.116.89</ip>
      </Server>
      <Server name="">
        <ip>10.137.116.88</ip>
      </Server>
    </root>

    The IP addresses in the <ip> tags are the system IP addresses of the active and standby servers.

  3. Obtain the system IP address of the current active server.

    Run the following command as the root user to obtain all IP addresses of the current active server:

    # ip addr

    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
        link/ether 00:0c:29:9d:4d:51 brd ff:ff:ff:ff:ff:ff
        inet 10.137.116.88/24 brd 10.137.116.255 scope global eth0

    In the information, if the IP address next to inet is the same as an IP address obtained in 2, the IP address is the system IP address of the active server. The other IP address obtained in 2 is the system IP address of the standby server.

Download
Updated: 2019-11-22

Document ID: EDOC1100011856

Views: 96137

Downloads: 56

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