You are on page 1of 8

Lenovo® X6 Systems Solution™ for SAP HANA®

Special Topic Guide for System x® eX5/X6 Servers: Backup and Restore

Lenovo Development for SAP Solutions


In cooperation with: SAP AG
Created on 9th December 2016 09:40 – Version 1.12.121-16
© Copyright Lenovo, 2016
Technical Documentation

X6 Systems Solution for SAP HANA Platform Edition


Dear Reader,
We wish to explicitly announce that this guide book is for the System X6 based servers for SAP HANA
Platform Edition (Type 6241 or 3837 Model AC3/AC4/Hxx) based on Intel® Xeon® IvyBridge, Haswell
or Broadwell EX Family of Processors.
Also System eX5 based servers for SAP HANA Platform Edition (models 7147-H** and 7143-H**) are
discussed in this manual.
The Lenovo Systems X6 solution for SAP HANA Platform Edition is based on System X6 Architecture
building blocks that provide a highly scalable infrastructure for the SAP HANA Platform Edition ap-
pliance software. The Systems x3850 X6, x3950 X6 and software, such as IBM General Parallel File
System™ (GPFS) will be used to run SAP HANA Platform Edition appliance software.
Lenovo has created orderable models upon which you may install and run the SAP HANA Platform
Edition appliance software according to the sizing charts coordinated with SAP AG. For each workload
type, special ordering options for the System x3850 X6 and System x3950 X6 Type 6241 or 3837 Models
AC3/AC4/Hxx have been approved by SAP and Lenovo to accommodate the requirements for the SAP
HANA Platform Edition appliance software.
The Lenovo – SAP HANA Development Team

Backup and Restore Guide Lenovo® Systems Solution™ for SAP HANA® I
1.12.121-16 © Copyright Lenovo, 2016
Technical Documentation

Copyrights and Trademarks


© Copyright 2010-2016 Lenovo.
Lenovo may not offer the products, services, or features discussed in this document in all countries.
Consult your local Lenovo representative for information on the products and services currently available
in your area. Any reference to a Lenovo product, program, or service is not intended to state or imply
that only that Lenovo product, program, or service may be used. Any functionally equivalent product,
program, or service that does not infringe any Lenovo intellectual property right may be used instead.
However, it is the user’s responsibility to evaluate and verify the operation of any other product, program,
or service.
Lenovo may have patents or pending patent applications covering subject matter described in this doc-
ument. The furnishing of this document does not give you any license to these patents. You can send
license inquiries, in writing, to:
Lenovo (United States), Inc.
1009 Think Place - Building One
Morrisville, NC 27560
U.S.A.
Attention: Lenovo Director of Licensing

LENOVO PROVIDES THIS PUBLICATION “AS IS” WITHOUT WARRANTY OF ANY KIND, EI-
THER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WAR-
RANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
PURPOSE.
Neither this documentation nor any part of it may be copied or reproduced in any form or by any means
or translated into another language, without the prior consent of Lenovo.
This document could include technical inaccuracies or errors. The information contained in this document
is subject to change without any notice. Lenovo reserves the right to make any such changes without
obligation to notify any person of such revision or changes. Lenovo makes no commitment to keep the
information contained herein up to date.
Any references in this publication to non-Lenovo Web sites are provided for convenience only and do not
in any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part
of the materials for this Lenovo product, and use of those Web sites is at your own risk.
Information concerning non-Lenovo products was obtained from a supplier of these products, published
announcement material, or other publicly available sources and does not constitute an endorsement
of such products by Lenovo. Sources for non-Lenovo list prices and performance numbers are taken
from publicly available information, including vendor announcements and vendor worldwide home pages.
Lenovo has not tested these products and cannot confirm the accuracy of performance, capability, or any
other claims related to non-Lenovo products. Questions on the capability of non-Lenovo products should
be addressed to the supplier of those products.

Edition Notice: 9th December 2016


This is the thirteenth published edition of this document. The online copy is the master.

Backup and Restore Guide Lenovo® Systems Solution™ for SAP HANA® II
1.12.121-16 © Copyright Lenovo, 2016
Technical Documentation

