Updated on 2022-12-08 GMT+08:00

Configuring a Queue

Scenario

You can modify queue configuration of a specific tenant on FusionInsight Manager based on service requirements.

Prerequisites

Tenants who use the Capacity scheduler have been added.

Procedure

  1. Log in to FusionInsight Manager.
  2. Choose Tenant Resources > Dynamic Resource Plan.

    By default, the Resource Distribution Policy tab page is displayed.

  3. Click the Queue Configuration tab.
  4. Set Cluster to the name of the cluster to be operated. In the tenant queue table, click Modify in the Operation column of the specific tenant queue.

    • You can also open the queue modification page as follows: Click the target tenant in the tenant list on the left of the Tenant Resources Management tab page. In the window that is displayed, click Resource. On the page that is displayed, click behind the Queue Configuration (queue name).
    • One queue can be bound to only one non-Default resource pool. A newly added resource pool can be bound to only one queue, which serves as the default resource pool of the queue.
    Table 1 Queue configuration parameters

    Parameter

    Description

    Tenant Resources Name (Queue)

    Tenant name and queue name.

    Maximum Application

    Specifies the maximum number of applications.

    Maximum AM Resource Percent

    Specifies the maximum percentage of resources that can be used to run the application master in a cluster.

    Minimum User Limit Percent(%)

    Specifies the minimum resource assurance (percentage) of a user. The resources for each user in a queue are limited at any time. If application programs of multiple users are running at the same time in a queue, the resource usage of each user fluctuates between the minimum value and the maximum value. The minimum value is determined by the number of running application programs, while the maximum value is determined by this parameter.

    For example, assume that this parameter is set to 25. If two users submit application programs to the queue, each user can use a maximum of 50% resources; if three users submit application programs to the queue, each user can use a maximum of 33% resources; if four users submit application programs to the queue, each user can use a maximum of 25% resources.

    User Limit Factor

    Specifies the maximum user resource usage limit factor. The maximum user resource usage percentage can be obtained by multiplying the actual resource usage percent of the current tenant in the cluster with this factor.

    Status

    Specifies the current status of a resource plan. Running indicates that the resource plan is running. Stopped indicates that the resource plan is stopped.

    Default Resource Pool

    Specifies the resource pool used by a queue. The default value is Default. If you want to change the resource pool, configure the queue capacity first. For details, see Configuring the Queue Capacity Policy of a Resource Pool.

  5. Click OK. The queue configuration is complete.