Modifying Sybase Instance Properties Using the Commvault Command Line Interface

Applies to: Sybase, Sybase IntelliSnap

Use XML to modify Sybase database instance properties. 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 Sybase Agent host, run the qlogin command to log on to the CommServe computer.
  2. Download the ModifyInstance_Template.xml file to the computer where you will run the command.
  3. Open the ModifyInstance_Template.xml file, add your specific parameters, and save the file.

    For information on supported instance XML parameters, see Available XML Parameters for Sybase Instance Configuration.

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

    qoperation execute -af ModifyInstance_Template.xml appName 'Sybase'-clientName '<client_name>' -instanceName '<dbname>' -sybaseHome '<sybase_home>' -sybaseASE '<sybase_ase_dir>' -sybaseOCS '<sybase_ase_dir>' -configFile '<config_file>' -sharedMemoryDirectory '<shared_memory_directory>' -sybaseBlockSize '<block_size>' -backupServer '<server>' -defaultDatabaseStoragePolicy/storagePolicyName '<data_sp>' -localAdministrator/userName '<admin_user>' -localAdministrator/password '<password>' -saUser/UserName '<sa_user>' -saUser/password '<password>' -enableAutoDiscovery '<true_false>'

  5. Optional: Verify the changes. See Getting Sybase Instance Properties Using the Commvault Command Line Interface.
  6. Run the qlogout command to log off the CommServe computer.


Modifying the configuration file

To modify the configuration file, set the configFile parameter.

qoperation execute -af ModifyInstance_Template.xml -appName 'Sybase' -clientName client1 -instanceName instance1 -configFile '/data/sybase/syb_xxx/config_file.cfg'

Last modified: 3/1/2018 8:03:15 PM