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

Managing Global User Policies

Scenario

If a tenant uses a Superior scheduler, the system can control the policy for a specific user in using the resource scheduler, including:

  • Maximum number of running tasks
  • Maximum number of suspended tasks
  • Default queue

Procedure

  • Add a scheduling policy.
    1. On FusionInsight Manager, click Tenant Resources.
    2. Click the Dynamic Resource Plan tab.
    3. Click Global User Policy.

      defaults(default setting) indicates that the default policy is used if a user does not specify the global user policy. The default policy cannot be deleted.

    4. Click Create Global User Policy. In the window that is displayed, configure the following parameters:
      • Cluster: Select the cluster to be operated.
      • Username: indicates the user for whom resource scheduling is controlled. Enter the name of an existing user in the cluster.
      • Max Running Apps: indicates the maximum number of tasks that the user can run in the cluster.
      • Max Pending Apps: indicates the maximum number of tasks that the user can suspend in the cluster.
      • Default Queue: indicates the user queue. Enter the name of an existing queue in the cluster.
  • Modify a policy.
    1. On FusionInsight Manager, click Tenant Resources.
    2. Click the Dynamic Resource Plan tab.
    3. Click Global User Policy.
    4. In the row that contains the desired user policy, click Modify in the Operation column.
    5. After adjusting the parameters, click OK.
  • Delete a policy.
    1. On FusionInsight Manager, click Tenant Resources.
    2. Click the Dynamic Resource Plan tab.
    3. Click Global User Policy.
    4. In the row that contains the desired user policy, click Delete in the Operation column.

      In the window that is displayed, click OK.