SAP HANA Backup Guide (for Ivy-Bridge Model)

Similar documents
SAP HANA Backup Guide (for Ivy-Bridge Model)

SAP HANA Restore Guide (for A2040c SLES) 22 nd of April 2016 NEC SAP Global Competence Center

SAP HANA Backup Guide (for A2040d SLES) 23 rd of January 2017 NEC SAP Global Competence Center

SAP HANA Restore Guide (for A2040d SLES) 23 rd of January 2017 NEC SAP Global Competence Center

SAP HANA Backup Guide (for A2040d RHEL) 23 rd of January 2017 NEC SAP Global Competence Center

SAP HANA Appliance Express5800 A2040e Initial Operation Verification Guide. 7 th of August, 2018 NEC SAP Competence Center

RocketRAID 2680/2684 SAS Controller Red Hat Enterprise/CentOS Linux Installation Guide

RocketRAID 231x/230x SATA Controller Red Hat Enterprise/CentOS Linux Installation Guide

RocketRAID 231x/230x SATA Controller Fedora Linux Installation Guide

SLES Linux Installation Guide

Fedora Linux Installation Guide

RocketRAID 231x/230x SATA Controller Debian Linux Installation Guide

RocketRAID 2522 SATA Controller Ubuntu Linux Installation Guide

Rocket RAID 2644 SAS Controller opensuse Linux Installation Guide

Veritas System Recovery 18 Linux Edition README

Fedora Linux Installation Guide

Installation of Lubuntu Linux, Koha, DSpace and other software using LibLiveCD

Linux+ Guide to Linux Certification, Third Edition. Chapter 2 Linux Installation and Usage

Ubuntu Linux Installation Guide

Title: Demonstrate the linux installation and administration settings.

Ubuntu installation alongside windows 8/8.1 and 10

DUAL OS INSTALLATION

Ubuntu installation alongside windows 8/8.1 and 10

Cisco Scale-Up Solution for SAP HANA with the Cisco C880 M4 Server

LENOVO THINKSTATION P520C, P520, P720, & P920 WINDOWS 7 INSTALLATION

Cisco UCS Scale-Up Solution for SAP HANA on M5 Rack Servers

LENOVO THINKSTATION P520C, P520, P720, & P920 WINDOWS 10 INSTALLATION

Chapter 6. Linux File System

Notes on Using Red Hat Enterprise Linux AS (v.3 for x86)

Notes on Using Red Hat Enterprise Linux AS (v.4 for EM64T)

NEC Storage M series for SAP HANA Tailored Datacenter Integration Configuration and Best Practice Guide

A. Windows 7 and USB driver installation

ASIANUX SERVER 3 SP1 INSTALLATION GUIDE

Ubuntu - How to Create Software RAID 1 in Ubuntu Linux - Tutorial

AMD Ryzen Threadripper NVMe RAID Quick Start Guide RC Release Version 1.0

Lab Install Windows 8

NEC Storage M series for SAP HANA Tailored Datacenter Integration

Format Hard Drive Using Windows 7 Recovery Disk

C122-E159-02EN PRIMEQUEST 1000 Series Notices for ServerView Suite

RocketRAID 2310/2300 Controller Fedora Linux Installation Guide

Step by Step Installation of CentOS Linux 7 and Active Circle

How to Back-Up a fit-pc2 Using Only a USB Stick (and some creative partitioning)

Lab E2: bypassing authentication and resetting passwords

CompTIA Linux+ Guide to Linux Certification Fourth Edition. Chapter 2 Linux Installation and Usage

MFT / Linux Setup Documentation May 25, 2008

Lab - Install Windows 7 or Vista

Nested Home Lab Setting up Shared Storage

(32 KB) 216 * 215 = 231 = 2GB

Intel Cache Acceleration Software (Intel CAS) for Linux* v2.8 (GA)

TECH NOTE VICON TECHNICAL SERVICES GROUP

Reset the Admin Password with the ExtraHop Rescue CD

INSTALLATION. Security of Information and Communication Systems. Table of contents

Project 3: An Introduction to File Systems. COP 4610 / CGS 5765 Principles of Operating Systems

AMD NVMe/SATA RAID Quick Start Guide for Windows Operating Systems

Asianux Server 3 Installation Guide

Build your own NAS with OpenMediaVault

File Backup and Transfer

istorage Server: iscsi SAN for Linux

VMware vsphere Storage Appliance Installation and Configuration

Parallels Server 4.0 for Mac Bare Metal Edition

Scrutinizer Virtual Appliance Deployment Guide Page i. Scrutinizer Virtual Appliance Deployment Guide. plixer

Installation of Fedora 12 with CD

CST8207: GNU/Linux Operating Systems I Lab Nine Disks, Partitions, and File Systems Part 2. Disks, Partitions, and File Systems - Part 2 of 2

