Essentials. Johannes Meixner. about Disaster Recovery (abbreviated DR) with Relax-and-Recover (abbreviated ReaR)

Similar documents
Best practices with SUSE Linux Enterprise Server Starter System and extentions Ihno Krumreich

How To Make Databases on SUSE Linux Enterprise Server Highly Available Mike Friesenegger

SUSE Linux Enterprise Kernel Back to the Future

Managing Linux Servers Comparing SUSE Manager and ZENworks Configuration Management

SUSE OpenStack Cloud. Enabling your SoftwareDefined Data Center. SUSE Expert Days. Nyers Gábor Trainer &

Linux and z Systems in the Datacenter Berthold Gunreben

Provisioning with SUSE Enterprise Storage. Nyers Gábor Trainer &

SaltStack and SUSE Systems and Configuration Management that Scales and is Easy to Extend

SUSE Linux Enterprise High Availability Extension

Using Linux Containers as a Virtualization Option

Build with SUSE Studio, Deploy with SUSE Linux Enterprise Point of Service and Manage with SUSE Manager Case Study

Open Enterprise & Open Community

Protect your server with SELinux on SUSE Linux Enterprise Server 11 SP Sander van Vugt

Linux High Availability on IBM z Systems

Cloud in a box. Fully automated installation of SUSE Openstack Cloud 5 on Dell VRTX. Lars Everbrand. Software Developer

Docker Networking In OpenStack What you need to know now. Fawad Khaliq

SUSE Manager Roadmap OS Lifecycle Management from the Datacenter to the Cloud

A Carrier-Grade Cloud Phone System

From GIT to a custom OS image in a few click OS image made easy

Define Your Future with SUSE

BOV89296 SUSE Best Practices Sharing Expertise, Experience and Knowledge. Christoph Wickert Technical Writer SUSE /

SUSE Manager in Large Scale 17220

Novell SLES 10/Xen. Roadmap Presentation. Clyde R. Griffin Manager, Xen Virtualization Novell, Inc. cgriffin at novell.com.

SICOOB. The Second Largest Linux on IBM System z Implementation in the World. Thiago Sobral. Claudio Kitayama

SUSE An introduction...

Exploring History with Hawk

Saving Real Storage with xip2fs and DCSS. Ihno Krumreich Project Manager for SLES on System z

Novell Infiniband and XEN

Expert Days SUSE Enterprise Storage

Building a Secure and Compliant Cloud Infrastructure. Ben Goodman Principal Strategist, Identity, Compliance and Security Novell, Inc.

Using Crowbar to Deploy Your OpenStack Cloud. Adam Spiers Vincent Untz John H Terpstra

SUSE Manager and Salt

Welcome to SUSE Expert Days 2017 Service Delivery with DevOps

Introduction to Software Defined Infrastructure SUSE Linux Enterprise 15

Secure Authentication

Before We Start... 1

SDS Heterogeneous OS Access. Technical Strategist

Too Many Metas A high level look at building a metadata desktop. Joe Shaw

Saving Your Bacon Recovering From Common Linux Startup Failures

Exploring the High Availability Storage Infrastructure. Tutorial 323 Brainshare Jo De Baer Technology Specialist Novell -

Zdeněk Kubala Senior QA

DevOps with SUSE: How SUSE Manager, SUSE Studio and SUSE Cloud APIs Facilitate Continuous Software Delivery. Wolfgang Engel.

openqa features capabilities bugs Ondrej Holecek /aaannz/

Samba HA Cluster on SLES 9

openqa making QA interesting since 2013 Ondrej Holecek /aaannz/

openqa Avoiding Disasters of Biblical Proportions Marita Werner QA Project Manager

Unleash the Power of Ceph Across the Data Center

Collecting data from IoT devices using Sigfox network

Gaps and Overlaps in Identity Management Solutions OASIS Pre-conference Workshop, EIC 2009

Scaling a Highly Available Global SUSE Manager Deployment at Rackspace to Manage Multiple Linux Platforms

The opensuse project. Motivation, Goals, and Opportunities. Sonja Krause-Harder Michael Löffler. March 6, 2006

Samba and Ceph. Release the Kraken! David Disseldorp

96Boards Enablement for opensuse

openqa Avoiding Disasters of Biblical Proportions Marita Werner QA Project Manager

Packaging made easy. How the opensuse build service makes building packages easy for developers who don't care about packaging

Troubleshooting Your SUSE TUT6113. Cloud. Paul Thompson SUSE Technical Consultant. Dirk Müller SUSE OpenStack Engineer

