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

OceanStor BCManager 6.5.0 eReplication User Guide 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 OceanStor BCManager Server in Linux

Uninstalling the OceanStor BCManager Server in Linux

You can uninstall the eReplication Server when it is no longer needed for DR protection. In Linux, you can uninstall the eReplication Server using the GUI or the CLI.

Context

In Linux, a password can be changed on the CLI.
NOTE:
Run the startx command. If the following information is not displayed, the system supports the X Window System.
Command not found

CLI

You can uninstall the eReplication Server when it is no longer needed for DR protection. This section describes how to uninstall the eReplication Server on the CLI.

Prerequisites

  • A cross-platform remote access tool, such as PuTTY, has been obtained.
  • The password of user root of the server where the eReplication Server is to be uninstalled has been obtained.

Procedure

  1. Use PuTTY to log in as user root to the server where the eReplication Server is to be uninstalled.
  2. Run the following command to prevent PuTTY from exiting due to session timeout:

    TMOUT=0

    NOTE:

    After you run this command, the system continues to run when no operation is performed, resulting a risk. For security purposes, you are advised to run the exit command to exit the system after completing your operations.

  3. Run the following command to go to the save directory of the script:

    cd /opt/BCManager/Runtime/bin

    NOTE:

    In Linux, the installation path of the eReplication Server is /opt/BCManager. The path is fixed.

  4. Run the following command to stop the eReplication Server service:

    sh shutdownSystem.sh

    The following command output is displayed:

    You are about to stop the DR system.
    This operation will stop the DR system. DR protection is unavailable when the DR system is stopped.
    
    Suggestion: After the configuration is complete, restart the DR system as soon as possible.
    
    Are you sure you want to stop the DR system? (y/n):

  5. Enter y and press Enter.

    eReplication Server is stopped successfully if the following command output is displayed:

    The DR system is shut down successfully.

  6. Run the following command to uninstall the eReplication Server.

    sh cliUninstall.sh

    The following command output is displayed:

    You are about to uninstall the DR system.
    This operation will uninstall the DR system. After uninstallation, the DR system will be deleted from the operating system and cannot be restored.
    
    Suggestion: Ensure that the DR system is no longer needed before uninstalling it.
    
    Are you sure you want to uninstall the DR system? (y/n): 

  7. Enter y and press Enter.

    The uninstallation is successful if the following command output is displayed:

    Preparing to uninstall the OceanStor
    BCManager software, please wait...
    Uninstallation is completed.
    
    ************Uninstall Succeed!************
    NOTE:

    In Linux, after the uninstallation is complete, you need to run the following operations to clear unnecessary files:

    • Run the cd /opt command to go to the /opt directory.
    • Run the rm -rf BCManager command to delete the BCManager directory and all files residing on this directory.

GUI

You can uninstall the eReplication Server when it is no longer needed for DR protection. This section describes how to uninstall the eReplication Server using the GUI.

Prerequisites

  • A cross-platform remote access tool, such as PuTTY, has been obtained.
  • The password of user root of the server where the eReplication Server is to be uninstalled has been obtained.

Procedure

  1. Use PuTTY to log in as user root to the server where the eReplication Server is to be uninstalled.
  2. Run the following command to prevent PuTTY from exiting due to session timeout:

    TMOUT=0

    NOTE:

    After you run this command, the system continues to run when no operation is performed, resulting a risk. For security purposes, you are advised to run the exit command to exit the system after completing your operations.

  3. Run the following command to go to the save directory of the script:

    cd /opt/BCManager/Runtime/bin

    NOTE:

    In Linux, the installation path of the eReplication Server is /opt/BCManager. The path is fixed.

  4. Run the following command to stop the eReplication Server service:

    sh shutdownSystem.sh

    The following command output is displayed:

    You are about to stop the DR system.
    This operation will stop the DR system. DR protection is unavailable when the DR system is stopped.
    
    Suggestion: After the configuration is complete, restart the DR system as soon as possible.
    
    Are you sure you want to stop the DR system? (y/n):

  5. Enter y and press Enter.

    eReplication Server is stopped successfully if the following command output is displayed:

    The DR system is shut down successfully.

  6. Run the following command to uninstall the eReplication Server.

    sh uninstall.sh

  7. Read the warning message and click OK.



  8. After the uninstallation progress reaches 100%, click OK in the dialog box that is displayed.

    NOTE:

    In Linux, after the uninstallation is complete, you need to run the following operations to clear unnecessary files:

    • Run the cd /opt command to go to the /opt directory.
    • Run the rm -rf BCManager command to delete the BCManager directory and all files residing on this directory.

Translation
Download
Updated: 2019-05-21

Document ID: EDOC1100075861

Views: 10570

Downloads: 55

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