Guide to SATA Hard Disks Installation and RAID Coniguration

Read This First *P *

Install Windows Update Windows 7 From Usb

Ubuntu (Intrepid-Ibex) Installation Manual

How to install the software of ZNS8022

User. Applications. Operating System. Hardware

Integrating RDX QuikStor into Windows Backup with Full System Recovery for Windows Server OS

NG6000 Firmware Update Process

Manually Mount Usb Flash Drive Linux Command Line Redhat

This is Worksheet and Assignment 12. Disks, Partitions, and File Systems

Installation of the OS

Production Installation and Configuration. Openfiler NSA

Wavestore VMS v6 Installation Instructions

INSTALLATION. Security of Information and Communication Systems

AMD RAID Installation Guide

SAP HANA on Dell EMC VxRail Hyper-Converged Infrastructure

Project 3: An Introduction to File Systems. COP4610 Florida State University

Parallels Server 5 Bare Metal

Maxxyz Compact Operating System Installation

Oracle VM Template for MySQL Enterprise Edition =========================================================================== ===

-: Ronak Patel (Gozariya) :Windows XP installation

Guide to SATA Hard Disks Installation and RAID Configuration

JetFlash User s Manual

Method of Procedure to Upgrade RMS OS to Red Hat Enterprise Linux 6.7

Setup EMR9000 with SAS Storage

PARALLELS SERVER 4.0 FOR MAC BARE METAL EDITION README

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

Installing Cray System Management Workstation (SMW) Software S

Storage Controller Information

Installing VMware vsphere 5.1 Components

Upgrade Cisco Interface Module for LoRaWAN IXM using the Console

CompTIA Linux+/LPIC-1 COPYRIGHTED MATERIAL

ABOUT ZEPCAM SOFTWARE INSTALLATION MANAGEMENT AND BACKUPS. Description What is it Installation requirement Server requirement

Windows Method Using Linux Live CD and Gparted

Course 55187B Linux System Administration

LightStream 2020 Password Recovery Procedure

v5: How to restore a backup image

Transcription:

SAP HANA Backup Guide (for Ivy-Bridge Model) Version 1.3 2015 / 07 / 17 NEC SAP Global Conpetence Center Page 1 C NEC Corporation 2014

Version history Version Date Revision contents 1.0 2014/08/07 Created 1.1 2014/11/28 Added procedure for 2TB appliance 1.2 2014/12/02 Minor corrections 1.3 2015/07/17 Included RHEL 6.6 Page 2 C NEC Corporation 2014

Contents Introduction 4 1. Planning 5 1.1 SAP HANA data allocation 5 1.1.1 Appliances up to 1TB 5 1.1.2 2TB appliance 5 1.2 Backup procedure overview 6 2. Backup 6 2.1 Backup procedure 6 2.1.1 Boot to rescue mode 6 2.1.2 Backup 7 2.1.3 Reboot and HANA startup 9 Page 3 C NEC Corporation 2014

Introduction Purpose This manual decribes the acquisition of the initial backup after finishing the installation of SAP HANA. Prerequisites This procedure manual is created based on the SPS08 (revision 80). Scope SAP HANA single model appliance OS is RHEL 6.5 or RHEL 6.6 Reference documents SAP HANA Technical Operations Manual (TOM) SAP HANA Database Administration Guide The above documents are available the latest version from the following site, be sure to check http://help.sap.com/hana_appliance Page 4 C NEC Corporation 2014

External disks Internal disks Title: SAP HANA Backup Guide Author: NEC Created: 2014/12/02 1. Planning 1.1 SAP HANA data allocation This chapter describes the disk and filesystem layout. 1.1.1 Appliances up to 1TB All data except those on devices /dev/sda4 and /dev/sda5 in the following table will be included with the backup. HWRAID Size Device Partition Software File Size Usage Mount point name RAID system RAID5 650GB /dev/sda /dev/sda1 - vfat 1GB uefi /boot/efi /dev/sda2 - ext4 1GB Boot /boot /dev/sda3 - ext3 300GB OS/AP / /dev/sda4 - swap 50GB SWAP (swap) /dev/sda5 - ext3 298GB Backup - 4TB /dev/sdb /dev/sdb1 - xfs 4TB Data /hana/disk 1TB /dev/sdc /dev/sdc1 - xfs 1TB Log /hana/log 1.1.2 2TB appliance All data except those on devices /dev/sda3 and /dev/sda4 in the following table will be included with the backup. HW RAID Size Device Partition name File system Size Usage Mount point 6 1800GB /dev/sda /dev/sda1 vfat 1GB uefi /boot/efi /dev/sda2 ext4 1GB Boot /boot /dev/sda3 ext3 300GB BACKUP /dev/sda4 swap 50GB SWAP (swap) /dev/sda5 ext3 1,4TB OS/AP / 2,1TB /dev/sdb /dev/sdb1 xfs 2,1TB Shared /hana/shared 1,2TB /dev/sdc /dev/sdc1 xfs 1,2TB Log /hana/log 6,5TB /dev/sdd /dev/sdd1 xfs 6,5TB Data /hana/data 60 Page 5 C NEC Corporation 2014

