Discovering DB2 Instances Using the Commvault Command Line Interface

Use XML to discover DB2 database instances. Run the operation from the command line, or automate configuration by combining command line operations in a script.


  1. If you are not logged on to the CommServe computer, run the qlogin command.

  2. Download the DiscoverInstance_Template.xml file to the computer where you will run the command.

  3. On the command line, go to Software_Installation_Directory/Base, and then and type the following command:

    qoperation execute -af DiscoverInstance_Template.xml -clientName '<client_name>'


  4. To log off the CommServe computer, run the qlogout command.