Loading...

Adding SAP HANA Pseudo-Clients Using the SnapProtect Command Line Interface

Use XML to add SAP HANA pseudo-clients. 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.

Procedure

  1. Run the qlogin command to log on to the CommServe computer.
  2. Download the new_hana_client.xml file to the computer where you will run the command.
  3. Open the new_hana_client.xml file, add your specific parameters, and save the file.

    For information on supported pseudo-client XML parameters, see XML Parameters for SAP HANA Pseudo-Client Configuration.

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

    qoperation execute -af new_hana_client.xml -clientInfo/clientType 'SAPHANA' -clientInfo/clientType 'DISTRIBUTED_DATABASE_CLIENT' -entity/clientName 'client_name'

  5. Verify the status of the job. On the command line type the command:

    qlist job –j <job_id>

  6. Once the job completes, run the qlogout command to log off the CommServe computer.

Examples

Expand All

Add a SAP HANA pseudo-client

To a a pseudo-client, set the entity/clientName parameter. Set the following elements:

Parameter Value
clientInfo/clientType The client type (in thisexample, 'SAP_HANA').
clientInfo/clientType DISTRIBUTED_DATABASE_CLIENT
entity/clientName The SAP HANA physical client name (in this example, 'hana03SI1')

qoperation execute -af new_hana_client.xml -clientInfo/clientType 'SAPHANA' -clientInfo/clientType 'DISTRIBUTED_DATABASE_CLIENT' -entity/clientName 'hana03SI1'