Lenovo, the Lenovo logo, System x and For Those Who Do are trademarks or registered trademarks
of Lenovo in the United States, other countries, or both. Other product and service names might be
trademarks of Lenovo or other companies.
A current list of Lenovo trademarks is available on the web at:
http://www.lenovo.com/legal/copytrade.html.
IBM, the IBM logo, and ibm.com are trademarks of International Business Machines Corp., registered in
the United States and/or other countries.
Adobe and PostScript are either registered trademarks or trademarks of Adobe Systems Incorporated in
the United States and/or other countries.
Fusion-io is a registered trademark of Fusion-io, in the United States.
Intel, Intel Xeon, Itanium, and Pentium are trademarks or registered trademarks of Intel Corporation or
its subsidiaries in the United States and other countries.
UNIX is a registered trademark of The Open Group in the United States and other countries.
Linux is a trademark of Linus Torvalds in the United States, other countries, or both.
SAP HANA is a trademark of SAP Corporation in the United States, other countries, or both.
Other company, product or service names may be trademarks or service marks of others.

Backup and Restore Guide Lenovo® Systems Solution™ for SAP HANA® III
1.12.121-16 © Copyright Lenovo, 2016
Technical Documentation

Contents
1 Abstract 1
1.1 Preface & Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Disclaimer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.3 SAP HANA Platform Edition Versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.4 Appliance Versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.4.1 Determining Appliance Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.4.2 Appliance Change Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.5 Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.6 Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.7 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.7.1 Icons Used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.7.2 Code Snippets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.8 Documentation Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

2 Backup and Disaster Recovery 8


2.1 Operating System Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1.1 Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1.2 Drive Partitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.1.3 Boot Loader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.1.4 Backup Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.1.5 Correcting the backup fstab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.1.6 Add boot loader entry for backup partition . . . . . . . . . . . . . . . . . . . . . . 14
2.2 Restoring the Operating System Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

3 SAP HANA Backup and Disaster Recovery 19


3.1 XFS Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.2 IBM Spectrum Scale Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.3 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.4 Backup of SAP HANA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.5 Restore of XFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.6 Restore of IBM GPFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

Appendices 27

A References 27
A.1 Lenovo References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
A.2 IBM References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
A.3 SAP General Help (SAP Service Marketplace ID required) . . . . . . . . . . . . . . . . . . 28
A.4 SAP Notes (SAP Service Marketplace ID required) . . . . . . . . . . . . . . . . . . . . . . 28
A.5 Novell SUSE Linux Enterprise Server References . . . . . . . . . . . . . . . . . . . . . . . 30
A.6 Red Hat Enterprise Linux References (Red Hat account required) . . . . . . . . . . . . . . 30
A.7 VMware References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

B Changelog 32

Backup and Restore Guide Lenovo® Systems Solution™ for SAP HANA® IV
1.12.121-16 © Copyright Lenovo, 2016
Technical Documentation

List of Figures
1 Overview of Backup/Restore Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2 Sample GRUB boot loader screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

List of Tables
1 Appliance change log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Sample Linux Partition Naming Examples in SLES 11 . . . . . . . . . . . . . . . . . . . . 11
3 Required SAP HANA directories for restore . . . . . . . . . . . . . . . . . . . . . . . . . . 23

List of Listings
1 Example SUSE 11 fstab entries with ext3 . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2 Example SUSE 12 fstab entries with ext4 . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3 Example Red Hat 6 fstab entries with ext4 . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4 Example rsync command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5 Example rsync command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
6 Creating a copy of the motd file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
7 Example SLES primary fstab file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
8 Example SLES backup fstab file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
9 Example RHEL backup fstab file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
10 Changing files for backup partition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
11 Example UEFI Configuration for Primary Partition . . . . . . . . . . . . . . . . . . . . . 14
12 Example GRUB Configuration for Primary Partition . . . . . . . . . . . . . . . . . . . . . 14
13 Example GRUB Configuration for Backup Partition . . . . . . . . . . . . . . . . . . . . . 15
14 Example GRUB Configuration for Primary Partition . . . . . . . . . . . . . . . . . . . . . 15
15 Example GRUB Configuration for Backup Partition . . . . . . . . . . . . . . . . . . . . . 16
16 Example Grub2 Configuration for backup partition on SLES 12 . . . . . . . . . . . . . . . 16
17 Example rsync command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
18 Example SLES primary fstab file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
19 Example RHEL primary fstab file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

Backup and Restore Guide Lenovo® Systems Solution™ for SAP HANA® V
1.12.121-16 © Copyright Lenovo, 2016
Technical Documentation

