Loading...

Deleting SAP for Oracle Subclients Using the Commvault Command Line Interface

Use XML to delete SAP for Oracle subclients. Run the operation from the command line, or automate configuration by combining command line operations in a script.

The XML parameters can be included in the XML file, or specified on the command line when they frequently change. For more information on command line parameters and XML elements, see Command Line - Syntax.

Warning: If you do not include the clientName, instanceName and Subclient name parameters, the Commvault software deletes all the user-created subclients. The default subclients are left intact.

Procedure

  1. On the SAP for Oracle Agent host, run the qlogin command to log on to the CommServe computer.
  2. Download the delete_subclient_template.xml file to the computer where you will run the command.
  3. Open the delete_subclient_template.xml file, add your specific parameters and save the file.

    For information on supported subclient XML parameters, see Available XML Parameters for SAP for Oracle Subclient Configuration.

  4. On the command line, go to Software_Installation_Directory/Base and type the following command.

    qoperation execute –af delete_subclient_template.xml -appName 'SAP for Oracle' -clientName '<client_name>' -instanceName '<instance_name>' –Subclient name '<subclient_name>'

  5. Run the qlogout command to log off the CommServe computer.

Example

qoperation execute –af delete_subclient_template.xml -appName 'SAP for Oracle' -clientName 'saporavm2' -instanceName 'instace1' -Subclient name 'test_cmd_sub1'

Last modified: 4/12/2018 3:45:06 PM