Loading...

Associating Client Groups to a Network Storage Pool Using Command Line

You can associate client groups with a Network Storage Pool by using the Command Line Interface.

Procedure

  1. Download the AssociateClientGrouptoStoragePool.xml file and save it on the computer from where the command will be executed.
  2. 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

  3. 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.

Last modified: 10/14/2019 9:40:12 AM