You can associate client groups with a Network Storage Pool by using the Command Line Interface.
Procedure
-
Download the AssociateClientGrouptoStoragePool.xml file and save it on the computer from where the command will be executed.
-
Before running the command, review the following parameters:
Element
Description
Parent Element
storagepoolId
Unique identification number associated with a Network Storage Pool
storagePool
storagePoolName
Name of the Network Storage Pool
storagePool
clientGroupId
Unique identification number associated with a client group
Tip: You can get the client group ids by running the StoragePoolClientGroupList.xml without any input parameters. For details see, Viewing the list of Client Groups Associated with a Network Storage Pool Using Command Line.
selectedClientGroups
clientGroupName
Name of the client group that you want to associate to the Network Storage Pool
selectedClientGroups
-
Execute the following command from the software_installation_directory/Base folder after substituting the parameter values.
qoperation execute -af $[downloaded location]\AssociateClientGrouptoStoragePool.xml
For example: To associate client groups with a Network Storage Pool with name storage001, storage pool id 446, client group id 1 and client group name cg1, run the following command:
qoperation execute -af $[downloaded location]\AssociateClientGrouptoStoragePool.xml -storagepoolId $[446] -storagepoolName $[storage001] -clientGroupId $[1] -clientGroupName $[cg1]
Result
You can verify if the specified client groups are associated with the storage pool by running the StoragePoolClientGroupList.xml. For details see, Viewing the list of Client Groups Associated with a Network Storage Pool Using Command Line.