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-MOBackupService_100001 Backup Failed

ALM-MOBackupService_100001 Backup Failed

Alarm Description

This alarm is generated when service backup fails.

Alarm Attribute

Alarm ID

Alarm Severity

Alarm Type

MOBackupService_100001

Major

Operation alarm

Alarm Parameters

Parameter

Description

Service Type

Type of the service to be backed up.

Impact on System

Service backup fails. When the service data is abnormal, the service restoration will fail.

Possible Causes

  • Failed to back up database instances.
  • Failed to upload files to the remote server.
  • Failed to download files to a local directory.
  • The database instance cannot be found.
  • The backup task times out.
  • SDR files fail to be obtained.
  • Failed to deliver the task.

Handling Procedure

  1. Check whether you can use PuTTY to log in to the SFTP backup server using the IP address, port number, and protocol in the alarm parameters.

    The default username is sftpuser.

    The username and password of the SFTP backup server must be the same as those set when the SFTP backup server is created for ManageOne.
    • If yes, the backup server can be logged in.
    • If no, check the configuration of the backup server by referring to Preparing the SFTP Server.

  2. Check whether the disk space of the backup server is insufficient.

    1. Use PuTTY to log in to the backup server using the IP address, port number, and protocol in the alarm parameters.

      The default username is sftpuser.

      The username and password of the backup server must be the same as those set when the backup server is created for ManageOne.

    2. Run the following command to check whether the disk space is insufficient:

      df -h Backup directory

      Backup directory must be the same as that of the backup server.

      The command output is as follows. The value of Avail is the remaining disk space.

      Filesystem                  Size  Used Avail Use% Mounted on
      /dev/mapper/oss_vg-opt_vol  172G  115G   49G  71% /opt
      NOTE:

      Ensure that the storage space of the server is greater than or equal to 10 GB.

      • If the disk space is insufficient, release the disk space.
      • If the disk space is sufficient, go to 3.

  3. Check whether the user has the write permission on the backup directory.

    1. Use PuTTY to log in to the backup server using the IP address, port number, and protocol in the alarm parameters.

      The default username is sftpuser.

      The username and password of the backup server must be the same as those set when the backup server is created for ManageOne.

    2. Run the following command to check whether the backup directory has the write permissions:

      ls -l Backup directory

      Backup directory must be the same as that of the backup server.

      If the command output contains letter w, the backup directory has the write permissions.

      -rwxr----- 1 ossadm ossgroup   3748 Jan  8 18:39 del.py
      -rw-r----- 1 ossadm ossgroup 208474 Jan  8 18:51 log_del.log
      -rw-r----- 1 ossadm ossgroup  87934 Jan  8 18:43 t2
      -rw-r----- 1 ossadm ossgroup  87934 Jan  8 18:44 t3
      • If yes, go to 4.
      • If no, replace the backup directory of the SFTP backup server or reconfigure the parameters of the backup server. For details, see Configuring a Backup Policy.

  4. Log in to the Service01, Service02, DB01, and DB02 nodes one by one, and check whether the four nodes can properly connect to the SFTP backup server:

    1. Log in to the Service01, Service02, DB01, and DB02 nodes one by one.
      • Log in to the Service01 and Service02 nodes one by one as the sopuser user.

        The default password of the sopuser user is D4I$awOD7k.

        Run the following command to switch to the ossuser user:

        su - ossuser

        The default password of the ossuser user is Changeme_123.

      • Log in to the DB01 and DB02 nodes one by one as the sopuser user.

        The default password of the sopuser user is D4I$awOD7k.

        Run the following command to switch to the ossadm user:

        su - ossadm

        The default password of the ossadm user is Changeme_123.

    2. Check whether the Service01, Service02, DB01, and DB02 nodes can properly connect to the SFTP backup server:

      sftp sftpuser@ IP address of the SFTP backup server

      NOTE:

      The username and password of the SFTP backup server must be the same as those set when the SFTP backup server is created for ManageOne.

      • If the connection is successful, go to 5.
      • If the connection fails, check the configuration of the SFTP backup server by referring to Preparing the SFTP Server.

  5. Perform the following operations to check the SDR backup file:

    1. Use PuTTY to log in to the ManageOne-Service01 node as the sopuser user.

      The default password of the sopuser user is D4I$awOD7k.

    2. Run the following command to log in to the SFTP operation SDR server:

      ssh meteradmin@Address of the SFTP operation SDR server

      The default password of the meteradmin user is ManageOne12#$.

      NOTE:
      • On ManageOne Maintenance Portal, choose System Management > Platform Configuration > System Maintenance. In the navigation tree on the left, click Configuration Information Management and then Configure Data Reporting. On the displayed page, click the METERSFTP group name. The IP address is the IP address of the SFTP operation SDR server.
      • If "Are you sure you want to continue connecting (yes/no)?" is displayed during the command execution, enter yes and then press Enter.
    3. Run the following command to switch to the root user:

      sudo su root

      Default password: Changeme_123

    4. Run the following commands to view the SDR backup file:

      cd /opt/meterfiles/uploads/

      ll

      Information similar to the following is displayed:

      drwxr-x--- 2 meteradmin users 16384 Mar  1 07:15 bandwidth
      drwxr-x--- 2 meteradmin users 16384 Mar  1 07:15 ip
      drwxr-x--- 2 meteradmin users 16384 Mar  1 07:15 lbaas
      drwxr-x--- 2 meteradmin users 20480 Mar  1 07:15 snapshot
      drwxr-x--- 2 meteradmin users 16384 Mar  1 07:15 vm
      drwxr-x--- 2 meteradmin users 16384 Mar  1 07:15 volume
      drwxr-x--- 2 meteradmin users 20480 Mar  1 07:15 vpnconnection
      • If the owner of all files is meteradmin in the command output, the SDR backup file is normal.
      • If the owner of all files in the command output is not meteradmin, the SDR backup file is abnormal. In this case, contact Huawei technical support.

  6. Use a browser to log in to ManageOne Deployment Portal.

    URL: https://Floating IP address of ManageOne Deployment Portal:31945, for example, https://192.168.0.1:31945

    Default account: admin; default password: Huawei12#$

  7. On ManageOne Deployment Portal, choose Application > Service Management > System Monitoring from the main menu.

    Click to switch to the ManageOne or CloudSOP-UniEP page and click the Relational Databases tab.
    NOTE:

    The managedbsvr-x-x@x-x database instance is displayed on the CloudSOP-UniEP page. Other database instances are displayed on the ManageOne page.

    Check whether the status of the instance whose Role is Slave is Running based on the database instance name in the alarm parameters.
    • If yes, go to 8.
    • If no, go to 9.

  8. Check and record whether the database can be connected.

    1. Use PuTTY to log in to the node where the database instance in the alarm resides through the IP address of that node.

      Default account: sopuser; default password: D4I$awOD7k

    2. Run the following command to switch to the database maintenance account dbuser:

      su - dbuser

      The default password of the dbuser user is Changeme_123.

    3. Run the following command to check whether the database can be connected:
      • Gauss database: is used to restore data about Deployment System Timer, Deployment System Framework, Deployment System, or IAM. For details about how to query the mapping between database instances and services, see Viewing the Database Instance Where the Database Service Is Deployed.

        LD_LIBRARY_PATH="/opt/gauss/app/lib" /opt/gauss/app/bin/gsql -d postgres -h Database node IP address -p Port number -W dbuserUser password

        Example:

        LD_LIBRARY_PATH="/opt/gauss/app/lib" /opt/gauss/app/bin/gsql -d postgres -h 192.168.152.23 -p 32089 -W Admin@123

        NOTE:

        Admin@123 is the default password of the dbuser user. Query the port number based on the database node IP address and database instance name in the alarm parameters. For details, see Viewing the Database Instance Where the Database Service Is Deployed.

      • Zenith database: is used to restore data about O&M Management, Operation Management, or Unified Log Center.

        For details about how to query the mapping between database instances and services, see Viewing the Database Instance Where the Database Service Is Deployed.

        LD_LIBRARY_PATH='/opt/zenith/app/lib:/opt/zenith/app/add-ons' /opt/zenith/app/bin/zsql sys/sysUser password@Database node IP address:Port number

        Example:

        LD_LIBRARY_PATH='/opt/zenith/app/lib:/opt/zenith/app/add-ons' /opt/zenith/app/bin/zsql sys/Admin@123@192.168.3.23:32081

        NOTE:

        Admin@123 is the default password of the dbuser user. Query the port number based on the database node IP address and database instance name in the alarm parameters. For details, see Viewing the Database Instance Where the Database Service Is Deployed.

  9. Back up the service by referring to Manually Backing Up Data.

    • If the backup is successful, the problem is resolved.
    • If the backup fails, contact Huawei technical support for assistance.

Alarm Clearance

This alarm will be automatically cleared after the fault is rectified.

Related Information

None

Translation
Download
Updated: 2019-08-30

Document ID: EDOC1100062365

Views: 35614

Downloads: 31

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