Relax-and-Recover. Johannes Meixner. on SUSE Linux Enterprise 12. <jsmeix@suse.com>



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

Advanced Systems Management with Machinery

Challenges Implementing a Generic Backup-Restore API for Linux

Using btrfs Snapshots for Full System Rollback

We are watching SUSE

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

Configuration Management in SUSE Manager 3

Implementing Linux Authentication and Authorisation Using SSSD

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

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

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

SUSE Linux uutuudet - kuulumiset SUSECon:sta

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

Btrfs and Rollback How It Works and How to Avoid Pitfalls

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

SUSE Customer Center Roadmap

TUT5605: Deploying an elastic Hadoop cluster Alejandro Bonilla

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

DevOps and SUSE From check-in to deployment

Operating System Security Hardening for SAP HANA

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

SUSE Linux Enterprise 12 Security Certifications

kgraft Live patching of the Linux kernel

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

Wicked A Network Manager Olaf Kirch

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

Using SUSE Cloud to Orchestrate Multiple Hypervisors and Storage at ADP

High Availability Storage

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

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

Deploying Hadoop with Manager

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

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

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

Wicked Trip into Wicked Network Management

How To Make A Cloud Work For You

Kangaroot SUSE TechUpdate Interoperability SUSE Linux Enterprise and Windows

SUSE Cloud 5 Private Cloud based on OpenStack

How SUSE Is Helping You Rock The Public Cloud

Software Defined Everything

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

Linux w chmurze publicznej SUSE na platformie Microsoft Azure

TUT8155 Best Practices: Linux High Availability with VMware Virtual Machines

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

rear for corporate use Ralf Dannert Systems Engineer SUSE Linux GmbH

Oracle Products on SUSE Linux Enterprise Server 11

Of Pets and Cattle and Hearts

Leveraging Wikis to Manage SCP Documentation TWiki Novell Technical Services

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

Novell Collaboration Vibe OnPrem

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

SUSE Virtualization Technologies Roadmap

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

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

SUSE Virtualization Technologies Roadmap

Apache LDAP Configuration

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

Introducing Director 11

AKIPS Network Monitor User Manual (DRAFT) Version 15.x. AKIPS Pty Ltd

EMC Replication Manager and Kroll Ontrack PowerControls for Granular Recovery of SharePoint Items

Implementing the SUSE Linux Enterprise High Availability Extension on System z Mike Friesenegger

Direct virtual machine creation from backup with BMR

Automated Deployment of an HA OpenStack Cloud

Service Agreement Hosted Dynamics GP

for the VaultDR Online Plugin for Linux-based Operating Systems

Secure Web Gateway 11.7 Upgrade Release Notes

Redefining Microsoft SQL Server Data Management

NIST ITL July 2012 CA Compromise

Novell Identity Manager Resource Kit

EMC NetWorker Module for Microsoft for Windows Bare Metal Recovery Solution

BrightStor ARCserve Backup for UNIX

EMC NETWORKER SNAPSHOT MANAGEMENT

Dell NetVault Bare Metal Recovery User s Guide

Using Symantec NetBackup with VSS Snapshot to Perform a Backup of SAN LUNs in the Oracle ZFS Storage Appliance

Upgrade Guide. CA Application Delivery Analysis 10.1

Acronis Backup & Recovery 11.5 Quick Start Guide

Acronis Backup & Recovery 11

Advanced SUSE Linux Enterprise Server Administration (Course 3038) Chapter 5 Manage Backup and Recovery

Table of Content. Introduction. Software Install and Uninstall. Software Features and GUI. Quick Getting Started Guide. Frequently Asked Questions

Microsoft Exchange 2003 Disaster Recovery Operations Guide

VERITAS NetBackup TM 6.0

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

How To Back Up A Computer To A Backup On A Hard Drive On A Microsoft Macbook (Or Ipad) With A Backup From A Flash Drive To A Flash Memory (Or A Flash) On A Flash (Or Macbook) On

IBM TSM DISASTER RECOVERY BEST PRACTICES WITH EMC DATA DOMAIN DEDUPLICATION STORAGE

Novell Archive and Version Services Administration Guide

Acronis Storage Gateway

Backup Strategies for Integrity Virtual Machines

Quick Start Guide

Yosemite Server Backup Installation Guide

