forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
6.1 KiB
6.1 KiB
Managing Global User Policies
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.
- On MRS Manager, choose Tenant Resources.
- Choose Dynamic Resource Plan.
- Click the Global User Policy tab.
- Click Create Global User Policy. In the displayed dialog box, set the following parameters:
- Cluster: Select the target cluster. (This parameter is unavailable for clusters of MRS 3.3.0 or later.)
- 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.
- On MRS Manager, choose Tenant Resources.
- Choose Dynamic Resource Plan.
- Click the Global User Policy tab.
- In the row that contains the desired user policy, click Modify in the Operation column.
- In the displayed dialog box, modify parameters and click OK.
- Delete a policy.
- On MRS Manager, choose Tenant Resources.
- Choose Dynamic Resource Plan.
- Click the Global User Policy tab.
- In the row that contains the desired user policy, click Delete in the Operation column.
In the displayed dialog box, click OK.
Parent topic: Using the Superior Scheduler