Command Line Configuration - Virtual Server Agent for Microsoft Hyper-V

Table of Contents

Log On to the CommServe

To run command line operations, you must first login to the CommServe.

From Command prompt, navigate to <Software_Installation_Directory>/Base and run the following command:

qlogin -cs <commserve name> -u <user name>

For example, to log on to CommServe 'server1' with username 'user1':

qlogin -cs server1 -u user1

Client Configuration

Use the following commands to configure Virtualization clients.

Creating a Virtualization Client

  1. Download the create_client_template.xml file and save it on the computer from where the command will be executed.
  2. Execute the following command from the <Software_Installation_Directory>/Base folder after substituting the parameter values.

    qoperation execute -af create_client_template.xml -client/clientName xxxxx -userName xxxxx -password xxxxx -entity/clientName xxxxx

    For example, the following command creates the HyperVClient1 Virtualization client, specifies node1 as the Hyper-V server and sets its credentials.

    qoperation execute -af create_client_template.xml -client/clientName node1 -userName domain\admin1 -password pass123 -entity/clientName HyperVClient1

The following table describes the XML parameters used in the above command.

Parameter Description of Parameter Values
client/clientName Name of the Hyper-V server node to be added as a client.
entity/clientName Name given to the new Hyper-V client.
userName The user name of the account associated with the Hyper-V server.
password The password associated with the Hyper-V server user account specified above.

qdelete client

Description

This command can be used to deconfigure and/or delete a client, along with its iDataAgents.

By default, the qdelete client command asks for confirmation before deleting the client. You can skip the confirmation prompt with the -y option.

Upon successful completion, qdelete client displays the message "Deleted the client successfully" on the command prompt. In case of an error, an error code and description are displayed as: "client: Error errorcode: errordescription

Usage

qdelete client [-cs <commserve_host_name>] -c <client> [-deconfigure] [-y] [-tf <tokenfile>] [-tk <token>] [-af <clientfile>] [-h]

Options

-cs CommServe host name
-c Client computer name
-deconfigure Deconfigures a client without deleting it
-y Delete without confirmation
-tf Reads token from a file
-tk Token string
-af Reads client name from a file
-h Displays help

Diagnostics

Possible exit status values are:

0 - Successful completion.

1 - CLI usage failures, due to the use of an unsupported option or missing argument.

2 - Any other failure.

Examples

  • Delete a client with name client1.

    qdelete client -c client1
    This command deconfigures and deletes a client, do you want to continue (y/n)? [n]

  • Deconfigure, but do not delete, a client with name client1

    qdelete client -c client1 -deconfigure -y

  • Delete a set of clients specified in an argument file.

    qdelete client -af "E:\clients.txt"

    In this example, clients.txt is a text file containing a list of client names. Ensure that the file is in the following format:

    [client]
    Client01
    Client02
    ClientXX

You can mass-delete clients with or without their associated MediaAgents using the qdelete client command. You can include this command (along with the qdelete mediaagent command, if desired) in a script. Mass deletion of these items is useful if you want to remove them after a split of a CommCell. To mass-delete items where the CommCell is not split, be sure to run the script from the install location of the CommServe.

Backup Set Configuration

Use the following commands to configure backup sets for the Virtual Server iDataAgent.

Renaming the Backup Set Name

  1. Download the update_backupset_template.xml file and save it on the computer from where the command will be executed.
  2. Execute the following command from the <Software_Installation_Directory>/Base folder after substituting the parameter values.

    qoperation execute -af update_backupset_template.xml -appName 'Virtual Server' -clientName xxxxx -instanceName xxxxx -backupsetName xxxxx -newBackupsetName xxxxx

    For example, rename backup set backupset1 to backupset2 under instance Hyper-V for client hyperv-client.

    qoperation execute -af update_backupset_template.xml -appName 'Virtual Server' -clientName hyperv-client -instanceName Hyper-V -backupsetName backupset1 -newBackupsetName backupset2

The following table describes the XML parameters used in the above command:

Parameter Description of Parameter Values
clientName Name of the client computer.
instanceName Name of the Hyper-V instance.
backupSetName Name of the backup set.
newBackupSetName New name for the backup set specified in the backupSetName parameter.

qcreate backupset

Description

This command creates a new backup set under the given client and agent.

