Creating an Access Zone

Zones are used to divide a subnet. A zone contains a group of nodes with the same domain name and load balancing policy. Specify service network floating IP addresses for these nodes so that the nodes can process service access of clients.

Prerequisites

A subnet has been created.

Procedure

  1. Choose Resources > Access > Service Network.
  2. Select a desired account from the Account drop-down list.
  3. Click Create Access Zone.

    The Create Zone page is displayed.

  4. Configure basic zone information.

    Table 1 describes related parameters.

    Table 1 Basic zone parameters

    Parameter

    Description

    Name

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

    Zone Type

    Type of the zone. After this parameter is specified, the zone can be used for different services.

    • Default zone: can be used for file services, HDFS services, object services, and NAS migration services.
    • Migration zone: can be used for NAS migration services.

    Home Subnet

    Subnet to which the zone belongs.

    Sub-domain Name

    Sub-domain name of the zone. The sub-domain name must be used together with the general DNS service of the subnet. This parameter needs to be set only when the file or HDFS service is enabled.

    NOTE:
    • This parameter can be set only after the general DNS service is enabled for the home subnet.
    • The settings of a sub-domain name take effect only for the file and HDFS services. You do not need to configure a sub-domain name for the object service.
    • The value consists of letters, digits, and hyphens (-), and cannot start or end with a hyphen (-).

    Network Type

    Network type of ports in the zone. After this parameter is specified, only ports of the specified network type can be added to the port pool. It is recommended that a subnet contain zones of only one network type.

    NOTE:

    To use RDMA to access the storage system, set Network Type to IB or RoCE and ensure that the NFS over RDMA service is enabled. (To enable NFS over RDMA Service, log in to DeviceManager and choose Settings > Share Settings > NFS Service.)

    Associated Namespace

    If the HDFS service is enabled for the storage pool, click Select. On the Associate Namespace page that is displayed, select a namespace and click OK.

    NOTE:
    • By default, the associated namespace takes effect 3 to 5 minutes later. The time when the namespace takes effect can be modified. For details about the modification commands, see Setting the Configuration File Cache Policy in the Maintenance Commands.
    • This parameter is displayed only when IP Address Type of the home subnet is IPv4.

    DNS Policy

    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.

    NOTE:
    • This parameter can be set only after the general DNS service is enabled for the home subnet.
    • The DNS policy takes effect only for the file and HDFS services. By default, the object service supports only the round robin mode. You do not need to configure a DNS policy.

    DNS Service

    Whether to enable the DNS service to resolve the sub-domain name of the access zone.

    After the DNS service is enabled for the subnet, a sub-domain name is set for the zone, and the DNS service is enabled for the zone, you can access services in the zone through a domain name.

    NOTE:
    • This parameter can be set only after the general DNS service is enabled for the home subnet.
    • The DNS service settings take effect only for the file and HDFS services. You do not need to configure the DNS service for the object service.

    IP Address Failover

    Whether to enable IP address failover. After IP address failover is enabled, if 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. After failover, the new access node takes over services of the faulty node as extra service load, which may cause the access node to be overloaded.

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

    To prevent IP address conflicts among multiple nodes, do not configure static IP addresses for service ports of storage nodes in advance.

    • Adding an IP address
      1. Click Add.

        The Add IP Address page is displayed.

      2. Configure the IP address.

        Table 2 describes related parameters.

        Plan IP addresses properly and ensure that the added IP addresses are not used by other services.

        Table 2 IP address parameters

        Parameter

        Description

        Type

        IP address type. Possible options are Single Address and Address Segment.

        IP Address

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

        Start IP Address

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

        End IP Address

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

        NOTE:

        A maximum of 512 IP addresses can be contained in an IP address segment.

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

        The Modify IP Address page is displayed.

      2. Modify the IP address information. Table 2 describes related parameters.
      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.

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

    By default, one port is assigned one service IP address. You can run the following command to change the number of service IP addresses that can be allocated to a port. A maximum of 16 service IP addresses can be allocated to a port.

    change cluster_config general port_ip_number
    1. Click Add.

      The Add Port page is displayed.

    2. Select the ports planned for service network communication. You can select a single port or bond ports. To add or modify bond ports, click Manage Service Bond Port on the displayed page.

      You are advised to select bond ports.

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

        The Manage Service Bond Port page is displayed.

      2. Click Create.

        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

        Name of the bond port.

        Transmission Protocol

        Transmission protocol of the bond port. Possible options are TCP and IB.

        Physical Port

        Physical port to be bound.

        Bond Mode

        Port bond mode.

        When Transmission Protocol is set to TCP, bond1 and bond4 are supported.

        When Transmission Protocol is set to IB, only bond1 is supported.

        • bond1: active/standby mode
        • bond4: dynamic link aggregation mode

        MTU (Bytes)

        Maximum transmission unit of the bond port.

      4. Click OK.
      5. Click Close.
    4. Click OK.

  9. Click OK.
  10. Click Close.