Skip to main content
NetApp Solutions SAP

SnapCenter restore and recovery

Contributors netapp-nbauer

With virtual resources stored on VMFS/VMDK’s a SnapCenter restore operation is always done by a clone, mount, copy operation.

  1. SnapCenter creates a volume clone based on the selected Snapshot

  2. SnapCenter mounts the LUN in the cloned volume as a new datastore to the ESX host

  3. SnapCenter adds the VMDK within the datastore as a new disk to the HANA VM

  4. SnapCenter mounts the new disk to the Linux OS

  5. SnapCenter copies the data from the new disk back to the original location

  6. When the copy operation is finished all above resource are removed again

  7. The HANA recovery is done as usual

The overall runtime of the restore operation is therefore dependent on the database size and the throughput of the FC connection between the storage clusters and the ESX hosts.

In addition, when a resource is configured with SnapMirror active sync the SnapCenter restore operation can only be selected at the current primary site.

sc saphana vmware smas image37

While the restore and recovery operation is running, you can see a new cloned volume, which has been created at the current primary site.

sc saphana vmware smas image38

At the HANA Linux host, you can see a new disk, which got mounted to the host. When the restore operation is done the disk, datastore and volumes will be removed again by SnapCenter.

hana-1:~ # df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 4.0M 8.0K 4.0M 1% /dev
tmpfs 49G 4.0K 49G 1% /dev/shm
tmpfs 13G 58M 13G 1% /run
tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup
/dev/mapper/system-root 60G 36G 24G 60% /
/dev/mapper/system-root 60G 36G 24G 60% /.snapshots
/dev/mapper/system-root 60G 36G 24G 60% /boot/grub2/i386-pc
/dev/mapper/system-root 60G 36G 24G 60% /home
/dev/mapper/system-root 60G 36G 24G 60% /boot/grub2/x86_64-efi
/dev/mapper/system-root 60G 36G 24G 60% /opt
/dev/mapper/system-root 60G 36G 24G 60% /srv
/dev/mapper/system-root 60G 36G 24G 60% /usr/local
/dev/mapper/system-root 60G 36G 24G 60% /tmp
/dev/mapper/system-root 60G 36G 24G 60% /root
/dev/mapper/system-root 60G 36G 24G 60% /var
/dev/sdb 200G 8.0G 192G 4% /hana/data/SMA/mnt00001
/dev/sdc 120G 7.0G 113G 6% /hana/log/SMA/mnt00001
/dev/sda1 253M 5.1M 247M 3% /boot/efi
/dev/sdd 150G 28G 123G 19% /hana/shared
tmpfs 6.3G 48K 6.3G 1% /run/user/467
tmpfs 6.3G 28K 6.3G 1% /run/user/0
/dev/sde 200G 8.0G 192G 4% /var/opt/snapcenter/scu/clones/hana_data_SMAmnt00001_255_scu_clone_1
hana-1:~ #