URL: https://<aws.fqdn>/<aws.cluster.name>/gpudb-0/alter/resourcegroup
Alters the properties of an existing resource group to facilitate resource management.
Input Parameter Description
| Name | Type | Description | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| name | string | Name of the group to be altered. Must be an existing resource group name or an empty string when used in conjunction with is_default_group. | ||||||||||||||
| tier_attributes | map of string to maps of string to strings | Optional map containing tier names and their respective attribute group limits. The only valid attribute limit that can be set is max_memory (in bytes) for the VRAM and RAM tiers. For instance, to set max VRAM capacity to 1GB per rank per GPU and max RAM capacity to 10GB per rank, use: {'VRAM':{'max_memory':'1000000000'}, 'RAM':{'max_memory':'10000000000'}}. The default value is an empty map ( {} ).
| ||||||||||||||
| ranking | string | If the resource group ranking is to be updated, this indicates the relative ranking among existing resource groups where this resource group will be placed.
| ||||||||||||||
| adjoining_resource_group | string | If input parameter ranking is before or after, this field indicates the resource group before or after which the current group will be placed; otherwise, leave blank. The default value is ''. | ||||||||||||||
| options | map of string to strings | Optional parameters. The default value is an empty map ( {} ).
|
Output Parameter Description
The GPUdb server embeds the endpoint response inside a standard response structure which contains status information and the actual response to the query. Here is a description of the various fields of the wrapper:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| status | String | 'OK' or 'ERROR' | |||||||||
| message | String | Empty if success or an error message | |||||||||
| data_type | String | 'alter_resource_group_response' or 'none' in case of an error | |||||||||
| data | String | Empty string | |||||||||
| data_str | JSON or String | This embedded JSON represents the result of the /alter/resourcegroup endpoint:
Empty string in case of an error. |