Create a Restore Job Definition - SAP HANA

ECX leverages Copy Data Management technology for recovering application databases through Database Restore jobs. Your SAP HANA clones can be utilized and consumed instantly through ECX Instant Disk Restore jobs. ECX catalogs and tracks all cloned instances. Instant Disk Restore leverages ISCSI or fibre channel protocols to provide immediate mount of LUNs without transferring data. Snapshotted databases are cataloged and instantly recoverable with no physical transfer of data.

BEFORE YOU BEGIN:

CONSIDERATIONS:

  • Note that the End Job Session (No Cleanup) option leaves the temporary database and volumes intact. The Cancel Restore option removes mounts, but the original database is no longer usable and must be restored from a backup

Best Practice: Create a schedule before creating a job definition so that you can easily add the schedule to the job definition.

To create a SAP HANA Restore job definition:

  1. Click the Jobs Monitor tab icon tab. Expand the Database folder, then select SAP HANA.
  2. Click New New icon, then select Restore. The job editor opens.
  3. Enter a name for your job definition and a meaningful description.
  4. Select a template. Available options include Instant Database Restore Restore icon and Instant Disk Restore Instant Access icon .
  5. Click Source Source icon . From the drop-down menu select Application Browse to select a source site and an application server to view available database recovery points. Select resources, and change the order in which the resources are recovered by dragging and dropping the resources in the grid.
  6. Alternatively, select Application Search from the drop-down menu to search for application servers with available recovery points. Add copies to the job definition by clicking Add. Change the order in which the resources are recovered by dragging and dropping the resources in the grid.
  7. Click Copy Copy icon . Sites containing copies of the selected data display. Select a site. By default the latest copy of your data is used. To choose a specific version, select a site and click Select Version. Click the Version field to view specific copies and their associated job and completion time. If recovery from one snapshot fails, another copy from the same site is used.
  8. Click Destination Destination icon . Select a source site and an associated database. Review the destination's database name mapping settings.
  9. To create the job definition using default options, click Create Job. The job can be run manually from the Jobs Monitor tab icon tab.
  10. To edit options before creating the job definition, click Advanced. Set the job definition options.
  11. Optionally, expand the Notification section to select the job notification options.
  12. SMTP Server
  13. From the list of available SMTP resources, select the SMTP Server to use for job status email notifications. If an SMTP server is not selected, an email is not sent.
  14. Email Address
  15. Enter the email addresses of the status email notifications recipients. Click Add Add Node icon to add it to the list.
  16. Optionally, expand the Schedule section to select the job scheduling options. Select Start job now to create a job that starts the job immediately. Select Schedule job to start at later time to view the list of available schedules. Optionally select one or more schedules for the job. As each schedule is selected, the schedule's name and description displays.
  17. Note: To create and select a new schedule, click the Configure Configure tab icon tab, then select Schedules Schedule icon. Create a schedule, return to the job editor, refresh the Available Schedules pane, and select the new schedule.
  18. When you are satisfied that the job-specific information is correct, click Create Job. The job runs as defined by your schedule, or can be run manually from the Jobs Monitor tab icon tab.

Restoring a SAP HANA Instance Through the SAP HANA Client

After the ECX SAP HANA Instant Disk Restore job completes, you must restore the data volume, then finalize the restore using SAP HANA Client. Note that this procedure applies only to Instant Disk Restore jobs jobs utilizing the Make Permanent option.

Note: Users of SAP HANA 2.0 SP1 or later must register their systems with the Multiple Containers mode and the System database option selected. Further options specific to SAP HANA 2.0 SP1 or later are specified in the procedure below.

  1. On the SAP HANA Client, right-click the SAP HANA system and select Backup and Recovery, then select Recover System. SAP HANA 2.0 SP1 users should select Recover System Database. The SAP HANA system shuts down in preparation for the recovery.
  2. From a command line, perform the following steps:
  3. Unmount the original data volume (if present) through the following command: umount /<path of data installation> e.g. umount /hana/data
  4. Unmount the data volume recovered by ECX through the following command: umount /<path of recovered volume> e.g. umount /dev/sde1
  5. Mount the new data volume again through the following command: mount </dev/mapper/newID> /<path of original data installation> e.g. mount /dev/sde1 /hana/data
  6. For SAP HANA 2.0 SP1 or later environments: Back in the SAP HANA Client interface, keep the default selections and click Next until the last of the backup options display, then click Finish. Right-click the SAP HANA system and select Recover Tenant Database to continue with the recovery.
  7. For all SAP HANA versions: Back in the SAP HANA Client interface, on the Specify Recovery Type screen, select the Recover the database to a specific data backup or storage snapshot option, then click Next.
  8. In the Backup Location screen, keep the default selections and click Next.
  9. In the Select a Backup screen, select the backup marked with a green availability then continue clicking Next until the last of the backup options displays, then click Finish.
  10. Start the SAP HANA system.

NEXT STEPS:

  • If you do not want to wait until the next scheduled job run, run the job session on demand. See Start, Pause, and Hold a Job Session.
  • Track the progress of the job session on the Jobs tab. See Monitor a Job Session.
  • If notification options are enabled, an email message with information about the status of each task is sent when the job completes.

 


Catalogic ECX™ 2.7.3

© 2018 Catalogic Software, Inc. | All rights reserved. | 9/18/2018

MySupportKnowledge Base | Trademarks | info@catalogicsoftware.com