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

    Sub-domain Name

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

    NOTE:

    The sub-domain name of a NameNode zone cannot be the same as that of the Global zone.

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

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

    • Node throughput

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

    DNS Service

    Indicates whether to enable the DNS service to resolve the sub-domain name of the NameNode zone.

    After enabling DNS for the subnet, setting a sub-domain name for the NameNode zone, and enabling DNS for the NameNode zone, the HDFS service of the NameNode zone can be accessed through the sub-domain 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.

    1. Click Add.

      The Add IP Address page is displayed.

    2. Configure IP address information.

      Table 2 describes related parameters.

      Table 2 IP address parameters

      Parameter

      Description

      Type

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

      IP Address/Mask

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

      Start IP Address/Mask

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

      End IP Address/Mask

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

    3. Click OK.

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

    1. Click Add.

      The Add Port page is displayed.

    2. Select the ports to be added.

      You are advised to select bond ports.

    3. (Optional) Manage bond ports.
      1. Click Manage Bond Port.

        The Manage Bond Port page is displayed.

      2. Click Add.

        The Create Bond Port page is displayed.

      3. Configure the port information. Table 3 describes related parameters.
        Table 3 Port parameters

        Parameter

        Description

        Bond Port Name

        Indicates the name of the bond port.

        Transmission Protocol

        Indicates the transmission protocol of the bond port. The HDFS service network supports only TCP.

        Physical Port

        Indicates the physical port to be bound.

        Bond Mode

        Indicates the bond mode. The HDFS service network supports only bond4.

        bond4: dynamic link aggregation mode

        MTU (Bytes)

        Indicates the maximum transmission unit of the bond port.

      4. Click OK.
    4. Click OK.

  8. Click OK.