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

Note

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. Log in to FusionInsight Manager of the source cluster.

  6. Choose Cluster > Services > ClickHouse, click Instance, and view the instance IP address of ClickHouseServer.

  7. 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.