All Products
Search
Document Center

Lindorm:Activate LindormDFS

Last Updated:Jun 08, 2023

This topic describes how to activate the LindormDFS service provided by Lindorm.

Note

LindormDFS is used as the underlying storage system of Lindorm. You can activate and use LindormDFS without the need to separately purchase resources for LindormDFS.

The storage capacity of LindormDFS is shared by all engine nodes in the same Lindorm instance. For more information about the paths in which the data of different engines is stored, see Data directory structure.

Activate LindormDFS in the console

Warning

After you activate LindormDFS for a Lindorm instance, data of the engines of the instance becomes visible in the console. Therefore, make sure that your data is secure when you use LindormDFS.

  1. Log on to the Lindorm console.

  2. On the Instances page, find the instance and click its ID.

  3. On the Instance Details page, click File Engine in the left-side navigation pane.

  4. Click Activate Now to activate LindormDFS.

Create configuration files

LindormDFS is compatible with HDFS protocols. You can use open source HDFS clients to access LindormDFS. For more information, see Use open source HDFS clients to connect to and use LindormDFS.

You must configure the following two files before you use an HDFS client to access LindormDFS:

  • core-site.xml: Configure the default access prefix.

  • hdfs-site.xml: Configure the information about nn that corresponds to the connection string used to access LindormDFS.

After you configure the preceding two files, Lindorm can automatically generate the configuration information required when you use an HDFS client to access multiple LindormDFS instances. If you want to access multiple LindormDFS instances at the same time, you need only to add the configuration information in the hdfs-site file to your hdfs-site file. This way, you can use the HDFS connection string to access the instances at the same time.

Procedure

  1. Log on to the Lindorm console.
  2. In the upper-left corner of the page, select the region in which the instance is located.
  3. On the Instances page, click the ID of the instance that you want to manage or click Manage in the Actions column corresponding to the instance.
  4. In the left-side navigation pane, click Database Connection.

  5. On the Database Connections page, click the File Engine tab.

  6. In the Client Access section, click Activate Now.

  7. Click Generate Configuration Items to generate the configuration information required for the hdfs-site file and core-site files.

Configure whitelists

Add the IP addresses of the LindormDFS nodes that you must access to the Lindorm whitelist. For more information, see Configure whitelists.

Note

LindormDFS cannot be accessed over the Internet.