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).
Changing the Password of the Account Used by the eReplication Server to Access Databases

Changing the Password of the Account Used by the eReplication Server to Access Databases

Function

This operation changes the password of the account used by the eReplication Server to access databases.

Format

  • Windows: changedb.bat
  • Linux
    • GUI: changedb.sh
    • CLI: clichangedb.sh
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

Parameters

None

Usage Guidelines

  • Windows
    1. Log in to the eReplication Server as an administrator.
    2. Go to the installation path\bin directory of the eReplication Server.
      NOTE:

      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. Double-click the shutdownSystem.bat file and enter y to stop the eReplication Server.
    4. Run the /etc/init.d/gaussdb start or service gaussdb start command to start the GaussDB database.
    5. Double-click the changedb.bat file, enter the old password of the database, and click Next.
    6. On eReplication, change the password of the account used to access the database to the database password. Then click Test.
      NOTE:
      The password complexity requirements are as follows:
      • Contains 8 to 15 characters.
      • Must contain at least one special character from ~!@#$%^&*()-_=+\\|[{}];:,<.>/?
      • Must contain at least two of the following types of characters:
        • Uppercase letters
        • Lowercase letters
        • Digits
        • Cannot be the same as the username.
    7. If a message indicating connection success is displayed, the new password can be used to access databases. Click OK and Next.
    8. In the dialog box that is displayed indicating operation success, click OK.
    9. Double-click the startSystem.vbe file to restart the eReplication Server.
  • Linux
    • GUI
      1. Use PuTTY to log in to eReplication Server as user root.
        NOTE:
        If the template-based installation mode is adopted, use CLI for modification.
      2. Run the TMOUT=0 command to prevent PuTTY from exiting due to session timeout.
        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 exit to exit the system after completing your operations.

      3. Run cd /opt/BCManager/Runtime/bin command to enter the script save path.
        NOTE:

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

      4. Run the sh shutdownSystem.sh command and enter y to stop the eReplication Server.
      5. Run the /etc/init.d/gaussdb start or service gaussdb start command to start the GaussDB database.
      6. Run the sh changedb.sh command, enter the old password of the database, and click Next.
      7. On eReplication, change the password of the account used to access the database to the database password. Then click Test.
        NOTE:
        The password complexity requirements are as follows:
        • Contains 8 to 15 characters.
        • Contains at least one special character from ~!@#$%^&*()-_=+\\|[{}];:,<.>/?
        • Must contain at least two of the following types of characters:
          • Uppercase letters
          • Lowercase letters
          • Digits
          • Cannot be the same as the username.
      8. If a message indicating connection success is displayed, the new password can be used to access databases. Click OK and Next.
      9. In the dialog box that is displayed indicating operation success, click OK.
      10. Run the sh startSystem.sh command to start the eReplication Server.
    • CLI
      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.
        NOTE:
        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.
        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 exit to exit the system after completing your operations.

      3. Run cd /opt/BCManager/Runtime/bin command to enter the script save path.
        NOTE:

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

      4. Run the sh shutdownSystem.sh command and enter y to stop the eReplication Server.
      5. Run the sh clichangedb.sh command, type the old password of the database, and press Enter.
      6. On eReplication, change the password of the account used to access the database to the database password. Then click Enter.
        NOTE:
        The password complexity requirements are as follows:
        • Contains 8 to 15 characters.
        • Contains at least one special character from ~!@#$%^&*()-_=+\\|[{}];:,<.>/?
        • Must contain at least two of the following types of characters:
          • Uppercase letters
          • Lowercase letters
          • Digits
          • Cannot be the same as the username.
      7. Run the sh startSystem.sh command to start the eReplication Server.

Example

None
Translation
Download
Updated: 2019-05-21

Document ID: EDOC1100075861

Views: 10865

Downloads: 55

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