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

HUAWEI CLOUD Stack 6.5.0 Alarm and Event Reference 04

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).
ALM-6029 Failed to Back Up Services Automatically

ALM-6029 Failed to Back Up Services Automatically

Description

The backup server automatically backs up services running on it at 03:00:00 every day. This alarm is generated when the automatic backup of a service fails.

Attribute

Alarm ID

Alarm Severity

Auto Clear

6029

Major

Yes

Parameters

Name

Meaning

Fault Location Info

Service: specifies the name of the service for which the alarm is generated.

Additional Info

  • region_name: specifies the name of the region for which the alarm is generated.
  • Service: specifies the name of the service for which the alarm is generated.
  • ErrorInfo: provides error information related to the alarm.

Impact on the System

System data fails to be backed up, which affects system reliability.

Possible Causes

  • The network is faulty.
  • The backup partition has insufficient space.

Procedure

  1. Use PuTTY to log in to the first FusionSphere OpenStack node through the IP address of the External OM plane.

    The default user name is fsp. The default password is Huawei@CLOUD8.

    The system supports both password and public-private key pair for identity authentication. If the public-private key pair is used for login authentication, see detailed operations in Using PuTTY to Log In to a Node in Key Pair Authentication Mode.

    NOTE:
    To obtain the IP address of the External OM plane, search for the required parameter on the Tool-generated IP Parameters sheet of the xxx_export_all.xlsm file exported from HUAWEI CLOUD Stack Deploy during software installation. The parameter names in different scenarios are as follows:
    • Region Type I scenario:

      Cascading system: Cascading-ExternalOM-Reverse-Proxy

      Cascaded system: Cascaded-ExternalOM-Reverse-Proxy

    • Region Type II and Region Type III scenarios: ExternalOM-Reverse-Proxy

  2. Run the following command and enter the password of user root to switch to user root:

    su - root

    The default password of user root is Huawei@CLOUD8!.

  3. Run the following command to disable user logout upon system timeout:

    TMOUT=0

  4. Run the following command to import environment variables:

    source set_env

    Information similar to the following is displayed:

      please choose environment variable which you want to import: 
      (1) openstack environment variable (keystone v3) 
      (2) cps environment variable 
      (3) openstack environment variable legacy (keystone v2) 
      (4) openstack environment variable of cloud_admin (keystone v3) 
      please choose:[1|2|3|4] 

  5. Enter 1 to enable Keystone V3 authentication and enter the password of OS_USERNAME as prompted.

    Default account format: DCname_admin; default password: FusionSphere123.

  6. Run the following command to view the result of the service backup:

    backup progress-get --service all --detail

    NOTE:

    In the command, all can be replaced with a separate service, such as cps or mongodb. If all is used, the backup result details of all services are displayed.

    The command output contains TOTAL and DETAIL parts.

    The backup results are obtained from the result column in the TOTAL part.

    TOTAL:
    +---------+---------------------+---------------------+---------+----------+---------+
    | service | start time          | end time            | result  | progress | message |
    +---------+---------------------+---------------------+---------+----------+---------+
    | cbs     | 2019-04-22 03:00:01 | 2019-04-22 03:00:23 | SUCCESS | 100%     |         |
    | cps     | 2019-04-22 03:00:01 | 2019-04-22 03:00:32 | SUCCESS | 100%     |         |
    | gaussdb | 2019-04-22 03:00:01 | 2019-04-22 03:00:39 | SUCCESS | 100%     |         |
    | mongodb | 2019-04-22 03:00:01 | 2019-04-22 03:00:46 | SUCCESS | 100%     |         |
    +---------+---------------------+---------------------+---------+----------+---------+
    • If DOING is displayed in the result column, run the command repeatedly at a recommended interval of 5 minutes.
    • If SUCCESS is displayed in the result column, the alarm will be automatically cleared, and no further action is required.
    • If FAILED is displayed in the result column, check whether the value of message in the command output is Upload backup file to third-party server failed.
      • If yes, the backup package fails to be uploaded to the third-party server. Check whether the connection to the third-party server is normal. After the fault is rectified, go to 11.
      • If no, go to 7.

  7. Query the errorcode field contained in the backup result.

    The errorcode field is obtained from the errorcode column in the DETAIL part of the command output.
    DETAIL:
    +---------+--------------------------------------+---------+----------+-----------+----------+
    | service | id                                   | result  | progress | errorcode | errormsg |
    +---------+--------------------------------------+---------+----------+-----------+----------+
    | cbs     | 564D82B5-14CD-7C60-6A1E-CAC910608867 | SUCCESS | 100%     | 0         |          |
    |         | 564D07D8-2D85-67F8-4B84-04E55FEEE592 | IGNORE  | 100%     | 0         |          |
    | cps     | 564D49B9-5C36-9768-FA51-54102E5A6044 | SUCCESS | 100%     | 0         |          |
    |         | 564D82B5-14CD-7C60-6A1E-CAC910608867 | IGNORE  | 100%     | 0         |          |
    |         | 564D07D8-2D85-67F8-4B84-04E55FEEE592 | IGNORE  | 100%     | 0         |          |
    | gaussdb | 564D49B9-5C36-9768-FA51-54102E5A6044 | SUCCESS | 100%     | 0         |          |
    |         | 564D07D8-2D85-67F8-4B84-04E55FEEE592 | IGNORE  | 100%     | 0         |          |
    | mongodb | 564D49B9-5C36-9768-FA51-54102E5A6044 | SUCCESS | 100%     | 0         |          |
    |         | 564D82B5-14CD-7C60-6A1E-CAC910608867 | SUCCESS | 100%     | 0         |          |
    |         | 564D07D8-2D85-67F8-4B84-04E55FEEE592 | SUCCESS | 100%     | 0         |          |
    +---------+--------------------------------------+---------+----------+-----------+----------+
    • If 20007 is displayed, go to 8.
    • If 10004, 10005, 10006, 20001, or 30002 is displayed, go to 10.
    • For other values, go to 12.

  8. Clean up the disk space and delete unnecessary backup files from the directory in the backup partition (the default directory is /opt/backup).

    backup package-delete --package package_name

  9. Run the following command to back up the target service:

    backup execute --service service

    After about 30 minutes, check whether the alarm is cleared.

    • If yes, no further action is required.
    • If no, go to 12.

  10. Obtain the ID of the host or VM that houses the service from the backup result, log in to the host or VM, and rectify the network exceptions if any. Then, go to 11.
  11. Run the following command to back up the target service:

    backup execute --service service_name

    After about 30 minutes, check whether the alarm is cleared.

    • If yes, no further action is required.
    • If no, go to 12.

  12. Contact technical support for assistance.

Related Information

None

Translation
Download
Updated: 2019-08-30

Document ID: EDOC1100062365

Views: 36904

Downloads: 31

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