mksrg
Use the mksrg command to create a storage resource group with a specific name, type, description, and user-defined properties. You must have Administrator authority to use this command.
Syntax
Parameters and arguments
- -user user_name
- Specifies an IBM Spectrum Controlâ„¢ user ID.
- -pwd password
- Specifies the password for the IBM Spectrum Control user ID.
- -url url
- Specifies the Device server. The format of the URL is system:port_number, where system represents either the host name or IP address, and port_number represents the IBM Spectrum Control Device server port.
- -name SRGname
- A unique name not already in use, fewer than 60 characters long.
It cannot contain any of the following characters:
The user name of the user who is creating the storage resource group is added to the beginning of the storage resource group name, followed by the name that is specified in the name variable.\ / : * ? " < > | . - -description SRGDescription
- (optional) The description can contain any alphanumeric characters, and must be fewer than 255 characters long.
- -udp1 SRGUDP1
- (optional) A user-defined property that can contain anything of significance to the storage resource group administrator. The user-defined property (UDP) can contain any alphanumeric character, and must be fewer than 255 characters long.
- -udp2 SRGUDP2
- (optional) A user-defined property that can contain anything of significance to the storage resource group administrator. The UDP can contain any alphanumeric character, and must be fewer than 255 characters long.
- -udp3 SRGUDP3
- (optional) A user-defined property that can contain anything of significance to the storage resource group administrator. The UDP can contain any alphanumeric character, and must be fewer than 255 characters long.
- -fs character
- Specifies the 7-bit character that separates the information in the output. If you omit this parameter, the information is separated by blank spaces.
- -header
- Suppresses the column headings in the output. If you omit this parameter, the column headings are included.
- -help | -h | -?
- Lists help information for the command.
- -qs character
- Specifies the 7-bit character that surrounds character strings and date stamps in the output. If you omit this parameter, character strings and date stamps are enclosed by double quotation marks (").
- -silent
- Suppresses all output for the command. If you omit this parameter, output is included.
Example: Creating a storage resource group
The following command creates a storage resource group with the
specified attributes:
tpctool> mksrg -name testsrg -description Test-SRG-Description
-udp1 myudp1 -udp2 myudp2 -udp3 myudp3
The following output is returned:
Name Status
=============================
Administrator.testsrg SUCCESS