The qcreate backupset command also allows the user to create default backup sets and on-demand backup sets. The default subclient created under the backup set can also be associated with a storage policy. If a storage policy name is not included, the subclient remains unassigned.

Upon successful completion, qcreate backupset displays the message "Created backupset successfully" on the command prompt. In case of an error, an error code and description are displayed as: "backupset: Error errorcode: errordescription"

Usage

qcreate backupset -c client -a dataagenttype -i instance -n backupset [-sp storagepolicy] [-t NORMAL|DEFAULT|ONDEMAND] [-tf tokenfile] [-tk token] [-af Argument Filepath] [-h]

Options

-c Client computer name
-a Agent type installed on client computer (see Argument Values - Agent Types)
-i Instance name, required for certain agents
-n Name of the backup set to be created
-t Type of backup set (NORMAL, DEFAULT, or ONDEMAND)
-sp Storage policy name with which default subclients are to be associated
-tf Reads token from a file
-tk Token string
-af Reads arguments from a file
-h Displays help

Argument File

client Client computer name
dataagent Agent type installed on client computer (see Argument Values - Agent Types)
backupset Backup set name to be created
sp Storage policy name to be associated with all subclients in the backup set
backupsettype Backup set type (NORMAL, DEFAULT, or ONDEMAND)
compressionat Compression at client or MediaAgent (CLIENT|MA)
networkagents Number of network agents
prebackup Prebackup command name
postbackup Postbackup command name
prescan Prescan command name
postscan Postscan command name

Diagnostics

Possible exit status values are:

0 - Successful completion.

1 - CLI usage failures, due to the use of an unsupported option or missing argument.

2 - Any other failure.

Examples

Create a backup set with name "BackupSet1" under client "client1" and Agent "Hyper-V" associated to Storage Policy "Generic".

Note: Make sure that the storage policy used to create backupset is already created.

qcreate backupset -c client1 -a Q_VIRTUAL_SERVER -i "Hyper-V" -n BackupSet1 -sp Generic

qinfo backupset

Description

This command displays information about a given backup set. If the agent supports instances above backup sets, only the backup sets under the specified instance are listed.

In case of an error, an error code and description are displayed as: "backupset: Error errorcode: errordescription"

Usage

qinfo backupset -c client -a dataagenttype -i instance -b backupset [-desc] [-tf tokenfile] [-tk token] [-h]

Options

-c Client computer name
-a Agent type installed on client computer (see Argument Values - Agent Types)
-i Instance name, required for a few agents
-b Backup set name
-desc Displays description provided by the user

To display the entire user description for the backup set without any other information, be sure to include the -desc option when you run the command. Otherwise, all the requested information along with only a partial description will be displayed.

-tf Reads token from a file
-tk Token string
-h Displays help

Diagnostics

Possible exit status values are:

0 - Successful completion.

1 - CLI usage failures, due to the use of an unsupported option or missing argument.

2 - Any other failure.

Examples

Display information about a backup set defaultBackupSet in client "client1" and Agent Q_VIRTUAL_SERVER.

qinfo backupset -c client1 -a Q_VIRTUAL_SERVER -b defaultBackupSet

Name defaultBackupSet
Default Yes
Ondemand No
Description Backup Set description

qlist backupset

Description

This command lists the names of all the backup sets in the specified client and agent. If the agent supports instances above the backup set level, then only the backup sets under the specified instance are listed. Whenever more than one backup set is found, each backup set is listed in its own line on the command prompt. No message is displayed whenever backup sets are not found.

In case of an error, an error code and description are displayed as: "backupset: Error errorcode: errordescription"

Usage

qlist backupset -c client -a dataagenttype -i instance [-tf tokenfile][-tk token] [-h]

Options

-c Client computer name
-a Agent type installed on client computer (see Argument Values - Agent Types)
-i Instance name, required for certain agents
-tf Reads token from a file
-tk Token string
-h Displays help

Diagnostics

Possible exit status values are:

0 - Successful completion.

1 - CLI usage failures, due to the use of an unsupported option or missing argument.

2 - Any other failure.

Example

List all the Backup sets in the client client1, agent MyDataAgent.

qlist backupset -c client1 -a MyDataAgent

The output for the qlist backupset command is:

defaultBackupSet
bs1

qdelete backupset

Description

This command deletes a given backup set.

When the backup set to be deleted contains archived data, the command asks the user to confirm the deletion. This prevents the user from accidentally removing backup sets that may have archive jobs. If you want to skip the confirmation prompt, you can use the "-skc" option.

