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. The steps are performed when the source SID is same as of the target SID.
Steps
Copy the configuration files for the source database.
Set the log-level information
/usr/sap/<target_host_SID>/SYS/global/<source_host_SID>_<source_host_database>_data_auto.utl.
Set the path of the
/usr/sap/<target_host_SID>/SYS/global/<source_host_SID>_<source_host_database_data_auto.utl in the Hana Studio for the below parameters:
catalog_backup_parameter_file
log_backup_parameter_file
data_backup_parameter_file
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:
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:
Connect to the
PowerProtect Data Manager console as an admin user.
Navigate to the
/usr/local/brs/puppet/scripts directory.
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
============================================================
Store the source credentials in the lockbox on the destination host:
Create a separate file
lockbox_reg.utl.
Add the following lines in the
lockbox_reg.utl file:
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.
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: