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



Similar documents
Relax-and-Recover. Johannes Meixner. on SUSE Linux Enterprise 12.

Advanced Systems Management with Machinery

Running SAP HANA One on SoftLayer Bare Metal with SUSE Linux Enterprise Server CAS19256

Building Images for the Cloud and Data Center with SUSE Studio

Challenges Implementing a Generic Backup-Restore API for Linux

We are watching SUSE

Implementing Linux Authentication and Authorisation Using SSSD

Build Platform as a Service (PaaS) with SUSE Studio, WSO2 Middleware, and EC2 Chris Haddad

SUSE Storage. FUT7537 Software Defined Storage Introduction and Roadmap: Getting your tentacles around data growth. Larry Morris

Using SUSE Linux Enterprise to "Focus In" on Retail Optical Sales

Public Cloud. Build, Use, Manage. Robert Schweikert. Public Cloud Architect

Using btrfs Snapshots for Full System Rollback

Data Center Automation with SUSE Manager Federal Deployment Agency Bundesagentur für Arbeit Data Center Automation Project

Installing, Tuning, and Deploying Oracle Database on SUSE Linux Enterprise Server 12 Technical Introduction

Configuration Management in SUSE Manager 3

DevOps and SUSE From check-in to deployment

TUT5605: Deploying an elastic Hadoop cluster Alejandro Bonilla

Wicked A Network Manager Olaf Kirch

SUSE Linux Enterprise 12 Security Certifications Common Criteria, EAL, FIPS, PCI DSS,... What's All This About?

SUSE Linux uutuudet - kuulumiset SUSECon:sta

HO15982 Deploy OpenStack. The SUSE OpenStack Cloud Experience. Alejandro Bonilla. Michael Echavarria. Cameron Seader. Sales Engineer

SUSE Customer Center Roadmap

Btrfs and Rollback How It Works and How to Avoid Pitfalls

SUSE Linux Enterprise 12 Security Certifications

Using SUSE Cloud to Orchestrate Multiple Hypervisors and Storage at ADP

kgraft Live patching of the Linux kernel

Operating System Security Hardening for SAP HANA

Wicked Trip into Wicked Network Management

Securing Your System: Security Hardening Techniques for SUSE Linux Enterprise Server

Big Data, SAP HANA. SUSE Linux Enterprise Server for SAP Applications. Kim Aaltonen

SUSE Enterprise Storage Highly Scalable Software Defined Storage. Gábor Nyers Sales

Deploying Hadoop with Manager

High Availability Storage

Proste zarządzanie setkami serwerów SUSE Manager 2.1 I SUSE Virtualization Enterprise Console

Case Study: University of Dayton and Novell Identity & Security Solutions Rick Wagner

Ceph Distributed Storage for the Cloud An update of enterprise use-cases at BMW

High Availability and Disaster Recovery for SAP HANA with SUSE Linux Enterprise Server for SAP Applications

Workflow und Identity Management - Genehmigungsprozesse, Role Mining, Role Design und Compliance Management

SUSE Enterprise Storage Highly Scalable Software Defined Storage. Māris Smilga

SUSE Cloud 5 Private Cloud based on OpenStack

Novell Cloud Security Service Reducing Risk by Securing the Cloud. Stefan Stiehl Senior Sales Technology Specialist

How To Make A Cloud Work For You

Software Defined Everything

Faster Time to Market and Technology Innovation Integrated Systems with SUSE. Otto Smits OEM Account Executive EMEA July 9 th 2014

How SUSE Is Helping You Rock The Public Cloud

Based on Geo Clustering for SUSE Linux Enterprise Server High Availability Extension

Linux w chmurze publicznej SUSE na platformie Microsoft Azure

Oracle Products on SUSE Linux Enterprise Server 11

How an Open Source Cloud Will Help Keep Your Cloud Strategy Options Open

SUSE OpenStack Cloud 4 Private Cloud Platform based on OpenStack. Gábor Nyers Sales gnyers@suse.com