Upon successful completion, the qdelete backupset command displays the message "Deleted backupset successfully" on the command prompt. In case of an error, an error code and description are displayed as: "backupset: Error errorcode: errordescription"

Usage

qdelete backupset -c client -a dataagenttype -b backupset [-skc] [-tf tokenfile] [-tk token] [-af ArgumentFilepath] [-h]

Options

-c Client computer name
-a Agent type installed on client computer (see Argument Values - Agent Types)
-b Name of the backup set to be deleted
-skc Skips the confirmation prompt to delete the backup set if archived data is found on the backup set.
-tf Reads token from a file
-tk Token string
-af Reads arguments from a file
-h Displays help

Argument File

client Client computer name
dataagent Agent type installed on client computer (see Argument Values - Agent Types)
backupset Backup set name to be deleted

Diagnostics

Possible exit status values are:

0 - Successful completion.

1 - CLI usage failures, due to the use of an unsupported option or missing argument.

2 - Any other failure.

Example

Delete a backupset with name bs1 under client client1 and Agent MyDataAgent.

qdelete backupset -c client1 -a MyDataAgent -b bs1

Defining Filters

You can define filters to exclude virtual machines or virtual machine disks from backups, either for a subclient or for all subclients under a backup set. For more information, see Backup Set Filtering and Filtering Virtual Machines from a Backup.

The following filters can be defined from the command line:

Virtual Machine Filters

  • Based on a Name Pattern
  • Based on the unique identifier (GUID) for the virtual machine
  • From a Specific Host or a Cluster

Disk Filters

  • With a Specific Device Node
  • Based on a Disk Name Pattern

Procedure

  1. Download the update_filters_template.xml file and save it on the computer from where the command will be executed.
  2. Execute the following command from the <Software_Installation_Directory>/Base folder after substituting the required parameter values.

    qoperation execute -af <downloaded location>\update_filters_template.xml -appName 'Virtual Server' -clientName 'xxxxx' -backupSetName 'xxxxx' -subclientName 'Do Not Backup' -vmContent/children/Name 'xxxx' -vmContent/children/type 'xx'
    -vmContent/children/displayName xxxx -vmDiskFilter/filters/filter 'xxxx' -vmDiskFilter/filters/filterType 'xx' -vmContentOperationType ADD -vmDiskFilterOperationType ADD

    When you use the -subclientName 'Do Not Backup' parameter, the filter is applied to all subclients under the specified backup set. To define a filter for a subclient, use the subclient name instead of 'Do Not Backup'.

    To define multiple filters for the backup set, open the downloaded xml file and add an entry for each filter. For example, to add virtual machine filters based on host name and virtual machine name pattern, type the following lines under <vmContent> node.

    <vmContent>
    <children allOrAnyChildren="1" name="" type="1" path="" displayName="hostname" equalsOrNotEquals="1" />
     <children allOrAnyChildren="1" name="" type="10" path="" displayName="vmname" equalsOrNotEquals="1" />
    </vmContent>

    Similarly, you can add disk filters under <vmDiskFilter> node. For example,

    <vmDiskFilter>
    <filters filter="SCSI (0:0)" filterType="3" vmGuid=""/>
    <filters filter="test.vmdk" filterType="2" vmGuid=""/>
    </vmDiskFilter>

Available Parameters

Parameter Description of Parameter Values
clientName Name of the client computer.
appName Name of the application. In this case it would be 'Virtual Server'.
backupSetName Name of the backup set.
subclientName Name of the subclient. Use 'Do Not Backup' subclient name to define filters for a backup set.
vmContentOperationType Type of operation you want to define virtual machine filters for the backup set. Valid values are:
  • ADD, to add filters.
  • OVERWRITE, to overwrite existing filters.
  • DELETE, to delete the filters.
vmDiskFilterOperationType Type of operation you want to define disk filters to the backup set. Valid values are:
  • ADD, to add filters.
  • OVERWRITE, to overwrite existing filters.
  • DELETE, to delete the filters.
vmContent/children/type Type of virtual machine filter to be added to the backup set. Valid values are:
  • 9, to filter based on virtual machine GUID
  • 10, to filter based on virtual machine name pattern
  • 1, to filter based on host name or IP address
