Associate Changes

After changing the BFM database user password, you must also change the password configured on the BFM server accordingly. The password configured on the BFM server must be the same as the new BFM database user password.

Procedure

  1. Obtain the encrypted password for the BFM database user.
    1. Log in to the BFM server as the bfm user. The initial password see Password Change Views.
    2. Run the bfmpwd command.

      The following information is displayed:

      please input encrypt type(1:encrypt for bfm(db/ftp/email...) password ;2:encrypt for iConfig security key):

    3. Enter 1.

      The following information is displayed:

      please input encrypt String:
      

    4. Enter the character string as prompted. The encrypted character string is generated.
  2. Update the password of the BFM database user in the BFM configuration file.
    1. Log in to the BFM server as the bfm user. The initial password see Password Change Views.
    2. Run the cd ${HOME}/bfm/tomcat/webapps/bme/WEB-INF/classes command to go to ${HOME}/bfm/tomcat/webapps/bme/WEB-INF/classes.
    3. Run the vi jdbc.properties command to open the jdbc.properties file.
    4. Change the bme.password value to the encrypted password of the BFM database user obtained in 1.

      bme.password=PYetPwGGDhXIXHXtvuZkrg==
      

    5. Run the :wq command to save and close the file.
    6. Restart the BFM to make the configuration take effect.

      • When the BFM is deployed in a single-node system, run the following commands as the bfm user in sequence to stop and start the BFM:

        stopapp

        startapp

      • When the BFM is deployed in a VCS two-node cluster, run the following commands as the root user in sequence to stop and start the BFM:

        hagrp -offline bfm_app_rg -any

        hagrp -online bfm_app_rg -any

        NOTE:

        In the preceding commands, bfm_app_rg is the service group names of the BFM application.

      • When the BFM is deployed in an HACS two-node cluster, run the following commands as the root user in sequence to stop and start the BFM:

        crm resource stop bfm_app_grp

        crm resource start bfm_app_grp

        NOTE:

        In the preceding commands, bfm_app_grp is the service group names of the BFM application.


Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.