<<

SAP HANA Initial Backup Saving Guide (for Ivy-Bridge Model) (Revision: 1.1)

NEC Europe Ltd. SAP Global Competence Center

Revision Record 2014/05/23 Created 2014/12/02 Added Procedure for 2TB Model

Table of Contents

1. Preparation ...... 3 1.1. Objective of this document ...... 3 1.2. Assumptions ...... 3 2. Backup Data Copy Procedure ...... 4

1. Preparation

1.1. Objective of this document

“NEC High-Performance Appliance for SAP HANA” has an initial backup on a local volume. In order to prevent this file from getting lost, this backup file should be copied to an external storage, such as a USB memory, optical media or network drive.

1.2. Assumptions  This document describes how to save the initial backup data to an USB memory as an example.  The external backup media is should be sized minimum 6GB least. 2. Backup Data Copy Procedure

This chapter describes how to copy the initial backup files to an USB storage. All commands are valid for every model, if not otherwise mentioned.

(1) While the OS is running insert the USB memory to the HANA server USB port and for automatic detection.

(2) Open Terminal console and confirm whether USB memory has been detected by command “dmesg”.

Figure 2-1 Confirm USB memory mounted In this case the USB memory has been detected as “sdf”.

(3) Confirm the status of this device by typing: “mount”

Figure 2-2 Confirm mount status In this case “/dev/sdf1” has been mounted to” /media/disk”.

If your device has not been mounted automatically, then please proceed with the following commands, otherwise this is not needed: /media/disk mount /dev/sdf1 /media/disk

(4) Create a temporary mount point for the backup partition: mkdir /tmp/backup

(5) Mount the backup partition to the temporary mount point: mount /dev/sda3 /tmp/backup

(6) Copy all *.tar.gz files in “/tmp/backup” to ”/media/disk” with the GUI. ・hana-root.tar.gz ・hana-data.tar.gz ・hana-log.tar.gz In case you are working with a 2TB appliance there will be another file called hana- shared.tar.gz.

Figure 2-3 Copy to USB memory

If you prefer using the CLI you can use this command: /tmp/backup/*.tar.gz /media/disk/

(7) Check that all files have been successfully copied: –l /media/disk

Figure 2-4 Copy to USB memory

(8) Unmount both USB memory and backup device: umount /media/disk umount /tmp/backup

(9) Delete mount point: /tmp/backup