vmContent/children/Name Unique identifier (GUID) for the virtual machine. Example: 5039c191-5367-9b74-e918-7173ecd0bbc2
vmContent/children/displayName Name pattern of the virtual machine or host, depending on the content type defined in the vmContent/children/type parameter.

Examples:

  • Test* to specify name pattern beginning with "Test".
  • *client to specify name pattern ending with "client"
  • *temp* to specify name pattern containing the word "temp"
vmContent/children/equalsOrNotEquals Specifies to exclude the virtual machines, datastore or ESX host, that match or do not match the defined display name pattern. Valid values are:
  • 0, to exclude virtual machines that do not match the defined display name pattern.
  • 1, to exclude virtual machines with the defined display name or pattern.
vmDiskFilter/Filters/filterType Type of disk filter to be added to the backup set. Valid values are:
  • 2, to filter based on disk name pattern
  • 3, to filter based on disk device node
vmDiskFilter/Filters/filter Name of the disk device, datastore, or device number, depending on the filter type defined in the vmDiskFilter/Filters/filterType parameter.

Examples

Based on Virtual Machine Name Pattern

qoperation execute -af update_vm_filters_template.xml -appName 'Virtual Server' -clientName 'vm_client' -backupSetName 'defaultBackupSet' -subclientName 'Do Not Backup' -vmContent/children/type '10' -vmContent/children/displayName 'vmname' -vmContentOperationType ADD

Based on the unique identifier (GUID) for the virtual machine

qoperation execute -af update_vm_filters_template.xml -appName 'Virtual Server' -clientName 'vm_client' -backupSetName 'defaultBackupSet' -subclientName 'Do Not Backup' -vmContent/children/Name '5039c191-5367-9b74-e918-7173ecd0bbc2' -vmContent/children/type '9' -vmContent/children/displayName 'vmname'-vmContentOperationType ADD

From a Specific Host or a Cluster

qoperation execute -af update_vm_filters_template.xml -appName 'Virtual Server' -clientName 'vm_client' -backupSetName 'defaultBackupSet' -subclientName 'Do Not Backup' -vmContent/children/type '1' -vmContent/children/displayName 'hostname' -vmContentOperationType ADD

With a Specific Device Node

qoperation execute -af update_disk_filters_template.xml -appName 'Virtual Server' -clientName 'vm_client' -backupSetName 'defaultBackupSet' -subclientName 'Do Not Backup' -vmDiskFilter/filters/filter 'SCSI (0:0)' -vmDiskFilter/filters/filterType '3' -vmDiskFilterOperationType ADD

Based on a Disk Name Pattern

qoperation execute -af update_disk_filters_template.xml -appName 'Virtual Server' -clientName 'vm_client' -backupSetName 'defaultBackupSet' -subclientName 'Do Not Backup' -vmDiskFilter/filters/filter 'test.vmdk' -vmDiskFilter/filters/filterType '2' -vmDiskFilterOperationType ADD

Based on Virtual Machine Name Pattern and Device Node

qoperation execute -af update_filters_template.xml -appName 'Virtual Server' -clientName 'vm_client' -backupSetName 'defaultBackupSet' -subclientName 'Do Not Backup' -vmContent/children/type '10' -vmContent/children/displayName 'vmname' -vmContentOperationType ADD -vmDiskFilter/filters/filter 'SCSI (0:0)' -vmDiskFilter/filters/filterType '3' -vmDiskFilterOperationType ADD

Subclient Configuration

Use the following commands to configure subclients for the Virtual Server iDataAgent.

Creating a Subclient

  1. Download the create_subclient_template.xml file and save it on the computer from where the command will be executed.
  2. Execute the following command from the <Software_Installation_Directory>/Base folder after substituting the parameter values.

    qoperation execute -af create_subclient_template.xml -appName 'Virtual Server' -clientName xxxxx -instanceName xxxxx -backupsetName xxxxx -subclientName xxxxx -vmContent/children/displayName xxxxx -vmContent/children/type VMName -storagePolicyName xxxxx

    For example, create subclient subclient1 for client hyperv-client, and assign VM01 virtual machine as the subclient content and associate storage policy storage01.

    qoperation execute -af create_subclient_template.xml -appName 'Virtual Server' -clientName hyperv-client -instanceName Hyper-V -backupsetName backupset1 -subclientName subclient1 -vmContent/children/displayName VM01 -vmContent/children/type VMName -storagePolicyName storage01

