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

FusionInsight HD 6.5.0 Software Installation 02

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).
Uninstalling the Manager

Uninstalling the Manager

Scenario

You need to uninstall the Manager if this version is not needed or the Manager installation fails.

NOTE:

If the software is installed in a specified directory, go to the specified directory to uninstall the software.

Prerequisites

  • Before uninstalling the Manager, ensure Uninstalling a Cluster. Otherwise, the system cannot be upgraded and the next software installation will be affected.
  • Before uninstalling the Manager, ensure that the communication between hosts is normal and the hosts are running properly. Otherwise, the cluster cannot be uninstalled.
  • Obtained the password of the user (user root or user omm) who performs the uninstallation.

Procedure

  1. Use PuTTY to log in to the standby management node as user root (or user omm).

    Log in to the servers where the Manager is deployed and run the status-oms.sh command to find the active and standby management nodes. The server is the active management node if the parameter value of HAActive in the displayed information is active. For example, mgtomsdat-sh-3-01-1 displayed in the following information is the active management node:

    sh ${BIGDATA_HOME}/om-server/om/sbin/status-oms.sh

    HAMode  
    double  
    NodeName              HostName                      HAVersion          StartTime                HAActive             HAAllResOK           HARunPhase    
    192-168-0-30          mgtomsdat-sh-3-01-1           V100R001C01        2018-11-18 23:43:02      active               normal               Actived     
    192-168-0-24          mgtomsdat-sh-3-01-2           V100R001C01        2018-11-21 07:14:02      standby              normal               Deactived 

  2. Go to the ${BIGDATA_HOME}/om-server/om/inst directory where the uninstallation script is stored.

    cd ${BIGDATA_HOME}/om-server/om/inst

  3. Run the following command to execute the script to uninstall the Manager:

    ./uninstall.sh

  4. Enter y to confirm the uninstallation.
  5. Log in to the active management node and uninstall the Manager in the same way.
  6. Check whether the software is uninstalled by user omm.

    • If yes, go to Step 7.
    • If no, no further action is required.

  7. Run the sh /opt/preset/postset.sh command on all nodes.

    NOTE:
    • The postset script is used to reclaim the cluster uninstallation permission of user omm. You can obtain the postset script from the FusionInsight_SetupTool/preset directory where the script installation tool package is decompressed.
    • After you uninstall the Manager as user omm, you are advised to log in to the active/standby management noedes as user root and run the userdel -rf omm command to delete the residual user information.

    You can use the script tool in the software package to run a command or access a file on multiple nodes in a cluster. For details, see How to Run Commands or Access Files on Multiple Nodes in a Cluster.

Download
Updated: 2019-05-17

Document ID: EDOC1100074555

Views: 5834

Downloads: 6

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