Transcription:

Relax-and-Recover on SUSE Linux Enterprise 12 Johannes Meixner <jsmeix@suse.com>

Topics What is Relax-and-Recover? What means disaster recovery here? How does disaster recovery work? How does Relax-and-Recover work? How to set up Relax-and-Recover? Relax-and-Recover advantages Handle Relax-and-Recover limitations Relax-and-Recover live demo Relax-and-Recover on SUSE Linux Enterprise 12 2

What is Relax-and-Recover? disaster recovery framework complements backup (backup is external) for experienced users (system administrators) no GUI nothing binary pure bash scripts meant to be adapted and enhanced by the user rear acronym for Relax-and-Recover Relax-and-Recover was formerly called ReaR 3

What means disaster recovery here? system got destroyed messed up software, configuration, file systems,... broken hardware (partially or completely) recreate system on same hardware on compatible replacement hardware more than restoring files (more than backup) prepare hard disk (storage) restore files (from backup) reinstall boot loader 4

How does disaster recovery work? while system is up and running create backup of the files create recovery installer on a recovery medium after system was destroyed replace broken hardware (if needed) boot recovery installer (from recovery medium) recovery installer recreates the system prepares storage (partitioning, file systems, mount points) restores files (from backup) reinstalls boot loader 5

How does Relax-and-Recover work? while system is up and running run: rear -d -D mkbackup creates rear recovery install medium (ISO image) analyzes system and results generated system specific rear recovery installer calls external tool to backup files (by default tar ) after system was destroyed replace broken hardware (if needed) boot rear recovery installer run: rear -d -D recover prepares storage (partitioning, file systems, mount points) calls external tool to restore files (by default tar ) reinstalls boot loader 6

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) VAR=value not VAR = value (rear is pure bash scripts) 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 rear system analyzer generates the rear recovery installer adapt what the rear recovery installer actually does 7

Relax-and-Recover advantages which become disadvantages from another point of view generic (pure bash scripts, nothing binary) can be relatively easily adapted and enhanced but often the scripts must be adapted and enhanced by the user rear RPM package updates almost impossible (overwrites adapted scripts) small (specifically generated rear recovery installer) rear recovery installer is system specific and minimalist but in case of issues there are only some basic tools available in case of issues one needs to know how to work with basic tools fast (rear recovery installer works system specific) rear recovery installer does specifically what must be done but when it fails it is usually a dead end (not much graceful error handling) 8

Handle Relax-and-Recover limitations There is no such thing as a disaster recovery solution that "just works". limited to what the rear recovery installer can do rear installer and SUSE installer (Auto)YaST totally different rear installer may fail where SUSE installer had just worked rear installer may recreate system with (possibly subtle) differences do actual productive deployment by rear installer proves that rear installer results system as required no disaster recovery without continuous verification help and support only feasible in advance while testing know system and be prepared for manual recreation storage setup, networking, backup restore, boot loader,... 9

Relax-and-Recover live demo

Relax-and-Recover on SLE12 All file systems are equal, but some are more equal than others... ext2 ext3 ext4 are basically equal a mount point matches a whole file system btrfs is more equal subvolumes (appear as file system boundaries) subvolumes behave as if they were file systems (can be mounted) list all subvolumes: btrfs subvolume list -a / snapshot subvolumes (result multiple paths to identical files) backup results identical files multiple times in archive (like hard links) a mount point matches a btrfs subvolume mount default subvolume: mount -t btrfs /dev/sdxn /tmp/btrfs-default show default subvolume: btrfs subvolume get-default / 11

Relax-and-Recover on SLE12 (cont.) and the SLE12 btrfs default is the most equal of all ;-) btrfs default on SLE12 btrfs default subvolume is by default <btrfs-root>/@ other btrfs subvolumes are under <btrfs-root>/@/ mounts default subvolume as / (like chroot /@ on ext2/3/4) to mount whole btrfs (means to mount btrfs root subvolume) use: mount -t btrfs -o subvolid=0 /dev/sdxn /tmp/btrfs-root mounts other subvolumes at moint points under / show where what actual source is mounted: findmnt -t btrfs rear on SLE12 (currently RPM package rear116 ) adaptions and enhancements for btrfs default on SLE12 no recovery of snapshot subvolumes (multiple identical files) 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.