Configuring Data Protection for SAP HANA with the setup script

Data Protection for SAP HANA must be configured by using the setup script before it can work with the IBM Spectrum Protect. The setup script setup.sh is stored in the Data Protection for SAP HANA installation directory /opt/tivoli/tsm/tdp_hana.

Before you begin

Ensure that the IBM Spectrum Protect node name is specified in the server stanza of the dsm.sys file.

About this task

The Data Protection for SAP HANA configuration files are stored in the configuration directory, /usr/sap/SystemID/SYS/global/hdb/opt/hdbconfig.

Restriction: The SAP HANA operating system user <sid>adm requires BASH as login shell to run Data Protection for SAP HANA setup scripts. Other login shells are not supported.

Procedure

  1. Log in to Data Protection for SAP HANA using the root user ID, and change to the installation directory, /opt/tivoli/tsm/tdp_hana.
  2. Run the Data Protection for SAP HANA setup.sh script, by entering the following command:

    ./setup.sh

  3. When prompted, enter the SAP HANA system ID, or accept the proposed value.
  4. Enter the instance number or accept the default value of 00.
  5. Enter the password for the SYSTEM user.
  6. Choose to configure the IBM Spectrum Protect server, or defer the server configuration.
    For information about manually configuring the IBM Spectrum Protect server, see Manually configuring Data Protection for SAP HANA.
  7. Choose one of the following IBM Spectrum Protect server password handling methods:
    • Automatic password handing: to store the IBM Spectrum Protect node password in the IBM Spectrum Protect API. When the password expires on the server, the IBM Spectrum Protect client and server generates a new password. The API updates the password on the client.
    • Manual password handling: to store the node password in the IBM Spectrum Protect for ERP configuration file. When the password expires, you must update it by using the hdbbackint -f password command.
  8. Enter the IBM Spectrum Protect server name as defined in the dsm.sys file. The following parameters must be entered to enable backup and restore of databases and redo log files to the IBM Spectrum Protect
    1. Enter the IBM Spectrum Protect node name for the ADSMNODE parameter.
    2. Enter the IBM Spectrum Protect management class for the BRBACKUPMGTCLASS parameter.
    3. Enter the IBM Spectrum Protect management class for the BRARCHIVEMGTCLASS parameter.
  9. Enter a password for the IBM Spectrum Protect node. After you enter the password, it is verified. For a scale-out system with automatic password handling, this step is repeated for each SAP HANA node that belongs to the scale-out system.