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.


HUAWEI CLOUD Stack 6.5.0 Troubleshooting 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).
DBM Database Recovery

DBM Database Recovery


During the recovery, do not perform any operations that affect database functions, for example, start or stop the database or database nodes. Otherwise, the recovery may fail.

Node Description

Following procedure can be used to query database nodes:

  1. Use PuTTY to log in to the manage_db1_ip node.

    The default username is paas, and the default password is QAZ2wsx@123!.

  2. Run the following commands to query the database replication status:

    cd /opt/paas/oss/manager/apps/DBAgent/bin

    ./dbsvc_adm -cmd query-db-instance

    Information similar to the following is displayed:

    DBInstanceId                                  ClassId  InstNumber                         Tenant          IP             Port   State  DBType  Version            Role    Rpl Status  MasterID                      GuardMode  DataCheckSum  isSSL
    apmdbsvr-10_186_66_155-1@10_186_67_174-1      primary  apmdbsvr-10_186_66_155-1           fst-manage  32081  Up     gauss   V100R003C20SPC112  Master  Normal      --                            --         908781404     off
    apmdbsvr-10_186_66_155-1@10_186_67_174-1      primary  apmdbsvr-10_186_67_174-1           fst-manage  32081  Up     gauss   V100R003C20SPC112  Slave   Normal      apmdbsvr-10_186_66_155-1      --         908779606     off
    • apmdbsvr-10_186_66_155-1@10_186_67_174-1 indicates the database instance name, apmdbsvr-10_186_66_155-1indicates the master database instance, and apmdbsvr-10_186_67_174-1indicates the slave database instance.
    • Master indicates the master instance, and Slave indicates the standby instance.
    • fst-manage indicates Tenant Management Zone.
    • indicates the IP address of the node where the database instance resides, and 32082 indicates the number of the port used by the database instance.
    • -- indicates a single-instance node. There is no replication status for a single node.

Updated: 2019-06-01

Document ID: EDOC1100062375

Views: 1172

Downloads: 12

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