TUT8155 Best Practices: Linux High Availability with VMware Virtual Machines

File Management Suite. Novell. Intelligently Manage File Storage for Maximum Business Benefit. Sophia Germanides

Kangaroot SUSE TechUpdate Interoperability SUSE Linux Enterprise and Windows

CAS18543 Migration from a Windows Environment to a SUSE Linux Enterprise based Infrastructure Liberty Christian School

Of Pets and Cattle and Hearts

Performance Monitoring in the Linux Kernel Davidlohr Bueso

HO5604 Deploying MongoDB. A Scalable, Distributed Database with SUSE Cloud. Alejandro Bonilla. Sales Engineer abonilla@suse.com

Leveraging Wikis to Manage SCP Documentation TWiki Novell Technical Services

Direct virtual machine creation from backup with BMR

Novell Collaboration Vibe OnPrem

Dell NetVault Bare Metal Recovery User s Guide

Open Source High Availability Writing Resource Agents for your own services. Lars Marowsky-Brée Team Lead SUSE Labs

Customizing Boot Media for Linux* Direct Boot

TUT19344 Managing RH/CentOS with SUSE Manager

Instant Recovery for VMware

Using SUSE Studio to Build and Deploy Applications on Amazon EC2. Guide. Solution Guide Cloud Computing.

SUSE Virtualization Technologies Roadmap

EMC DOCUMENTUM xplore 1.1 DISASTER RECOVERY USING EMC NETWORKER

TotalShredder USB. User s Guide

Full Disk Encryption Agent Reference

NOVASTOR CORPORATION NovaBACKUP Disaster Recovery Walkthrough

IPv6 CPE Device Development and Deployment. APNIC 32 Busan, South Korea Aug. 30 th 2011

Apache LDAP Configuration

Securing Your System: Security Hardening Techniques for SUSE Linux Enterprise Server 12

EMC NetWorker Module for Microsoft for Windows Bare Metal Recovery Solution

for the VaultDR Online Plugin for Linux-based Operating Systems

EMC NetWorker Module for Microsoft for Windows Bare Metal Recovery Solution

NIST ITL July 2012 CA Compromise

EMC NetWorker Module for Microsoft for Windows Bare Metal Recovery Solution

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

EMC NetWorker Module for Microsoft for Windows Bare Metal Recovery Solution

HP One-Button Disaster Recovery (OBDR) Solution for ProLiant Servers

Is Identity Governance as exciting as buying car Insurance?

SUSE Virtualization Technologies Roadmap

Product Brief. DC-Protect. Content based backup and recovery solution. By DATACENTERTECHNOLOGIES

Introducing Director 11

How to Restore a Linux Server Using Bare Metal Restore

Best Practices for Installing and Configuring the Hyper-V Role on the LSI CTS2600 Storage System for Windows 2008

Intel Data Migration Software

Dell DR4000 Disk Backup System. Introduction to the Dell DR4000 Restore Manager A primer for creating and using a Restore Manager USB flash drive

Redefining Microsoft SQL Server Data Management

Restoring a Suse Linux Enterprise Server 9 64 Bit on Dissimilar Hardware with CBMR for Linux 1.02

Novell Identity Manager Resource Kit

Dell NetVault Backup Plug-in for Advanced Encryption 2.2. User s Guide

Software Distribution Reference

Oracle VM Server Recovery Guide. Version 8.2

How To Install Acronis Backup & Recovery 11.5 On A Linux Computer

Week Overview. Installing Linux Linux on your Desktop Virtualization Basic Linux system administration

Acronis Backup & Recovery 10 Server for Linux. Update 5. Installation Guide

Solution Overview VMWARE PROTECTION WITH EMC NETWORKER 8.2. White Paper

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 by SUSE customers for disaster recovery on thousands and thousands of SUSE Linux Enterprise 11 and 12 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 files (rm -rf /), 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/sle*-example.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 RPM package updates almost impossible (overwrites 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 that rear installation 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.