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

FusionCloud 6.3.1.1 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

Precautions

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

Database nodes of the current networking are as follows:

  • Database nodes in large-scale VM deployment scenario are as follows:
    • OM-Core01
    • OM-Core02
    • Manage-DB01
    • Manage-DB02
  • Database nodes in small-scale VM deployment scenario or logical networking of physical machine scenario are as follows:
    • OM-Core01
    • OM-Core02
    • Manage-Core01
    • Manage-Core02

Following procedure can be used to query database nodes:

  1. Use PuTTY to log in to the om_core1_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  Service Name                 Region       Tenant  Stage    IP            Port   State  DBType  Version  Role    Rpl Status  MasterID                     
    apmdbsvr-10_90_73_163-3@10_90_73_164-3       primary  apmdbsvr-10_90_73_163-3      cn-global-1  om      Product  10.90.73.163  32082  Up     mysql   5.6.35   Master  Normal      --                           
    apmdbsvr-10_90_73_163-3@10_90_73_164-3       primary  apmdbsvr-10_90_73_164-3      cn-global-1  om      Product  10.90.73.164  32082  Up     mysql   5.6.35   Slave   Normal      apmdbsvr-10_90_73_163-3 
    • apmdbsvr-10_90_73_163-3@10_90_73_164-3 indicates the database instance name, apmdbsvr-10_90_73_163-3 indicates the master database instance, and apmdbsvr-10_90_73_164-3 indicates the slave database instance.
    • Master indicates the master instance, and Slave indicates the standby instance.
    • om indicates OM Zone, and manage indicates Tenant Management Zone.
    • 10.90.73.163 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.

Translation
Download
Updated: 2019-06-10

Document ID: EDOC1100063248

Views: 23010

Downloads: 37

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