SAP HANA SPS 09 - What s New? Backup/Recovery



Similar documents
SAP HANA Backup and Recovery (Overview, SPS08)

SAP HANA SPS 09 - What s New? SAP HANA Multitenant Database Containers

SAP Note FAQ: SAP HANA Database Backup & Recovery

Who is my SAP HANA DBA? What can I expect from her/him? HANA DBA Role & Responsibility. Rajesh Gupta, Deloitte. Consulting September 24, 2015

SAP HANA SPS 09 - What s New? Security

SAP HANA SPS 09 - What s New? Administration & Monitoring

The safer, easier way to help you pass any IT exams. Exam : C_HANASUP_1. SAP Certified Support Associate - SAP HANA 1.0.

How to protect, restore and recover SQL 2005 and SQL 2008 Databases

Ontrack PowerControls V7.3 ExtractWizard ReadMe

Whitepaper: Back Up SAP HANA and SUSE Linux Enterprise Server with SEP sesam. Copyright 2014 SEP

Ontrack PowerControls V7.2 ExtractWizard ReadMe

Protect SAP HANA Based on SUSE Linux Enterprise Server with SEP sesam

How to Configure Microsoft System Operation Manager to Monitor Active Directory, Group Policy and Exchange Changes Using NetWrix Active Directory

CommVault Simpana Archive 8.0 Integration Guide

Video Administration Backup and Restore Procedures

QUANTIFY INSTALLATION GUIDE

Backup Exec Private Cloud Services. Planning and Deployment Guide

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

How To Install An Aneka Cloud On A Windows 7 Computer (For Free)

Using Symantec NetBackup with Symantec Security Information Manager 4.5

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

Database Studio is the new tool to administrate SAP MaxDB database instances as of version 7.5.

MapGuide Open Source Repository Management Back up, restore, and recover your resource repository.

Best Practices for SAP MaxDB Backup and Recovery using IBM Tivoli Storage Manager

RDS Online Backup Suite v5.1 Brick-Level Exchange Backup

Backing Up the CTERA Portal Using Veeam Backup & Replication. CTERA Portal Datacenter Edition. May 2014 Version 4.0

Rentavault Online Backup. MS Exchange Mail Level Backup

1. Data Domain Pre-requisites. 2. Enabling OST

Technical Notes. EMC NetWorker Performing Backup and Recovery of SharePoint Server by using NetWorker Module for Microsoft SQL VDI Solution

Ontrack PowerControls User Guide Version 7.0. Instructions for Operating Ontrack PowerControls ExtractWizard. An Altegrity Company

C_HANATEC151 test answers:

Then, you ll learn how to monitor the Backup or Recovery, find out to check what might be a bottleneck, find out how to solve typical issues.

Databoks Remote Backup. MS Exchange Mail Level Backup

Veritas NetBackup for Microsoft Exchange Server Administrator s Guide

Backup Assistant. User Guide. NEC NEC Unified Solutions, Inc. March 2008 NDA-30282, Revision 6

Backup and Restore FAQ

Solcon Online Backup. MS Exchange Mail Level Backup

Moving the Web Security Log Database

4 Backing Up and Restoring System Software

CA ARCserve Backup for Windows

Support Document: Microsoft SQL Server - LiveVault 7.6X

Swiss Safe Storage Online Backup MS Exchange Mail Level Backup

Intellicus Cluster and Load Balancing (Windows) Version: 7.3

Netezza PureData System Administration Course

Enterprise Vault Installing and Configuring

Administration GUIDE. SharePoint Server idataagent. Published On: 11/19/2013 V10 Service Pack 4A Page 1 of 201

How To Set Up An Intellicus Cluster And Load Balancing On Ubuntu (Windows) With A Cluster And Report Server (Windows And Ubuntu) On A Server (Amd64) On An Ubuntu Server

