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


To have a better experience, please upgrade your IE browser.


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).
Querying the ESN of the Host Where the eReplication Server Resides

Querying the ESN of the Host Where the eReplication Server Resides


This operation queries the ESN of the host where the eReplication Server is installed. The host ESN is required to apply for licenses.


  • Windows: esn.bat
  • Linux:



Usage Guidelines

  • Windows
    1. Log in to the eReplication Server as an administrator.
    2. Open the CLI and run the cd installation path\LegoRuntime\tools command to go to the script save path.

      In Windows, the default installation path of the eReplication Server is C:\BCManager\Runtime. The installation path is user-definable. You are advised not to install the eReplication Server on a system disk.

    3. Run the esn.bat command to query the ESN.

      ESN is written to the Esn.txt file. You can open the file under the installation path\LegoRuntime\tools directory to view the ESN.

  • Linux
    1. Use PuTTY to log in to the eReplication Server management server.
      • In template-based installation mode: Log in as user DRManager, and run the su root command to switch to user root.
      • In software package-based installation mode: Log in as user root.
      The default password of user DRManager is Huawei@CLOUD8. In template-based installation mode, the default password of user root is Huawei@CLOUD8!.
    2. Run the TMOUT=0 command to prevent PuTTY from exiting due to session timeout.

      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 exit to exit the system after completing your operations.

    3. Run the cd /opt/BCManager/Runtime/LegoRuntime/tools command to enter the script save path.

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

    4. Run the ./ command.


Linux is used as an example.

linux-h8g4:/opt/BCManager/Runtime/LegoRuntime/tools # ./
Press enter to exit.
Updated: 2019-05-21

Document ID: EDOC1100075861

Views: 17846

Downloads: 76

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