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 V300R010C00 Maintenance Guide 07

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).
Forcibly Setting the Local Server as the Active Server

Forcibly Setting the Local Server as the Active Server

This section describes how to forcibly set the local server as the active server.

Prerequisites

Resource items on the active and standby servers are normal. If a resource item is faulty, you need to manually clear the fault.

Procedure

  1. Log in to the active and standby servers as the root user and run the following command:

    NOTE:

    If the SUSE Linux operating system has been hardened, log in to eSight as the ossuser user and then switch to the root user.

    # hagrp -offline AppService -sys Server host name

    NOTE:

    Run the following command to query the AppService resource status. Perform subsequent operations after ensuring that the resource status is displayed as OFFLINE:

    # hagrp -state AppService -sys Server host name

  2. Log in to the active server as the root user.
  3. (Optional) If the local HA system is used, run the following command to ensure that the floating IP address is online:

    # hares -online FloatIP -sys Host name of the active server

  4. Run the following command to bring the mountFileRes resource of the active server online:

    # hares -online mountFileRes -sys Host name of the active server

  5. Run the following commands to start the eSight maintenance tool:

    # su - ossuser

    # cd /opt/eSight/mttools/bin

    # ./start-sysmon-ha.sh

  6. Log in to the eSight maintenance tool of the active server from a client.

    1. Enter https://Server IP address:Port number in the address box and press Enter.
      • The default port number of the eSight maintenance tool is 31945.
      • If the server has multiple IP addresses, enter the IP address selected during eSight server installation in the address box. Otherwise, eSight cannot be used.
    2. On the maintenance tool login page, enter the user name sys and the password, and log in.
      NOTE:

      Change the password at the first login. The default password is Changeme123.

  7. Choose HA Management > HA Deployment from the main menu.
  8. Select Force primary.

    NOTE:

    Forcibly setting the local server as the active server will overwrite data on the peer server with that on the local server. Excise caution when performing the operation.

  9. Click Apply.

    In the Confirm dialog box that is displayed, click Yes to forcibly set the local server as the active server. If the connection success information is displayed, the local server that the user logs in to becomes the active server.

    NOTE:

    If the maintenance tool page cannot be accessed when the local server is forcibly set as the active serve, see How Do I Do If the Maintenance Tool Cannot Be Accessed When the Local Server is Forcibly Set as the Primary Server.

  10. Click Close.
  11. Stop the eSight maintenance tool process on the active server.

    Run the following commands as the ossuser user:

    cd /opt/eSight/mttools/bin

    ./stop-sysmon.sh

Translation
Download
Updated: 2019-06-30

Document ID: EDOC1100044373

Views: 24744

Downloads: 74

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