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

You can use XML to:

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

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

  • Remove client owner user groups from a client computer

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

Procedure

  1. Download the ug_owners_to_client.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_client.xml
  5. Verify the user group is a client owner on the client:

    1. From the CommCell Browser, right-click the 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

clientName

Name of the client computers to modify.

To modify multiple clients, add an <entity> and a <clientName> element for each client, for example:

<entity> <clientName>client1</clientName>
</entity>
<entity> <clientName>client2</clientName>
</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 with a different client owner user group. For example: owner_user_group2 and owner_user_group3 are client owner user groups on client1. Use the "overwrite" operation to replace these client owner user groups with owner_user_group4.

Loading...