Updated on 2023-12-14 GMT+08:00

Adding a Resource Pool

Scenario

In a cluster, you can logically group Yarn NodeManagers into Yarn resource pools. Each NodeManager belongs to only one resource pool. You can create a custom resource pool on FusionInsight Manager and add the hosts that have not been added to any custom resource pools to this resource pool so that specified queues can use the computing resources provided by these hosts.

The system contains a default resource pool by default. All NodeManagers that are not added to custom resource pools belong to this resource pool.

Procedure

  1. Log in to FusionInsight Manager.
  2. Choose Tenant Resources > Resource Pool.
  3. Click Add Resource Pool.
  4. Set resource pool attributes.

    • Cluster: Select the cluster to which the resource pool is to be added.
    • Name: Enter the name of the resource pool. The name contains 1 to 50 characters, including digits, letters, and underscores (_), and cannot start with an underscore (_).
    • Resource Label: Enter the resource label of the resource pool. The value can contain 1 to 50 characters, including digits, letters, underscores (_), and hyphens (-), and must start with a digit or letter.
    • Resource: In the Available Hosts area, select specified hosts and click to add the hosts to the Selected Hosts area. Only hosts in the cluster can be selected. The host list in the resource pool can be left blank.

      You can filter hosts by host name, number of CPU cores, memory, operating system, or platform type based on service requirements.

  5. Click OK.

    After the resource pool is created, you can view its name, members, and mode in the resource pool list. Hosts that are added to the custom resource pool are no longer members of the default resource pool.