Modifying a Subclient

Use the following sections to set up or update the subclient content:

Adding a Virtual Machine

Use the following steps to add a virtual machine to the subclient content:

  1. Download the update_subclient_vm_template.xml file and save it on the computer from where the command will be executed.
  2. Execute the following command from the <Software_Installation_Directory>/Base folder after substituting the parameter values.

    qoperation execute -af update_subclient_vm_template.xml -appName 'Virtual Server' -clientName xxxxx -instanceName xxxxx -backupsetName xxxxx -subclientName xxxxx -vmContent/children/displayName xxxxx -vmContent/children/type VMName -vmContentOperationType ADD

    For example, add VM01 virtual machine to subclient subclient1, under instance Hyper-V and backup set backupset1 on client hyperv-client.

    qoperation execute -af update_subclient_vm_template.xml -appName 'Virtual Server' -clientName hyperv-client -instanceName Hyper-V -backupsetName backupset1 -subclientName subclient1 -vmContent/children/displayName VM01 -vmContent/children/type VMName -vmContentOperationType ADD

Adding Multiple Virtual Machines

  1. Download the update_subclient_vm_template.xml file and save it on the computer from where the command will be executed.
  2. Open the .xml file and add the following line under the <vmContent> node to specify each virtual machine:

    <children equalsOrNotEquals="1" name="" displayName="MyVM" type="VMName"/>

    For example, if you want to add 3 virtual machines (VM001, VM002 and VM003), it should look like this in the XML:

    <vmContent>
        <children equalsOrNotEquals="1" name="" displayName="VM001" type="VMName"/>
        <children equalsOrNotEquals="1" name="" displayName="VM002" type="VMName"/>
        <children equalsOrNotEquals="1" name="" displayName="VM003" type="VMName"/>
    </vmContent>

  3. Execute the following command from the <Software_Installation_Directory>/Base folder after substituting the parameter values.

    qoperation execute -af update_subclient_vm_template.xml -appName 'Virtual Server' -clientName xxxxx -instanceName xxxxx -backupsetName xxxxx -subclientName xxxxx -vmContentOperationType ADD

Setting Subclient Filters

  1. Download the update_subclient_filters_template.xml file and save it on the computer from where the command will be executed.
  2. Assume that you defined rules to add VMs to the subclient content based on the name pattern. From the VMs that get added as part of this rule, you would like to filter one or more VMs.

    Filter a Single Virtual Machine

    If you want to exclude a virtual machine (for example, VM02) from the subclient content, execute the following command from the <Software_Installation_Directory>/Base folder after substituting the parameter values.

    qoperation execute -af update_subclient_filters_template.xml -appName 'Virtual Server' -clientName xxxxx -instanceName xxxxx -backupsetName xxxxx -subclientName xxxxx -vmFilter/children/displayName VM02 -vmFilter/children/type VMName -vmFilterOperationType ADD

    Filter Multiple Virtual Machines

    1. Open the .xml file and add the following line under the <vmFilter> node to specify each virtual machine:

      <children displayName="VM001" equalsOrNotEquals="1" type="10" />

      For example, if you want to exclude 3 virtual machines (VM001, VM002 and VM003), it should look like this in the XML:

      <vmFilter>
          <children displayName="VM001" equalsOrNotEquals="1" type="10" />
          <children displayName="VM002" equalsOrNotEquals="1" type="10" />
          <children displayName="VM003" equalsOrNotEquals="1" type="10" />
      </vmFilter>

    2. Execute the following command from the <Software_Installation_Directory>/Base folder after substituting the parameter values.

      qoperation execute -af update_subclient_filters_template.xml -appName 'Virtual Server' -clientName xxxxx -instanceName xxxxx -backupsetName xxxxx -subclientName xxxxx

Deleting a Virtual Machine

Execute the following command from the <Software_Installation_Directory>/Base folder after substituting the parameter values.

qoperation execute -af update_subclient_vm_template.xml -appName 'Virtual Server' -clientName xxxxx -instanceName xxxxx -backupsetName xxxxx -subclientName xxxxx -vmContent/children/displayName xxxxx -vmContent/children/type VMName -vmContentOperationType DELETE

For example, delete VM01 virtual machine from subclient subclient1, under instance Hyper-V and backup set backupset1 on client client1.

