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 eReplication Agent

Changing the Password of the eReplication Agent

Function

This operation changes the password configured during the eReplication Agent installation.

Format

  • Windows: agentcli.exe chgpwd
  • Linux/AIX/HP-UX: /home/rdadmin/Agent/bin/agentcli chgpwd
  • Solaris:/export/home/rdadmin/Agent/bin/agentcli chgpwd

Parameters

None

Usage Guidelines

  • Windows
    1. Log in as an administrator to the application server where the eReplication Agent is installed.
    2. Open the CLI and run the cd Agent installation path\bin command.
    3. Run the agent_stop.bat command to stop the eReplication Agent.

      If the eReplication Agent is stopped, the eReplication Agent can no longer manage service hosts (such as database servers). Therefore, unless for maintenance or fault-locating purposes, do not stop the eReplication Agent.

    4. Run the agentcli.exe chgpwd command.
    5. Type the old password and press Enter.
    6. Type a new password and press Enter.
      NOTE:
      The password complexity requirements are as follows:
      • Contains 8 to 16 characters.
      • Must contain special characters, including `~!@#$%^ &*()-_=+\|[{}];:'",<.>/?
      • Contains at least two of the following types of characters:
        • Uppercase letters
        • Lowercase letters
        • Digits
      • Cannot be the same as the username or mirror writing of the username.
      • Cannot be the same as the old passwords.
      • Cannot contain spaces.
    7. Type the new password again and press Enter.
    8. Run the agent_start.bat command to restart the eReplication Agent to make the configuration take effect.
  • Linux/AIX/HP-UX is used as an example
    1. Use PuTTY to log in as root to the application server where the eReplication Agent is installed.
    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 the su - rdadmin command to switch to user rdadmin.
    4. Run the cd /home/rdadmin/Agent/bin command to go to the script save path.
    5. Run the sh agent_stop.sh command to stop the eReplication Agent.

      You must stop the eReplication Agent before changing the password configured during the eReplication Agent installation. eReplication You can no longer manage service hosts (such as database servers) after the eReplication Agent is stopped. Stop the eReplication Agent only for fault diagnosis.

    6. Run the /home/rdadmin/Agent/bin/agentcli chgpwd command.
    7. Type the old password and press Enter.
    8. Type a new password and press Enter.
      NOTE:
      The password complexity requirements are as follows:
      • Contains 8 to 16 characters.
      • Must contain special characters, including `~!@#$%^ &*()-_=+\|[{}];:'",<.>/?
      • Contains at least two of the following types of characters:
        • Uppercase letters
        • Lowercase letters
        • Digits
      • Cannot be the same as the username or mirror writing of the username.
      • Cannot be the same as the old passwords.
      • Cannot contain spaces.
    9. Type the new password again and press Enter.
    10. Run the sh agent_start.sh command to restart the eReplication Agent to make the configuration take effect.

Example

Linux is used as an example.

linux87:/home/rdadmin/Agent/bin/agentcli chgpwd
Enter password of admin:
Enter new password:
Enter the new password again:
Password of admin is modified successfully.
NOTE:

admin is the username configured during the eReplication Agent installation.

Translation
Download
Updated: 2019-05-21

Document ID: EDOC1100075861

Views: 14578

Downloads: 70

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