SUSE. High Performance Computing. Kai Dupke. Meike Chabowski. Senior Product Manager SUSE Linux Enterprise

Veritas NetBackup and Oracle Cloud Infrastructure Object Storage ORACLE HOW TO GUIDE FEBRUARY 2018

Version is the follow-on release after version 8.1, featuring:

Virtualization at Scale in SUSE Linux Enterprise Server

Setting Up the Dell DR Series System as an NFS Target on Amanda Enterprise 3.3.5

Setting Up the DR Series System as an NFS Target on Amanda Enterprise 3.3.5

Software Defined. All The Way with OpenStack. T. R. Bosworth Senior Product Manager SUSE OpenStack Cloud

VSP16. Venafi Security Professional 16 Course 04 April 2016

SUSE Linux Enterprise 11

Veritas System Recovery 18 Linux Edition: Quick Installation Guide

The CephFS Gateways Samba and NFS-Ganesha. David Disseldorp Supriti Singh

Pushing The Limits Of Linux On ARM

An Oracle White Paper May Oracle VM 3: Overview of Disaster Recovery Solutions

Benefits of an Exclusive Multimaster Deployment of Oracle Directory Server Enterprise Edition

Minosse RDBMS. Antonello Provenzano Deveel Ltd.

Windows OS Refresh Process Guide for UEFI Systems

October Oracle Application Express Statement of Direction

Setting up the DR Series System on Acronis Backup & Recovery v11.5. Technical White Paper

Avaya Call Management System Documentation Roadmap

Rapid Recovery DocRetriever for SharePoint User Guide

SSA Baan IVc4. Deployment Guide for Unix and Windows

Setting Up the Dell DR Series System on Veeam

IO110: Open Enterprise Server 2. Hardware you can hit with a hammer, software you can only curse at...

Acronis Backup & Recovery 11 Server for Linux

Redefining Microsoft Exchange Management

Sentinel EMS 4.1. Release Notes

Avaya Aura Call Center Elite Multichannel Documentation Roadmap

Installing Windows 7 Lesson 2

Technical Note. Restoring Dell EMC Avamar Checkpoint Backups from a Dell EMC Data Domain System After a Single Node Avamar Failure

Integrating RDX QuikStor into NetJapan ActiveImage Protector

ARCSERVE UNIFIED DATA PROTECTION

Avaya CallPilot 5.0 Library Listing

Repairing the Broken State of Data Protection

FarStone One. Users Guide

Know your competition A review of qemu and KVM for System z

Cloud Operations for Oracle Cloud Machine ORACLE WHITE PAPER MARCH 2017

Oracle Warehouse Builder 10g Release 2 Integrating Packaged Applications Data

Quest NetVault Backup Plug-in for NDMP. Application Notes for Dell FluidFS NAS Appliances. NCG x-EN-01 03/20/13

Acronis Backup Version 11.5 Update 6 INSTALLATION GUIDE. For Linux Server APPLIES TO THE FOLLOWING PRODUCTS

HP Data Protector A disaster recovery support for Microsoft Windows 7 and Windows Server 2008 R2

TotalShredder USB. User s Guide

An Oracle Technical White Paper September Oracle VM Templates for PeopleSoft

IBM Social Rendering Templates for Digital Data Connector

ADM505. Oracle Database Administration COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

Transcription:

Essentials about Disaster Recovery (abbreviated DR) with Relax-and-Recover (abbreviated ReaR) Johannes Meixner <jsmeix@suse.com>

Why DR with ReaR matters Relax-and-Recover is currently used in particular by business/enterprise users for disaster recovery on thousands and thousands of various systems. 2

Topics What does disaster recovery mean? How does disaster recovery work? What disaster recovery is not meant to do What is Relax-and-Recover? How does Relax-and-Recover work? How to set up Relax-and-Recover Relax-and-Recover advantages/disadvantages Relax-and-Recover limitations Bottom line 3

What does disaster recovery mean? system got destroyed messed up essential files (rm -rf /lib*), file systems, disks,... broken hardware (partially or completely) disaster recovery means reinstalling from scratch on same hardware on fully compatible replacement hardware more than restoring files (more than backup) 1. prepare hard disk (storage) 2. restore files (from backup) 3. install boot loader 4

How does disaster recovery work? while system is up and running save the system's payload: create backup of the files prepare reinstalling from scratch: create recovery system recovery system = recovery installation system + recovery installer after system was destroyed boot recovery installation system (on replacement hardware) run recovery installer to reinstall system from scratch 1. prepare storage (disk partitioning, file systems, mount points) 2. store the system's payload (i.e. install files: e.g. restore a backup) 3. install boot loader in this text installation and installing mean those three steps and installer means a program that essentially performs those three steps 5

