Only Grid Administrators can create and modify quotas. The following CLI commands are available to modify quotas:
Adds or updates individual quota changes for a principal. Only values that are specified as part of the command are modified. For example, the following command defines the group DevelopmentPackages as the parent for the WarnGroup group, and sets the bandwidth quota to 4 Gbps:
quota modify WarnGroup bw=4G parent=DevelopmentPackages
Replaces all previous quota entries for a principal. Only values that are specified as part of the command are set, all other values are left blank or removed if they were previously set. For example, the following command updates the AV-DEV group parent from its current parent to AlisoViejo:
quota put AV-DEV parent=AlisoViejo
Displays or sets the warn and burst levels for grid quotas. The values apply to all quotas that do not have an explicit warn or burst level set. When warn or burst is not specified, the current values are displayed. The values can be specified as an integer with or without a percent sign (%).
The following example specifies that a warning message be displayed in the dashboard when an operation uses more than 50% of available resources. It also specifies that operations can use 120% of the allocated resources if required:
quota config warn=50 burst=120%
This command requires manage_quota permission on the grid ACL.
Creating or modifying a quota has no effect on the resources that were previously allocated. Creating or modifying a quota only affects future operations that allocate resources. When an operation that allocates resources is performed on the grid, the resource limits are enforced against the quota assigned to the owner of the object that is being allocated, not the user that performs the action.
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|