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 Administrator 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 for a Database User

Changing the Password for a Database User

Changing the Password for the OMS Database Administrator

Scenario

Periodically change the password for the OMS database administrator to ensure the system O&M security.

Procedure
  1. Use PuTTY to log in to the active management node using the active management IP address as user root.

    NOTE:

    The password of user ommdba cannot be changed on the standby management node; otherwise, the cluster cannot work properly. The password of user ommdba can be changed after the system administrator performs operation only on the active management node. The operation does not need to be performed on the standby management node.

  2. Run the following command to switch to the user:

    su - omm

  3. Run the following command to go to the directory:

    cd $OMS_RUN_PATH/tools

  4. Run the following command to change the password for user ommdba:

    mod_db_passwd ommdba

  5. Enter the old password of user ommdba and enter a new password twice. The password changing takes effect on all servers.

    The password complexity requirements are as follows:

    • The password ranges from 16 to 32 characters.
    • The password must contain at least three types of the following: lowercase letters, uppercase letters, digits, and special characters which can only be ~`!@#$%^&*()-+_=\|[{}];:",<.>/?
    • The password cannot be the same as the username or reverse username.
    • The password cannot be the same as the last 20 historical passwords.

    If the following information is displayed, the password is changed successfully.

    Congratulations, update [ommdba] password successfully.

Changing the Password for the OMS Database Data Access User

Scenario

Periodically change the password for the OMS data access user to ensure the system O&M security.

Impact on the System

The OMS service needs to be restarted for the password changing to take effect. The cluster is unavailable during the restart.

Procedure
  1. Choose System > OMS > gaussDB > Change Password on FusionInsight Manager.
  2. Locate the row that contains user omm and click Change Password in the Operation to change the password for the OMS database user.
  3. In the displayed window, enter the password of the current login administrator user and click OK.
  4. Enter the old and new passwords as prompted.

    The password complexity requirements are as follows:
    • The password ranges from 8 to 32 characters.
    • The password must contain at least three types of the following: lowercase letters, uppercase letters, digits, and special characters which can only be ~`!@#$%^&*()-+_=\|[{}];:",<.>/?
    • The password cannot be the same as the username or reverse username.
    • The password cannot be the same as the last 20 historical passwords.

  5. Click OK. After the system displays Operation succeeded, click Finish.
  6. Locate the row that contains user omm and click Restart OMS Service in the Operation to restart the OMS database.
  7. In the displayed window, enter the password of the current login administrator user and click OK.
  8. In the dialog box that is displayed, click OK, and then restart the OMS service.

Changing the Password for a Component Database User

Scenario

Periodically change the password for each component database user to improve the system O&M security.

Impact on the System

The services need to be restarted for the password changing to take effect. The services are unavailable during the restart.

Procedure
  1. Choose Cluster > Service on FusionInsight Manager.
  2. Determine the component database user whose password is to be changed.

    • To change the password for the DBService database user, go to Step 3.
    • To change the password for the Hive, Hue, Loader, Oozie, Redis, or Metadata database user, you must stop the service first, and go to Step 3.

  3. Click the name of the database user service to be modified and choose More > Change Database Password. In the displayed window, enter the password of the current login administrator user and click OK.
  4. Enter the old and new passwords as prompted.

    The password complexity requirements are as follows:

    • The password of the DBService database contains 16 to 32 characters and passwords of other component databases contain 8 to 32 characters.
    • The password must contain at least three types of the following: lowercase letters, uppercase letters, digits, and special characters which can only be ~`!@#$%^&*()-+_=\|[{}];:",<.>/?
    • The password cannot be the same as the username or reverse username.
    • The password cannot be the same as the last 20 historical passwords.

  5. Select I have read the information and understood the impact. and click OK. The system automatically restarts the service. Operation succeeded is displayed. Click Finish.
Download
Updated: 2019-05-17

Document ID: EDOC1100074522

Views: 6229

Downloads: 12

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