Help Center/ MapReduce Service/ User Guide/ FusionInsight Manager Operation Guide (Applicable to 3.x)/ Backup and Recovery Management/ How Do I Configure the Environment When I Create a ClickHouse Backup Task on FusionInsight Manager and Set the Path Type to RemoteHDFS?
Updated on 2024-04-11 GMT+08:00

How Do I Configure the Environment When I Create a ClickHouse Backup Task on FusionInsight Manager and Set the Path Type to RemoteHDFS?

This section applies only to MRS 3.1.0.

Question

How do I configure the environment when I create a ClickHouse backup task on FusionInsight Manager and set the path type to RemoteHDFS?

Answer

  1. Log in to FusionInsight Manager of the standby cluster.
  2. Choose Cluster > Services > HDFS and choose More > Download Client. Set Select Client Type to Configuration Files Only, select x86_64 for x86 or aarch64 for ARM based on the type of the node where the client is to be installed, and click OK.
  3. After the client file package is generated, download the client to the local PC as prompted and decompress the package.

    For example, if the client file package is FusionInsight_Cluster_1_HDFS_Client.tar, decompress it to obtain FusionInsight_Cluster_1_HDFS_ClientConfig_ConfigFiles.tar, and then decompress FusionInsight_Cluster_1_HDFS_ClientConfig_ConfigFiles.tar to the D:\FusionInsight_Cluster_1_HDFS_ClientConfig_ConfigFiles directory on the local PC. The directory name cannot contain spaces.

  4. Go to the FusionInsight_Cluster_1_HDFS_ClientConfig_ConfigFiles\ client directory and obtain the hosts file.
  5. Go to FusionInsight_Cluster_1_HDFS_ClientConfig_ConfigFiles\HDFS\config to obtain the core-site.xml and hdfs-site.xml files.
  6. Log in to FusionInsight Manager of the source cluster.
  7. Choose Cluster > Services > ClickHouse, choose Configurations > All Configurations, and select backup under ClickHouse(Service).

    For remote_connect_core_config_file, click Upload File and select the core-site.xml file prepared in 5.

    For remote_connect_hdfs_config_file, click Upload File and select the hdfs-site.xml file prepared in 5.

  8. Click Save, confirm the information, and click OK to save the configuration. After saving the configurations, click Finish.
  9. Choose Cluster > Services > ClickHouse, click Instance, and view the instance IP address of ClickHouseServer.
  10. Log in to the host nodes of the ClickHouseServer instances as user root and check whether the /etc/hosts file contains the host information in 4. If not, add the host information in 4 to the /etc/hosts file.