mkresgrp

The mkresgrp command creates a resource group object on a storage image.

Read syntax diagramSkip visual syntax diagrammkresgrp  -dev   storage_image_ID  -label  resource_group_label  -name  resource_group_name resource_group_ID  "-"

Parameters

-dev storage_image_ID
(Optional) The storage image ID, which includes manufacturer, machine type, and serial number. For example, IBM.2107-75FA120. The storage image ID is required if you do not specify a fully qualified resource group ID, do not set the devid variable in your profile or through the setenv command, and the HMC is aware of more than one storage image. Using the -dev parameter will temporarily override any defined value for devid for the current command.
-label resource_group_label
(Required) The resource group label. The resource group label is 1 to 32 characters and is limited to upper and lower case alphabetic and numeric characters, and the special characters (-), (_), and (.). Resource group labels must be unique within the domain of the specified device.
-name resource_group_name
(Optional) The user assigned nickname for this resource group object. The maximum length is 64 single-byte or 32 double-byte characters.
resource_group_ID | -
(Optional) The resource group ID. The resource group ID begins with the letters RG and ends with a decimal number. If the resource group ID is not specified, one will be assigned. If you use the dash (-), the specified value is read from standard input.

Example: Creating a resource group object on a storage image

dscli> mkresgrp -dev IBM.2107-75FA120 
-label Product_A -name “A_Group” RG1 
Output
CMUC00133I mkresgrp: Resource Group RG1 successfully created.