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

FusionInsight HD 6.5.0 Administrator 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).
Backing Up Manager Data

Backing Up Manager Data

Scenario

To ensure FusionInsight Manager data security routinely or before and after a critical operation (such as capacity expansion and reduction, or patch installation) on Manager, Manager data needs to be backed up. The backup data can be used to recover the system if an exception occurs or the operation has not achieved the expected result, minimizing the adverse impact on services. Manager data to be backed up includes OMS data and LdapServer data.

System administrators can create a backup task in FusionInsight Manager to back up Manager data. Both automatic backup tasks and manual backup tasks are supported.

Prerequisites

  • A standby cluster for backing up data has been created. The mode of the standby cluster is the same as that of the active cluster. For details, see the Software Installation.
  • If the active cluster employs the security mode, cross-cluster trust relationship has been configured for the active and standby clusters. For details, see Configuring Cross-Cluster Mutual Trust Relationships. If the active cluster employs the normal mode, no cross-cluster trust relationship is required.
  • Cross-cluster replication has been configured for the active and standby clusters. For details, see Enabling Cross-Cluster Replication.
  • The time of the active cluster and standby cluster must be the same, and the NTP service in the active and standby clusters must use the same time source.
  • Based on the service requirements, plan the backup type, period, policy, and other specifications, and check whether Data path/LocalBackup/ has sufficient space on active and standby management nodes.
  • The resource pool information displayed on the FusionInsight Manager Tenant page is stored in the HDFS /user/mapred/node-labels directory. You need to back up both Manager data and data stored in the directory. For details, see section Backing Up HDFS Data.
  • If you want to back up data to the NAS, you need to deploy the NAS server in advance.
  • You have logged in to FusionInsight Manager.

Procedure

  1. On FusionInsight Manager, choose O&M > Backup and Restoration > Backup Management.
  2. Click Create.
  3. Set Name to the name of the backup task.
  4. Set Mode to the type of the backup task. Periodic indicates that the backup task is periodically executed and Manual indicates that the backup task is manually executed.

    To create a periodic backup task, set the following parameters in addition to the preceding parameters:

    • Start Time: indicates the time when the task is started for the first time.
    • Period: indicates task execution interval. The options include By Hours and By Days.
    • Backup Policy: Only Full backup every time is supported.

  5. Set Configuration to OMS and LdapServer.
  6. Set Path Type of OMS and LdapServer to a backup directory type.

    The following backup directory types are supported:

    • LocalDir: indicates that the backup files are stored on the local disk of the active management node and the standby management node automatically synchronizes the backup file. The default save path is Data path/LocalBackup/. If you select this value, you need to set Maximum number of backup copies to specify the number of backup files that can be retained in the backup directory.
    • LocalHDFS: indicates that the backup files are stored in the HDFS directory of the current cluster. If you select this value, you need to set the following parameters:
      • Target path: indicates the backup file save path in the HDFS. The save path cannot be an HDFS hidden directory, such as snapshot or recycle bin directory, or a default system directory, such as /hbase or /user/hbase/backup.
      • Maximum Number of Backup Copies: indicates the number of backup files that can be retained in the backup directory.
      • Target NameService Name: indicates the NameService name that corresponds to the backup directory. The default value is hacluster.
    • RemoteHDFS: indicates that the backup files are stored in the HDFS directory of the standby cluster. If you select this value, you need to set the following parameters:
      • Target NameNode IP address: indicates the NameNode service plane IP address of the standby cluster, supporting the active node or standby node.
      • Target Path: indicates the HDFS directory for storing standby cluster backup data. The save path cannot be an HDFS hidden directory, such as snapshot or recycle bin directory, or a default system directory, such as /hbase or /user/hbase/backup.
      • Maximum Number of Backup Copies: indicates the number of backup files that can be retained in the backup directory.
      • Queue Name: indicates the name of the YARN queue used for backup task execution. The name must be the same as the name of the queue that is running properly in the cluster.
    • NFS: indicates that backup files are stored in the NAS over the NFS protocol. If you select NFS, set the following parameters:
      • Server IP Address: indicates the NAS server IP address.
      • Server Shared Path: indicates the configured shared directory on the NAS server.
      • Maximum Number of Backup Copies: indicates the number of backup files that can be retained in the backup directory.
    • CIFS: indicates that backup files are stored in the NAS over the CIFS protocol. If you select CIFS, set the following parameters:
      • Server IP Address: indicates the NAS server IP address.
      • Port: indicates the port ID used by the CIFS protocol to connect to the NAS server. The default value is 445.
      • Username: indicates the user name that is configured when setting the CIFS protocol.
      • Password: indicates the password that is configured when setting the CIFS protocol.
      • Server shared Path: indicates the configured shared directory on the NAS server.
      • Maximum Number of Backup Copies: indicates the number of backup files that can be retained in the backup directory.

  7. Click OK to save the settings.
  8. In the Operation column of the created task in the backup task list, choose More > Back UP Now to execute the backup task.

    After the backup task is executed, the system automatically creates a subdirectory for each backup task in the backup directory. The format of the subdirectory name is backup task name_task creation time, and the subdirectory is used to save data source backup files. The format of the backup file name is version_data source_task execution time.tar.gz.

Download
Updated: 2019-05-17

Document ID: EDOC1100074522

Views: 6128

Downloads: 12

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