List of Abbreviations
ASU Lenovo Advanced Settings Utility
BIOS Basic Input / Output System
DR Disaster Recovery (previously SAP Disaster Tolerance)
DT SAP Dynamic Tiering (not to be confused with Disaster Recovery (DR), previously
Disaster Tolerance (DT))
ELILO EFI Linux Loader
IBM GPFS IBM General Parallel File System
GRUB Grand Unified Bootloader
GSS GPFS Storage Server
HDD Hard Disk Drive
IMM Integrated Management Module
KPI Key Performance Indicator
LILO Linux Loader
MTM Machine Type Model
NSD Network Shared Disk
NIC Network Interface Controller
NUMA Non-Uniform Memory Access
OLAP On Line Analytical Processing
OLTP On Line Transaction Processing
OS Operating System
RAID Redundant Array of Independent Disks
RHEL Red Hat Enterprise Linux
SAP HANA SAP HANA Platform Edition
SSD Solid State Disk
SLES SUSE Linux Enterprise Server
SLES for SAP SUSE Linux Enterprise Server for SAP Applications
TDI Tailored Datacenter Integration
UEFI Unified Extensible Firmware Interface
UUID Universally Unique Identifier
VLAG Virtual Link Aggregation Group
VLAN Virtual Local Area Network
VM Virtual Machine

Backup and Restore Guide Lenovo® Systems Solution™ for SAP HANA® VI
1.12.121-16 © Copyright Lenovo, 2016
Technical Documentation

1 Abstract

1.1 Preface & Scope

This document provides general information specific to the Lenovo Systems Solution for SAP HANA
Platform Edition (short: Lenovo Solution). This document assumes that the reader understands the
basic structure and components of the SAP HANA Platform Edition (SAP HANA) software, that he
has a solid understanding of Linux administration processes, and that he has been instructed how to
install the SAP HANA1 software on Lenovo Systems hardware.
The objective of this paper is to document topics regarding the installation, configuration or maintenace
of the SAP HANA Platform Edition (SAP HANA) on System x hardware using a managed set up rather
than manually installing each node from scratch. The major products installed here are SAP HANA,
IBM General Parallel File System (IBM GPFS) and the operating systems SUSE Linux Enterprise
Server for SAP Applications (SLES for SAP), or Red Hat Enterprise Linux (RHEL).

1.2 Disclaimer

This document is subject to change without notification and will not cover the issues encountered in
every customer situation. It should be used only in conjunction with the official product literature. The
information contained in this document has not been submitted to any formal test and is distributed AS
IS.
All statements regarding Lenovo future direction and intent are subject to change or withdrawal without
notice, and represent goals and objectives only. Contact your local Lenovo office or Lenovo authorized
reseller for the full text of the specific Statement of Direction.
Some information addresses anticipated future capabilities. Such information is not intended as a defini-
tive statement of a commitment to specific levels of performance, function or delivery schedules with
respect to any future products. Such commitments are only made in Lenovo product announcements.
The information is presented here to communicate Lenovo’s current investment and development activities
as a good faith effort to help with our customers’ future planning.
This document is for educated service personnel only. If you are not familiar with the described system,
we will ask you to restrain from trying to apply what is described herein – you could void the preloaded
system installation – and void the SAP certified configuration. This will void the warranty and support of
said machine. Please contact the sapsolutions@lenovo.com to get enrolled for education prior to installing
an Lenovo Solution appliance.

1.3 SAP HANA Platform Edition Versions

In this document, we reference to several different versions of the Lenovo Solution guided installation
software. The following numbering refers to the corresponding SAP HANA Platform Edition version.
1.7.x SAP HANA Platform Edition v 1.0 SPS07 - First release on IBM/Lenovo Systems X6 hardware
1.8.x SAP HANA Platform Edition v 1.0 SPS08
1.9.x SAP HANA Platform Edition v 1.0 SPS09
1.10.x SAP HANA Platform Edition v 1.0 SPS10
1.11.x SAP HANA Platform Edition v 1.0 SPS11
1.12.x SAP HANA Platform Edition v 1.0 SPS12
1 SAP HANA Platform Edition

Backup and Restore Guide Lenovo® Systems Solution™ for SAP HANA® 1
1.12.121-16 © Copyright Lenovo, 2016

You might also like