qoperation execute -af update_subclient_vm_template.xml -appName 'Virtual Server' -clientName client1 -instanceName Hyper-V -backupsetName backupset1 -subclientName subclient1 -vmContent/children/displayName VM01 -vmContent/children/type VMName -vmContentOperationType DELETE

Deleting a Subclient

  1. Download the delete_subclient_template.xml file and save it on the computer from where the command will be executed.
  2. Execute the following command from the <Software_Installation_Directory>/Base folder after substituting the parameter values.

    qoperation execute -af delete_subclient_template.xml -appName 'Virtual Server' -clientName xxxxx -instanceName xxxxx -backupsetName xxxxx -subclientName xxxxx

Getting Subclient Properties

  1. Download the get_subclient_prop_template.xml file and save it on the computer from where the command will be executed.
  2. Execute the following command from the <Software_Installation_Directory>/Base folder after substituting the parameter values.

    qoperation execute -af get_subclient_properties_template.xml -appName 'Virtual Server' -clientName xxxxx -instanceName xxxxx -backupsetName xxxxx -subclientName xxxxx

Available Parameters for Subclient Configuration

The following table describes the XML parameters used in the commands listed in the above sections.

Parameter Description of Parameter Values
appName Name of the application. In this case it would be 'Virtual Server'.
instanceName Name of the Virtual Server instance.
backupSetName Name of the backup set.
clientName Name of the client computer.
subclientName Name of the subclient.
newName New name of the subclient.
storagePolicyName Name of the storage policy to be associated with the subclient for backup.
vmContentOperationType Type of operation that you want to perform to the subclient content. Valid values are:
  • ADD, to add content to the subclient
  • OVERWRITE, to overwrite contents to the subclient.
  • DELETE, to delete the contents from the subclient.
vmFilterOperationType Type of operation that you want to perform to the subclient filters. Valid values are:
  • ADD, to add filters to the subclient
  • OVERWRITE, to overwrite filters to the subclient.
  • DELETE, to delete the filters from the subclient.
numberOfBackupStreams Number of simultaneous backup data streams allowed for the subclient.
vmFilter/children/type Type of filter to be added to the subclient filters. Specify 'VMName' to add a virtual machine to the filters.
vmContent/children/type Type of content to be added to the subclient. Specify 'VMName' to add a virtual machine to the subclient content.
vmFilter/children/displayName Name of the virtual machine to be added to the subclient filters.
vmContent/children/displayName Name of the virtual machine to be added to the subclient content.
enableDeduplication Option to enable deduplication on subclient.

Valid values are True/False.

generateSignature A component of deduplication performed on the client or MediaAgent computer. Valid values are:
  • ON_CLIENT, to enable signature generation on the client.
  • ON_MEDIA_AGENT, to enable signature generation on the MediaAgent.
  • OFF, to disable signature generation.

Use this parameter when the enableDeduplication parameter is set to "true".

Deleting the Agent (qdelete dataagent)

Description

This command deconfigures and/or deletes a given iDataAgent.

By default, the qdelete dataagent command asks for confirmation before deletion. You can skip the confirmation prompt using the "-y" option.

Upon successful completion, qdelete dataagent displays the message "Deleted the iDataAgent successfully" on the command prompt. In case of an error, an error code and description are displayed as: "dataagent: Error errorcode: errordescription"

Usage

qdelete dataagent -c client -a iDataAgent [-deconfigure] [-y] [-tf tokenfile] [-tk token] [-h]

Options

-c Client computer name
-a iDataAgent to be deleted (see Argument Values - Agent Types)
-d Deconfigures the iDataAgent without deleting it
-y Delete without confirmation
-tf Reads token from a file
-tk Token string
-h Displays help

Diagnostics

Possible exit status values are:

0 - Successful completion.

1 - CLI usage failures, due to the use of an unsupported option or missing argument.

2 - Any other failure.

Examples

  • Delete an iDataAgent MyDataAgent under client client1.

    qdelete dataagent -c client1 -a MyDataAgent
    This command deconfigures and deletes an iDataAgent, do you want to configure (y/n)

  • Deconfigure an iDataAgent MyDataAgent under client client1 without any confirmation.

    qdelete client -c client1 -a MyDataAgent -deconfigure - y

Log Off from the CommServe

Once you have completed the command line operations, you can logout from the CommServe using the following command:

qlogout -cs commserve

For example, to log out from the CommServe 'Server1'.

qlogout -cs Server1