How To Backup An Org Database On An Org Server On A Pc Oracle Server On Anorora (Orora) With A Backup And Restore Option On A Windows (Ororora).Org (Orroboron

4cast Server Specification and Installation

Backup and Recovery of SAP Systems on Windows / SQL Server

Database Backup and Recovery Guide

Dream Report Version 4.5

Ahsay Online Backup Suite v5.1. Brick-Level Exchange Backup

IBM Tivoli Storage Manager for Enterprise Resource Planning Version Data Protection for SAP HANA Installation and User's Guide

Cloud Attached Storage

Metalogix SharePoint Backup. Advanced Installation Guide. Publication Date: August 24, 2015

Building the SAP Business One Cloud Landscape Part of the SAP Business One Cloud Landscape Workshop

If you have questions or need assistance, contact PCS Technical Services using the contact information on page 10.

ONLINE BACKUP MANAGER MS EXCHANGE MAIL LEVEL BACKUP

User Guide - Exchange Public Folder idataagent

WhatsUp Gold v16.3 Installation and Configuration Guide

StreamServe Persuasion SP5 Control Center

User Guide - Exchange Mailbox Archiver Agent

Moving the TRITON Reporting Databases

Backup/Restore Individual Brick Level Backup for Microsoft Exchange Server

Ontrack PowerControls V7.2 for Exchange ReadMe

VMware vsphere Data Protection

Together with SAP MaxDB database tools, you can use third-party backup tools to backup and restore data. You can use third-party backup tools for the

Tech Bulletin Installing NEO Tape Device Drivers on Windows

Agenda. Overview Configuring the database for basic Backup and Recovery Backing up your database Restore and Recovery Operations Managing your backups

VERITAS NetBackup 6.0 for Microsoft Exchange Server

SQL Server Protection Whitepaper

BackupAssist v6 quickstart guide

Technical Information Bulletin Installing NEO Tape Device Drivers for Windows Environment

Sophos Mobile Control Installation guide

How To Install The Exchange Idataagent On A Windows (Windows 7) (Windows 8) (Powerpoint) (For Windows 7) And Windows 7 (Windows) (Netware) (Operations) (X

EMC NetWorker Module for Microsoft for Windows Bare Metal Recovery Solution

Exchange Server Backup and Restore

CA ARCserve Backup for Windows

Top 10 Do s/don ts of Data Protection for VMware vsphere

Deploying Windows Streaming Media Servers NLB Cluster and metasan

NAS 253 Introduction to Backup Plan

Getting Started with Database-as-a-Service

PROTECTING SAP HANA WITH DATA DOMAIN BOOST FOR DATABASES AND APPLICATIONS

Oracle 11g Database Administration

Symantec NetBackup for DB2 Administrator's Guide

Administration GUIDE. Exchange Database idataagent. Published On: 11/19/2013 V10 Service Pack 4A Page 1 of 233

EVault for Data Protection Manager. Course 301 Server Protection with DPM File and System State

SAP HANA SPS 09 - What s New? SAP HANA Application Lifecycle Management

Industry White Paper. Ensuring system availability in RSView Supervisory Edition applications

NETWRIX CHANGE NOTIFIER

SafeCom G2 Enterprise Disaster Recovery Manual

BackupAssist v6 quickstart guide

Alert Logic Log Manager

VMware vcenter Configuration Manager Backup and Disaster Recovery Guide vcenter Configuration Manager 5.4.1

SafeGuard Enterprise upgrade guide. Product version: 7

SafeGuard Enterprise upgrade guide. Product version: 6.1

Transcription:

SAP HANA SPS 09 - What s New? Backup/Recovery (Delta from SPS 08 to SPS 09) Andrea Kristen, SAP HANA Product Management November, 2014 2014 SAP SE or an SAP affiliate company. All rights reserved. 1

Agenda Backup Recovery Scale-out support Database copy Support for multitenant database containers 3 rd party tool certification 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 2

Backup

New alert: Runtime of the log backups currently running A new alert notifies administrators when a log backup takes a long time This enables administrators to detect issues with logs backup early, for example if there is a problem with a 3 rd party backup agent. Configuring the alert thresholds Prerequisite: system privilege INIFILE ADMIN 1. In the Administration editor in SAP HANA Studio, open the Alerts tab and choose the (Configure...) button. 2. Open the Configure Check Thresholds tab and choose check 65. 3. Specify the threshold values. Default thresholds: 30 s / 300 s / 900 s Switching off the alert See SAP Note 1991615 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 4

New alert: Enablement of automatic log backup A new alert notifies administrators when automatic log backups have been disabled Automatic log backups need to be enabled in production systems in order to provide full pointin-time recoverability. Prerequisite for the alert: statistics server is running in embedded mode The alert is executed every 15 minutes Switching off the alert Prerequisites: o INIFILE ADMIN system privilege o sap.hana.admin.roles::administrator role 1. In SAP HANA Cockpit, click on the Configure Checks tile 2. Set Schedule Active to NO 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 5

New alert: Storage snapshot is prepared A new alert notifies administrators when a storage snapshot was prepared but not confirmed for a longer period of time Prepared storage snapshots should only exist for a short time (until the storage snapshot was executed using the storage tool). Configuring the alert thresholds Prerequisite: system privilege INIFILE ADMIN 1. In the Administration editor in SAP HANA Studio, open the Alerts tab and choose the (Configure...) button. 2. Open the Configure Check Thresholds tab and choose check 66. 3. Specify the threshold values. Default thresholds: 5 min / 15 min / 60 min Switching off the alert See SAP Note 1991615 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 6

New Save button for configuration changes in SAP HANA Studio A new button for saving the backup configuration was introduced In earlier versions, saving was only possible via the general File menu Saving the backup configuration Prerequisite: system privilege BACKUP ADMIN 1. Open the Backup editor and choose the Configuration tab 2. Change the configuration as required and choose the (Save) button 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 7

Recovery

Choose data backup for recovery via backup catalog You can now choose the data backup for a recovery to a specific data backup from the backup catalog In earlier versions you had to manually specify the location of the data backup Recovery to a specific data backup Prerequisites: <sid>adm operating system user credentials 1. In the Systems view in SAP HANA Studio, right-click on the system to be recovered and choose Recovery... 2. Select Recover the database to a specific data backup or storage snapshot 3. Select the data backup from the backup catalog 4. Specify further options and start the recovery 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 9

Fewer log backups needed for recovery When preparing a recovery, you now only need to provide the log backups up to the one that contains a COMMIT time stamp after the specified recovery point You can use hdbbackupdiag to display the backups and/or snapshots required for a recovery of the database. This helps you to keep the quantity of the files that have to be made available to a minimum. Finding out which log backups are required for a recovery Prerequisites: You are logged on to the database server with the operating system user <sid>adm and have read authorization for the backup location. For more information, see the SAP HANA Administration Guide. Example: Displaying backups needed to reach specified point in time /usr/sap/s41/sys/exe/hdb>hdbbackupdiag -f -d /usr/sap/s41/hdb41/backup/log -u "2014-10-20 09:15:00" found backup catalog 1413788288630 from file /usr/sap/s41/hdb41/backup/log/log_backup_0_0_0_0.1413788288630 using backup catalog 1413788288630 from file /usr/sap/s41/hdb41/backup/log/log_backup_0_0_0_0.1413788288630 INITIAL_DATA_BACKUP_databackup_0_1 INITIAL_DATA_BACKUP_databackup_1_1 INITIAL_DATA_BACKUP_databackup_3_1 INITIAL_DATA_BACKUP_databackup_4_1 log_backup_1_0_886272_890688.1413788288333 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 10

Recovery SQL statement displayed in the recovery wizard You can now display the SQL statement for a specific recovery in SAP HANA Studio Preparing a recovery Prerequisites: <sid>adm operating system user credentials 1. In the Systems view in SAP HANA Studio, right-click on the system to be recovered and choose Recovery... 2. Specify your recovery options in the recovery wizard 3. On the Review Recover Settings page, choose Show SQL Statement 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 11

Database copy

SAP HANA Backup and Recovery Database copy using 3 rd party backup tools (I) You can now carry out database copies using a 3rd party backup tool In earlier versions, this was only possible using file system backups or storage snapshots. Typical use case: copy of your production system for tests on a smaller QA system. Note that if the target system has less resources, e.g. less CPU and RAM, performance cannot be expected to be the same as in the source system. Options Using data backup + log backups of the source database This allows you to restore the database to a point in time after the data backup Using only a data backup of the source database This restores the content exactly as of the point in time of the data backup or storage snapshot 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 13

SAP HANA Backup and Recovery Database copy using 3 rd party backup tools (II) Node n Node 2 Index Server Node 1 Index Server Index Server 1 3 rd Party Backup Server Node 2 Node 1 Index Server Index Server 1 Index Server 2 Source database with n nodes (e.g. PROD) Data backup + log backups (optional) Target database with 2 nodes (e.g. QA) Copying from a larger (m nodes) to a smaller system (n nodes) is supported for database copies using data backups. You need to configure (m-n) additional index servers in the target database. 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 14

Scale-out support

No manual steps required after removing host/service Removing a host/service has now been fully integrated into SAP HANA backup and recovery In earlier versions, production had to be halted until a new data backup had been written that reflected the changed system landscape and served as the basis for subsequent point-in-time recoveries. When a service is removed, SAP HANA now: Automatically redistributes the data of the removed index server to the remaining index servers Ensures that all log entries of the removed index servers and the topology changes are backed up No manual data backup is needed any more after a host/service was removed 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 16

Remove service using SAP HANA Studio You can now remove a service using SAP HANA Studio A customer may choose to remove a service that is not needed in a specific scenario. Example: remove additional index server after a database copy to a smaller system Removing a service Prerequisites: o System privileges CATALOG READ, SERVICE ADMIN and RESOURCE ADMIN o EXECUTE on procedure UPDATE_LANDSCAPE_CONFIGURATION 1. In the Administration editor in SAP HANA Studio, open the Landscape tab 2. Right-click on the service to be removed and choose Remove Service 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 17

Support for multitenant database containers

What s New in SAP HANA SPS09: Backup/Recovery Multitenant database containers: Overview Multitenant database containers are a new way to run multiple applications/scenarios on one SAP HANA system 1 system database and multiple tenant databases Shared installation of database system software Strong isolation features, the system database and each of the tenant databases have their own: Database users, database catalog, repository, persistence, backups, traces and diagnosis files Distinction between tasks performed at system level and those performed at database level Integration with data center operation procedures System database Application 1 Tenant database 1* Application 2 Tenant database 2 SAP HANA system *tenant database = database container 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 19

Multitenant database containers: Backup/recovery concept Multitenant database containers follow the usual SAP HANA backup/recovery principles Data backups are initiated manually or scheduled via scripts/tools such as DBA Cockpit Log backups are carried out automatically if the log mode is set to NORMAL (recommended for production) Backup information is stored in the backup catalog Different backup destinations are supported: backups to the file system, backups to 3rd party backup tools Database copies using backup/recovery are supported for individual databases Recovery options: point-in-time recovery, recovery to a specific data backup Tool support: SAP HANA Studio, DBA Cockpit, command line (SQL statements) Specific properties of multitenant database container backup/recovery The system database plays a central role. It can initiate both backups of the system database itself and of individual tenant databases. Recoveries are always initiated by the system database Tenant databases can carry out their own backups unless this has been prohibited in the system configuration System database and tenant databases have their own backup catalogs. Snapshots are currently not supported 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 20

Multitenant database containers: Backing up the system database You regularly need to create data backups of the system database The system database contains information about the system as a whole and all tenant databases and is used for central system administration. Creating a data backup of the system database Prerequisites: User in the system database with BACKUP ADMIN or BACKUP OPERATOR and CATALOG READ system privileges 1. In the Systems view in SAP HANA studio, right-click on the system database and choose Backup and Recovery Backup Up System Database... 2. Specify your backup settings and start the backup 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 21

Multitenant database containers: Backing up a tenant database You regularly need to create data backups of the tenant databases The tenant databases contain the business data. They have their own index servers. Note: Depending on the system configuration, it may also be possible to initiate a data backup directly from a tenant database Creating a data backup of a tenant database Prerequisites: User in the system database with DATABASE ADMIN system privilege 1. In the Systems view in SAP HANA studio, right-click on the system database and choose Backup and Recovery Backup Up Tenant Database... 2. Select the tenant database to be backed up 3. Specify your backup settings and start the backup 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 22

Multitenant database containers: Viewing backup information Backup information is contained in the backup catalog Viewing information for all databases Prerequisites: User in the system database with DATABASE ADMIN privilege; tenant database running 1. In the Systems view in SAP HANA studio, expand the system database and double-click on Backup 2. Open the Backup Catalog tab and select the database for which you want to view the information Viewing information for a tenant database Prerequisites: User in the tenant database with BACKUP ADMIN and CATALOG READ privileges 1. In the Systems view in SAP HANA studio, expand the tenant database and double-click on Backup 2. Open the Backup Catalog tab 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 23

Multitenant database containers: Backup lifecycle management You can delete backups that are not needed any longer Deleting old backups Prerequisites: o To delete system database backups: User in the system database with BACKUP ADMIN system privilege o To delete tenant database backups: User in the system database with DATABASE ADMIN system privilege 1. In the Systems view in SAP HANA studio, expand the system database and double-click on Backup 2. Open the Backup Catalog tab and select the database for which you want to delete backups 3. From the context menu, choose which backups you want to delete. Specify whether the backups should be deleted from the backup catalog only, or also from from the file system/3 rd party backup tool 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 24

Multitenant database containers: Recovering the system database A recovery of the system database may be be needed, for example, if there are physical errors in the system database s volumes Recovering the system database Prerequisites: <sid>adm user credentials 1. In the Systems view in SAP HANA studio, right-click on the system database and choose Backup and Recovery Recover System Database... 2. Enter the <sid>adm credentials. The whole system will be shut down, including all tenant databases. 3. Specify your recovery type and further recovery settings and start the recovery. The system database will be recovered and restarted. 4. Restart the tenant databases. The tenant databases content is not affected by the system database recovery. 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 25

Multitenant database containers: Recovering a tenant database A recovery of a tenant database may be required, for example, if a logical error occurred in the tenant database Recovery of tenant databases can only be initiated from the system database. The system database and other tenant databases are not affected. Recovering a tenant database Prerequisites: User in the system database with DATABASE ADMIN system privilege 1. In the Systems view in SAP HANA studio, right-click on the system database and choose Backup and Recovery Recover Tenant Database... 2. Select the tenant database to be recovered 3. Specify your recovery type and further recovery settings and start the recovery. 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 26

3 rd party tool certification

Backint Certification Certification is an installation prerequisite for backup tools using the Backint for SAP HANA interface. SAP Note 1730932 (Using backup tools with Backint) Announcement of the certification process Certified tools (as of 2014-10-13) Vendor Backup Tool Support Process (SAP Notes) Commvault Simpana 10.0, Hitachi Data Protection Suite 10 (via Simpana Backint interface) 1957450 EMC Networker 8.2, Interface for Data Domain Boost 1.0 1999166, 1970559 HP Data Protector 7.0 and 8.1 1970558 IBM Tivoli Storage Manager for Enterprise 6.4 1913500 SEP Sesam 4.4 2024234 Symantec NetBackup 7.5 1913568 Online listing of certified tools: Application Development Partner Directory Enter the search term HANA-BRINT and click on a partner name SAP Certified Solutions for further details 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 28

Backint: Improvements for backup tools that write to tape SAP HANA s internal recovery handling has been adapted in order to avoid deadlock situations when retrieving log backups from a 3rd party backup tool that uses tapes In some cases 3rd party backup tools have encountered deadlocks when two SAP HANA database services requested log backups from the same tape (no concurrent access possible to the tape). 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 29

Backint: Improvements for log backups SAP HANA now uses a single backup call to the 3rd party agent for all log segments of a service that are ready for backup In some scenarios the start of a 3 rd party backup agent for a log backup may take longer than the actual log backup itself. During times of high load, this may lead to many pending log backups and in the worst case to log full situations (log segments are only released for overwrite after a successful log backup). The new behavior is enabled by default. To disable it, set the following database configuration parameter to the value 1 : global.ini backup max_log_backup_group_size The log segments that are part of such a multiple log backup are only released for overwrite in the SAP HANA log volume after the last of them has been backed up. In the backup catalog, separate entries are maintained for such a multiple log backup. However, when you later want to remove log backups (backup lifecycle management), you can only remove all log backups of such a multiple log backup together, which requires that none of them is needed any more. 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 30

Backint: Improvements for the backup of the backup catalog SAP HANA now only writes one backup of the backup catalog for concurrent log backups of different services. This means that the backup of the backup catalog covers all log backups that were written since the last backup of the backup catalog. In earlier versions, a backup of the backup catalog was written after each individual log backup of each service. Since there is only one backup catalog (service-independent), this could lead to a lot of pending backup requests for the backup catalog and thus block the release of log segments, e.g. in scale-out scenarios under heavy load. The new behavior is enabled by default. To disable it, set the following database configuration parameter to false : global.ini backup enable_accumulated_catalog_backup 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 31

More Information

Documentation SAP HANA studio provides context-sensitive help for backup/recovery To open the context-sensitive help, press F1, or choose Help -> Dynamic Help Documentation update The backup/recover chapter in the SAP HANA Admininistration Guide has been updated. 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 33

More information SAP HANA documentation Available on the SAP Help Portal SAP HANA Administration Guide, SAP HANA Technical Operations Manual SAP HANA website Backup/recovery overview presentation Important SAP Notes 1642148: FAQ: SAP HANA database backup and recovery 1730932: Using backup tools with Backint 1869119: Check backup integrity For further notes on backup/recovery, see HAN-DB-BAC Backint for SAP HANA certification Certification announcement and description 2014 SAP SE or an SAP affiliate company. All rights reserved. Public 34

Thank you Contact information Andrea Kristen SAP HANA Product Management AskSAPHANA@sap.com 2014 SAP SE or an SAP affiliate company. All rights reserved.