Loading...

Setting Owner User Groups on a Client Computer Group Using the Command Line Interface

You can use XML to:

  • Add existing user groups to a client computer group as client owners

    Client owners have access to the client computer group and can perform backup and restore operations on the clients that belong to the client computer group.

  • Remove client owner user groups from a client computer group
  • Replace all client owner user groups on a client computer group with different client owner user groups

Procedure

  1. Download the ug_owners_to_clientgroup.xml file to the computer from where you will run the command.
  2. Open the .xml file and update the XML parameters listed in the table below.
  3. Run the qlogin command to log on to the CommServe computer.
  4. From software_installation_directory/Base type the following command after substituting the XML parameters:

    qoperation execute -af ug_owners_to_clientgroup.xml

  5. Verify the user group is a client owner on clients in the client computer group:
    1. From the CommCell Browser, right-click one client and then click Properties.

      The Client Computer Properties dialog box appears.

    2. Click the Security tab.
    3. The user group appears in the User Groups pane of the Client Owners section.

The following table displays the XML parameters needed before running the qoperation command:

Parameter

Description and Parameter Values

clientGroupName

Name of the client computer groups to modify.

To modify multiple client computer groups, add an <entity> and a <clientGroupName> element for each client computer group, for example:

<entity>
  <clientGroupName>clientGroup1</clientGroupName>
</entity>
<entity>
  <clientGroupName>clientGroup2</clientGroupName>
</entity>

clientUserGroupOwners

Name of the user groups to add as a client owner.

To modify multiple user groups, add a <clientUserGroupOwners> element for each user group, for example:

<clientUserGroupOwners>UserGroup1</clientUserGroupOwners>
<clientUserGroupOwners>UserGroup2</clientUserGroupOwners>

clientUserGroupOwnersOperationType

The operation to perform on the user group. Valid values are:

  • ADD, to add the user group as a client owner
  • DELETE, to remove the user group as the client owner
  • OVERWRITE, to replace all client owner user groups on a client computer group with a different client owner user group. For example: owner_user_group2 and owner_user_group3 are client owner user groups on clientgroup1. Use the "overwrite" operation to replace these client owner user groups with owner_user_group4.

 

Last modified: 8/17/2018 3:55:36 PM