Creating a NameNode Zone

This operation enables you to create a NameNode zone to process metadata requests.

Procedure

  1. Choose Services > HDFS Service > Service Network.
  2. Click Create NameNode Zone.

    The Create Zone page is displayed.

  3. Configure basic zone information.

    Table 1 describes related parameters.

    Table 1 Basic zone parameters

    Parameter

    Description

    Name

    Indicates the name of the zone.

    NOTE:
    • The name must be unique.
    • The name contains 1 to 31 characters.
    • The name can contain only letters, digits, underscores (_), hyphens (-), and periods (.), and must start with a letter and cannot end with an underscore (_), hyphen (-), or period (.).

    Subdomain Name

    Indicates the subdomain name of the zone. This function must be used together with the DNS function in the subnet.

    NOTE:

    The subdomain name of a NameNode zone cannot be the same as that of the Global zone.

    Associated File System

    Click Select. On the Associate File System page that is displayed, select a file system and click OK.

    DNS Policy

    Indicates the DNS policy of the zone. Possible options are as follows:

    • Round-robin

      If clients access services using domain names, nodes are selected to process service requests of clients based on the sequence recorded in the cache.

    • Number of node connections

      If clients access services using domains names, nodes with the fewest connections are selected to process service requests of clients.

    • CPU usage

      If clients access services using domains names, nodes with the lowest CPU usage are selected to process service requests of clients.

    • Port throughput

      If clients access services using domains names, nodes with the lowest throughput are selected to process service requests of clients.

    DNS

    Indicates whether to enable the DNS service to resolve the subdomain name of a NameNode zone.

    After enabling DNS for the subnet, setting a subdomain name for a NameNode zone, and enabling DNS for the NameNode zone, the HDFS service of the NameNode zone can be accessed through the subdomain name.

    IP Address Failover

    Indicates whether to enable IP address failover. After this parameter is enabled, when a node is faulty, its IP address can be automatically allocated to another normal node. Therefore, clients can continue to access the storage system using this IP address. You are advised to enable this function for NameNode zones.

  4. Click Next.
  5. Configure the IP address pool.

    • Adding an IP address
      1. Click Add.

        The Add IP Address page is displayed.

      2. Configure the IP address.

        Table 2 describes related parameters.

        Table 2 IP address parameters

        Parameter

        Description

        Type

        Indicates the type of the IP address. The value can be IP Address or IP Address Segment.

        IP Address/Subnet Mask

        The value is the planned service IP address and subnet mask when Type is set to IP Address.

        Start IP Address/Subnet Mask

        The value is the planned start service IP address and subnet mask when Type is set to IP Address Segment.

        End IP Address/Subnet Mask

        The value is the planned end service IP address and subnet mask when Type is set to IP Address Segment.

      3. Click OK.
    • Modifying an IP address
      1. Click More on the right of the desired IP address and select Modify.

        The Modify IP Address page is displayed.

      2. Configure the IP address.

        Table 3 describes related parameters.

        Table 3 IP address parameters

        Parameter

        Description

        IP Address/Subnet Mask

        This parameter is available only when Type is set to IP Address.

        Start IP Address/Subnet Mask

        This parameter is available only when Type is set to IP Address Segment.

        End IP Address/Subnet Mask

        This parameter is available only when Type is set to IP Address Segment.

      3. Click OK.
    • Removing an IP address
      Select one or more desired IP addresses and click Remove.

      You can also click More on the right of a desired IP address and select Remove.

  6. Click Next.
  7. Configure the port pool.

    • Adding a port
      1. Click Add.

        The Add Port page is displayed.

      2. Select the ports to be added.
      3. Click OK.
    • Removing a Port
      Select one or more desired ports and click Remove.

      You can also click More on the right of a desired port and select Remove.

  8. Click OK.