Updated on 2024-09-23 GMT+08:00

Managing Global User Policies When Using Superior Scheduler

Scenario

If a tenant uses a Superior scheduler, you can configure the global policy for users to use the resource scheduler, including:

  • Maximum running apps
  • Maximum pending apps
  • Default queue

Procedure

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

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

    4. Click Create Global User Policy. In the displayed dialog box, set the following parameters:
      Figure 1 Creating a global user policy
      • Cluster: Select the target cluster.
      • Username: indicates the user for whom resource scheduling is controlled. Enter an existing username in the current cluster.
      • Max Running Apps: indicates the maximum number of tasks that the user can run in the current cluster.
      • Max Pending Apps: indicates the maximum number of tasks that the user can suspend in the current cluster.
      • Default Queue: indicates the queue of the user. Enter the name of an existing queue in the current cluster.
  • Modify a policy.
    1. On FusionInsight Manager, choose Tenant Resources.
    2. Choose Dynamic Resource Plan.
    3. Click the Global User Policy tab.
    4. In the row that contains the desired user policy, click Modify in the Operation column.
    5. In the displayed dialog box, modify parameters and click OK.
  • Delete a policy.
    1. On FusionInsight Manager, choose Tenant Resources.
    2. Choose Dynamic Resource Plan.
    3. Click the Global User Policy tab.
    4. In the row that contains the desired user policy, click Delete in the Operation column.

      In the displayed dialog box, click OK.