What DR is not meant to do no system configuration recovery installer reinstalls system as it was before 1. disk partitions, file systems, mount points as they were before 2. configuration files as they were before (restored from backup) 3. boot loader as it was before except very limited adaptions by recovery installer some hardware specific adaptions (e.g. UUID in /etc/fstab) no system migration no different hardware (or different kind of virtual machine) no different architecture (or bitness or BIOS versus UEFI) no competition with configuration or migration tools 6

What is Relax-and-Recover? disaster recovery framework no disaster recovery solution that "just works" complements backup backup via external software that is only called by ReaR ReaR supports tar and various third party backup software for experienced users (system administrators) command line tool rear + config file (no GUI) pure bash scripts (nothing binary) bash is the native language for system administration meant to be adapted and enhanced as needed 7

How does Relax-and-Recover work? while system is up and running set up ReaR: edit /etc/rear/local.conf (cf. next slide) run ReaR recovery system builder: rear -d -D mkbackup makes recovery installation system + recovery installer (ISO image) the resulting recovery system is specific for one particular system calls external tool to backup files (by default a tar.gz on NFS) after system was destroyed boot recovery installation system (on compatible hardware) run recovery installer: rear -d -D recover 1. prepares storage: partitioning, file systems, mount points 2. stores the payload: calls external tool to restore files (by default tar ) 3. installs boot loader 8

How to set up Relax-and-Recover how to do the recovery process /etc/rear/local.conf (e.g. how to make backup and ISO image) examples: /usr/share/rear/conf/examples/*.conf defaults: /usr/share/rear/conf/default.conf what to recreate (e.g. partitioning, file systems,...) partially via /etc/rear/local.conf (e.g. what to exclude) partially by editing the scripts (e.g. new stuff to include) what the recovery process actually does editing the scripts adapt how the recovery system gets generated adapt what the recovery installer actually does 9

Relax-and-Recover advantages but each becomes a disadvantage from another point of view generic (all of ReaR is pure bash scripts) can be relatively easily adapted and enhanced by the user but often the scripts must be adapted and enhanced ReaR updates (e.g. package updates) may overwrite adapted scripts small (system specific generated recovery system) but hopeless when ReaR installation system fails to boot fast (system specific working recovery installer) ReaR installer directly runs low-level tools (parted, mkfs,...) but when it fails it is a dead end for unexperienced users one-time band-aid fixes relatively easily possible for experienced users ReaR installer scripts can be adapted from within the ReaR installation system 10

Relax-and-Recover limitations There is no such thing as a disaster recovery solution that "just works". limited to what the ReaR recovery system can do ReaR installation system and SUSE inst-sys totally different ReaR installation system may fail to boot where SUSE inst-sys had worked ReaR installer and SUSE installer (Auto)YaST totally different ReaR installer may fail where SUSE installer had worked ReaR installer may reinstall with (possibly subtle but severe) differences cope with Relax-and-Recover limitations verify installation by ReaR works and results what is intended do actual productive deployment by ReaR (proves the former) be prepared for manual intervention (know your system) know how to install directly with low-level tools (parted, mkfs,...) 11

Bottom line What matters in the end Regardless how a system was installed and regardless what is used for disaster recovery eventually a disaster recovery installation will be the final system installation. The final installer is the disaster recovery installer. 12

As a general public accessible entry point visit the opensuse Wiki page SDB:Disaster Recovery http://en.opensuse.org/sdb:disaster_recovery Thank you. 13

Corporate Headquarters Maxfeldstrasse 5 90409 Nuremberg Germany +49 911 740 53 0 (Worldwide) www.suse.com Join us on: www.opensuse.org 14

Unpublished Work of SUSE LLC. All Rights Reserved. This work is an unpublished work and contains confidential, proprietary and trade secret information of SUSE LLC. Access to this work is restricted to SUSE employees who have a need to know to perform tasks within the scope of their assignments. No part of this work may be practiced, performed, copied, distributed, revised, modified, translated, abridged, condensed, expanded, collected, or adapted without the prior written consent of SUSE. Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability. General Disclaimer This document is not to be construed as a promise by any participating company to develop, deliver, or market a product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. SUSE makes no representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. The development, release, and timing of features or functionality described for SUSE products remains at the sole discretion of SUSE. Further, SUSE reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All SUSE marks referenced in this presentation are trademarks or registered trademarks of Novell, Inc. in the United States and other countries. All third-party trademarks are the property of their respective owners.