1.2 Backup procedure overview The backup procedure exists of the following 4 phases: (1) Boot up to the rescue mode. (2) Read-only mount each volume. (3) Backup each volume with the tar command. (4) Reboot server and start SAP HANA. 2. Backup In this chapter a procedure to obtain an initial backup of the environment is shown. This procedure should be run after after the construction of SAP HANA. 2.1 Backup procedure 2.1.1 Boot to rescue mode 1 Insert the RHEL Installation Media and boot from DVD 2 As soon as the system starts from the DVD the following screen is displayed: Please press any key to enter the boot menu. 3 Select rescue in the menu and then press ENTER : Page 6 C NEC Corporation 2014

4 When the rescue mode loads it will ask you several questions. Please use the following settings: Change a Language : English Keyboard Type : us Rescue Method : Local CD/DVD Setup Networking : No Rescue : Skip (no automatic mount on /mnt/sysimage) Start shell : Ok 2.1.2 Backup In this chapter you will create a backup of every partition. All commands are valid for for all appliance models, if not otherwise mentioned. This backup will be saved to /dev/sda5 (up to 1TB) or /dev/sda3 (2TB). 1 Create a temporary mount point for every device: mkdir /tmp/osmount mkdir /tmp/bootefimount mkdir /tmp/bootmount mkdir /tmp/log mkdir /tmp/backup For up to 1TB additionally: mkdir /tmp/disk For 2TB additionally: mkdir /tmp/shared mkdir /tmp/data Example from 1TB appliance 2 Mount all devices to relevant mount points: For up to 1TB only: mount o ro /dev/sda1 /tmp/bootefimount mount o ro /dev/sda2 /tmp/bootmount mount o ro /dev/sda3 /tmp/osmount mount o ro /dev/sdb1 /tmp/disk mount o ro /dev/sdc1 /tmp/log mount o rw /dev/sda5 /tmp/backup For 2TB only: mount o ro /dev/sda1 /tmp/bootefimount mount o ro /dev/sda2 /tmp/bootmount mount o ro /dev/sda5 /tmp/osmount mount o ro /dev/sdb1 /tmp/shared mount o ro /dev/sdc1 /tmp/log mount o ro /dev/sdd1 /tmp/data Page 7 C NEC Corporation 2014

mount o rw /dev/sda3 /tmp/backup 3 Please verify the success of the previous step by typing mount 4 Run the following command in the directory /tmp/bootefimount to get a backup of the uefi boot partition: cd /tmp/bootefimount tar zc sp. > /tmp/backup/hana-bootefi.tar.gz 5 Run the following command in the directory /tmp/bootmount to get a backup of the boot partition: cd /tmp/bootmount tar zc sp. > /tmp/backup/hana-boot.tar.gz 6 Run the following command in the directory /tmp/osmount to get a backup of the OS partition: cd /tmp/osmount tar zc sp. > /tmp/backup/hana-root.tar.gz 7 For up to 1TB only: Run the following command in the directory /tmp/disk to get a backup of the HANA data and shared partition: cd /tmp/disk tar zc sp. > /tmp/backup/hana-disk.tar.gz For 2TB only: Run the following command in the directory /tmp/data to get a backup of the HANA data partition: cd /tmp/data tar zc sp. > /tmp/backup/hana-data.tar.gz For 2TB only: Run the following command in the directory /tmp/shared to get a backup of the HANA shared partition: cd /tmp/shared tar zc sp. > /tmp/backup/hana-shared.tar.gz 8 Run the following command in the directory /tmp/log to get a backup of the HANA log partition: cd /tmp/log tar zc sp. > /tmp/backup/hana-log.tar.gz 9 Verify that 5 backup files exist in the backup partition (in case of 2TB appliance 6 files should be there): Page 8 C NEC Corporation 2014

cd /tmp/backup ls lh Example from 1TB appliance 2.1.3 Reboot and HANA startup After the backup finished restart your NEC HANA appliance and start HANA in this chapter. 1 Reboot your server by typing shutdown r now 2 Remove all DVD / USB medias used in the previous steps before the bios boots up. 3 Login to the OS, open a terminal and change to/usr/sap/hostctrl/exe/: cd /usr/sap/hostctrl/exe 4 Start your HANA instance and verify the command output is OK :./sapcontrol nr <instance no> -function Start 5 Run this command and check its output says OK and all listed processes have the status Green. If some are still Initializing, wait a while and issue the same command again:./sapcontrol nr <instance no> -function GetProcessList Page 9 C NEC Corporation 2014