Adding SAP on Oracle Database Instances Using the Commvault Command Line Interface

Use XML to add SAP on Oracle database instances. Run the operation from the command line, or automate configuration by combining command line operations in a script.

You can include the XML parameters in the xml file, or you can specify them on the command line when they frequently change. For more information on command line parameters and XML elements, see Command Line - Syntax.


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

    For information on supported instance XML parameters, see SAP for Oracle XML Instance Parameters.

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

    qoperation execute -af CreateInstance_Template.xml -appName 'SAP for Oracle' -clientName 'client_name' -instanceName 'instance_name' -oracleHome 'oracle_home_path' -sapDataPath 'sap_data_path' -sapExeFolder 'sap_exe_path' -oracleUser/domainName 'domain_name' -oracleUser/userName 'user_name' -oracleUser/password 'password' -sqlConnect/domainName 'oracle_service_name' -sqlConnect/userName 'sql_user_name' -sqlconnect/password 'sql_password' -commandLineStoragePolicy/storagePolicyName 'command_line_storage_policy' -logBackupStoragePolicy/StoragePolicyName 'log_storage_policy' -dataArchiveGroup/storagePolicyName 'data_storage_policy' -blockSize <block_size> -useSAPSecureStore <true_false>


    qoperation execute -af CreateInstance_Template.xml -appName 'SAP for Oracle' -clientName 'client_name' -instanceName 'instance_name' -oracleHome 'oracle_home_path' -sapDataPath 'sap_data_path' -sapExeFolder 'sap_exe_path' -oracleUser/userName 'user_name' -oracleUser/password 'password' -sqlConnect/userName 'sql_user_name' -sqlConnect/domainName 'oracle_service_name' -sqlconnect/password 'sql_password' -commandLineStoragePolicy/storagePolicyName 'command_line_storage_policy' -logBackupStoragePolicy/StoragePolicyName 'log_storage_policy' -dataArchiveGroup/storagePolicyName 'data_storage_policy' -blockSize <block_size> -useSAPSecureStore <true_false>

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


Creating an Instance with '/' as the Connect String

Creating an Instance with sys as the Connect String and Uses the blockSize, numberOfArchiveLogBackupStreams and useSAPSecureStore Parameters

Last modified: 2/28/2018 10:23:09 PM