Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

PowerProtect Data Manager 19.14 SAP HANA User Guide

Performing alternate host recovery

To enable an alternate host recovery, you must copy the required user configuration file and auto configuration file from the source host to the destination host. If the target asset is in a different protection policy than the source asset, then you must also store the password of the source storage unit in the lockbox on the destination host.

About this task

Modify the configuration file parameter settings provides details about the user configuration file and auto configuration file.

Steps

  1. Replicate the directory path of the configuration files on the destination host by using either of the following methods:
    • Create the directory path on the destination host by creating each subdirectory in the path separately with the same permissions, user, and group as the destination SID. For example, create the following directory path, where the source instance is SID:

      /usr/sap/SID/SYS/global/ppdmconfig

    • Create the directory path on the destination host, and assign full permissions. For example:

      1. Go to the /usr/sap directory:

        cd /usr/sap
      2. Create the required directory path, where the source instance is SID:

        mkdir -p SID/SYS/global/ppdmconfig
      3. Assign full permissions to the directory path:

        chmod -R 777 SID/
  2. Copy the user and auto configuration files from the source host to the directory path on the destination host.
  3. If the target asset is in a different protection policy than the source asset, store the password of the source storage unit in the lockbox on the destination host:
    1. To obtain the password of the source storage unit, run the required script from the PowerProtect Data Manager server. You can fetch the MTree pathname details from the source .utl files:

      1. Connect to the PowerProtect Data Manager console as an admin user.
      2. Navigate to the /usr/local/brs/puppet/scripts directory.
      3. Obtain the storage unit password by typing the following command:

        python get_dd_mtree_credential.py MTree-name

        For example:

        python get_dd_mtree_credential.py  mtree1
        ==============PowerProtect DD MTree credential==============
        Full MTree path: /data/col1/mtree1
        User name: user1
        Password: pass1
        ============================================================
    2. Store the source credentials in the lockbox on the destination host:

      1. Create a separate file lockbox_reg.utl.
      2. Add the following lines in the lockbox_reg.utl file:

        [PRIMARY_SYSTEM]
        DDBOOST_USER = <username>
        DEVICE_HOST = <IP-address>
        DEVICE_PATH = /<storage-unit-pathname>
      3. To store the source lockbox password, run the command ddbmadmin -P -z lockbox_reg.utl on the destination host. When prompted for the password, enter the password from step 3a.
      4. To store any additional credentials, such as for secondary storage, modify the lockbox_reg.utl file with the following lines and then run the command ddbmadmin -P -z lockbox_reg.utl again:

        [PRIMARY_SYSTEM]
        DDBOOST_USER = <username2>
        DEVICE_HOST = <IP-address2>
        DEVICE_PATH = /<storage-unit-pathname2>
  4. When the configuration files are in place and any required credentials are stored, perform the alternate host recovery by using the same steps as for the restore of a database to the same host.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\