SlideShare une entreprise Scribd logo
1  sur  30
Télécharger pour lire hors ligne
Relax and Recover:
Disaster Recovery for UEFI Systems
Berlin | 24.05.2013 | Schlomo Schapiro & Schlomo Schapiro
Systemarchitekt, Open Source Evangelist
License: http://creativecommons.org/licenses/by-nc-nd/3.0/
Slide 2 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Integrating UEFI into
Relax-and-Recover
by
Gratien D'haese
gratien.dhaese@it3.be
http://j.mp/rear-uefi
Slide 3 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Backup != Restore/Recovery
Slide 4 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Linux and Disaster Recovery
Slide 5 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Disaster Recovery Strategies
Disk Imaging
+ Offline -> no open file issues
+ Simple to restore
 Online -> very problematic
 No “perfect” open source
tool for Linux available
Copy files and store disk layout
and boot info
+ Online -> no problem
+ Backup independent of disk
layout and sizes
 More effort required to
restore (can be scripted)
 Maybe consistency
problems, but should be
solved by backup solution
Slide 6 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Advantages of a Linux System
All information is stored in files, all files always readable
Operation System and applications can be “slim” - 600MB enough
for complete standard server
Open system – open methods and procedures
All steps of an installation can be scripts: Partitioning, file systems,
boot loader etc.
Slide 7 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Disaster Recovery – Media
Most important: External storage!
Bootable media: CD/DVD, USB key, LAN, tape ...
Media usually combination boot and backup media:
 Bootable CD/DVD, USB key with backup data on it
 LAN boot (PXE) with backup data via CIFS, NFS ...
 Bootable tapes - HP OBDR (CD emulation)
Separation between boot media and backup data
 Boot the system from a (small) USB key, CD/DVD or LAN
 Recover the system with backup software, tar, rsync ...
Slide 8 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Disaster Recovery – How It Works
Store the disk layout
 Partitioning, LVM and RAID configuration
 File systems, file system labels ...
 Boot loader (GRUB, GRUB2, LILO, ELILO)
Store the files (tgz, rsync, through backup software ...)
Create bootable rescue media with system configuration (and
backup data)
Can be done online
 No business interruption
 100% compatible with original systems hard- and software
Slide 9 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Disaster Recovery – Rescue Media
Create “rescue linux” from running system
Optimally compatible “tool box”
Clone the system environment
 Linux kernel and modules
 Device driver configuration
 Network configuration
 Basic system software and tools
Operate entirely in RAM (initrd)
Slide 10 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Disaster Recovery – In Action
Boot system from rescue media
Restore disk layout
 Create partitions, RAID configuration and LVM
 Create file systems (mkfs, mkswap)
 Configure file systems (labels, mount points)
Restore the backup data
Restore the boot loader
Reboot
Done!
Slide 11 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Relax and Recover
Slide 12 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Relax and Recover – Rear
http://relax-and-recover.org/
GPL Software – Developers in Germany and Belgium
100% Bash script – no GUI and no dependencies
Utilize kernel, modules, binaries of host (kernel ≥ 2.6)
Support any combination of SW/HW RAID, LVM
Internal backup on CIFS, NFS, rsync ...
Boot media on CD/DVD, USB storage and LAN (PXE)
Bootable tapes
Successor of mkCDrec
Slide 13 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Rear – Features
Focus on disaster recovery and notnot backup
Tight integration with common backup software – delegate file
backup to backup infrastructure
Simple full backup integrated
Complements backup software:
 Backup software: Data storage and retrieval
 ReaR: Recover system layout and make it work again
 ReaR utilizes the backup software to restore the backup data
Use the best tool for the job
Slide 14 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Rear – Backup Software
Supported solutions include:
 CommVault Galaxy
 IBM Tivoli Storage Manager
 Veritas NetBackup
 HP Data Protector
 Bacula
 Duplicity (experimental)
 Rsync and other “external” methods
 tar.gz archive on NAS share – CIFS, NFS, NCP ...
Very transparent integration
Quick implementation: 2-3 PT programming
Can be easily extended to support other vendors
Slide 15 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Rear – Network Integration
Disaster recovery as part of network infrastructure
 Backup software – file-level backup storage
 Rear – system environment
 Boot rescue media via PXE – no physical media required
 Very scalable – automated installation of entire disaster
recovery data center
Backup
storageNetwork
infrastructure
Rear
Boot files
PXE
Boot
Backup
Software
Slide 16 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Rear – Status
Stable software
 i386 and x86_64 well tested
 ia64 and ppc works, but less tested
 UEFI in rear > 1.14-git
Regular releases (RPM, DEB, TGZ)
Major Linux distributions ship Rear:
 SLES11 >= SP1 HA Extension
 OpenSUSE >= 11.2 and Fedora >= 11
Community and commercial support available
Regular patch submissions from Rear users
Slide 17 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
ReaR - Development
Open Source development model:
 Submit patches and feedback – “field testing”
 Sponsoring
Modular design:
 Rear is a framework to plug together many small Bash scripts
 Maximize code reusability
 Simple development model (vi works fine)
 Little to no “interferences” between different areas of code
Documentation on project homepage
 Hierarchical structure
 References to source code
Slide 18 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Slide 19 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Integration of UEFI into rear (ia64)
Integrity platform (ia64) UEFI support was added long time ago
Using the UEFI standard v1 or v2 (no secure boot)
What do we need to integrate?
 /boot/efi : mounted as vfat
 /boot/efi/efi/*/elilo.efi : boot loader (same for different
flavors of Linux)
 CONSOLE="console=tty1 console=ttyS1" : mandatory
 No need to be grubby after recovery as /boot/ef/* is all you need
 Create a bootable CDROM which is recognized by UEFI
Slide 20 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Integration of UEFI into rear (x86_64)
What do we need for UEFI support on Linux?
 Bootable disk with GPT partition table (parted /dev/disk p)
 /boot/efi mount point (vfat)
 Linux Kernel Config should contain CONFIG_EFI=y
 UEFI Runtime Variables/Services Support - 'efivars' kernel module
 Check /sys/firmware/efi/vars/ directory
 Efibootmgr to manipulate boot entries, order of booting
 Create a bootable UEFI capable ISO image
Slide 21 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
UEFI / GPT notes
To manipulate disk devices with GPT label we need
 Be sure this system uses UEFI
 Parted (./conf/Linux-i386.conf:parted)
 Gdisk (GPT fdisk utility – not mandatory, but nice to have)
 A mounted /boot/efi file system (type vfat)
 The efivars kernel module
 Efibootmgr utility
 Which boot manager is used (grub, elilo, gummiboot, shim,...)
 Secure boot used? Recovered system might be unbootable!
Slide 22 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Hybrid ISO
Slide 23 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
EFI Support in rear
~/src/rear$ find . -iname *efi*
usr/share/rear/conf/templates/EFI_readme.txt
usr/share/rear/prep/default/31_include_uefi_tools.sh
usr/share/rear/prep/ISO/Linux-ia64/34_define_console_ia64.sh
usr/share/rear/prep/ISO/Linux-ia64/33_find_elilo_efi.sh
usr/share/rear/prep/OBDR/Linux-ia64/34_define_console_ia64.sh
usr/share/rear/prep/OBDR/Linux-ia64/33_find_elilo_efi.sh
usr/share/rear/output/default/15_save_copy_of_prefix_dir.sh
usr/share/rear/output/default/20_make_prefix_dir.sh
usr/share/rear/output/ISO/Linux-i386/20_mount_efibootimg.sh
usr/share/rear/output/ISO/Linux-i386/70_umount_efibootimg.sh
usr/share/rear/output/ISO/Linux-i386/25_populate_efibootimg.sh
usr/share/rear/output/ISO/Linux-ia64/40_create_local_efi_dir.sh
usr/share/rear/output/RSYNC/default/20_make_prefix_dir.sh
usr/share/rear/output/OBDR/Linux-ia64/40_create_local_efi_dir.sh
usr/share/rear/lib/uefi-functions.sh
usr/share/rear/finalize/Linux-i386/23_run_efibootmgr.sh
usr/share/rear/backup/NETFS/default/15_save_copy_of_prefix_dir.sh
usr/share/rear/backup/NETFS/default/20_make_prefix_dir.sh
usr/share/rear/rescue/default/85_save_sysfs_uefi_vars.sh
Slide 24 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
UEFI Status
Currently in HEAD, part of next release
Tested on Fedora 18, Ubuntu 12.10
OpenSuse 12.2 (and 12.3) failed to generate a bootable UEFI ISO
https://bugzilla.novell.com/show_bug.cgi?id=811636
Secure Boot
 only working on same system (Key Exchange Keys - KEKs)
 P2P, P2V is not possible due to the KEKs
Secure Boot disabled works out of the box
Slide 25 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Demo Movie
Slide 26 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
github.com/rear
github.com/rear/rear/tree/master/doc/user-guide
Slide 27 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Start from the sources
$ git clone git@github.com:rear/rear.git
# yum|zypper install rpm-build lsb mingetty
$ make rpm
$ sudo rpm -ivh rear-1.14-1.git201303211657.noarch.rpm
$ sudo -i
Rear is at your service:
 /etc/rear/local.conf
 /usr/share/rear/*
Edit /etc/rear/local.conf:
 BACKUP=NETFS
 OUTPUT=ISO
Slide 28 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Writing your own rear scripts
Good to know – everything is a script, even config files
Does rear has an API? Yes, check out our functions:
grep '()' /usr/share/rear/lib/*functions.sh
Rear works with workflows – see other presentations on the basics
Where to drop your script? Use 'rear -s mkbackup' to see all
existing scripts and order of execution
Slide 29 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
go.schapiro.org/slides
relax-and-recover.org
Slide 30 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
Kontakt:
Immobilien Scout GmbH
Andreasstraße 10
10243 Berlin
Fon: +49 30 243 01-1229
Email: schlomo.schapiro@immobilienscout24.de
URL: www.immobilienscout24.de
Thank you very much!
Please contact me for further
questions and discussions.
All images are either public domain, used in appropriate
context or taken from openclipart.org

Contenu connexe

Tendances (20)

File System Modules
File System ModulesFile System Modules
File System Modules
 
Intro tounix
Intro tounixIntro tounix
Intro tounix
 
Android Custom Kernel/ROM design
Android Custom Kernel/ROM designAndroid Custom Kernel/ROM design
Android Custom Kernel/ROM design
 
Users guide-to-winfe
Users guide-to-winfeUsers guide-to-winfe
Users guide-to-winfe
 
BeagleBoard-xM Booting Process
BeagleBoard-xM Booting ProcessBeagleBoard-xM Booting Process
BeagleBoard-xM Booting Process
 
File Systems
File SystemsFile Systems
File Systems
 
5. boot process
5. boot process5. boot process
5. boot process
 
Intro tounix
Intro tounixIntro tounix
Intro tounix
 
Android booting sequece and setup and debugging
Android booting sequece and setup and debuggingAndroid booting sequece and setup and debugging
Android booting sequece and setup and debugging
 
I2C Drivers
I2C DriversI2C Drivers
I2C Drivers
 
Distro Recipes 2013: What’s new in gcc 4.8?
Distro Recipes 2013: What’s new in gcc 4.8?Distro Recipes 2013: What’s new in gcc 4.8?
Distro Recipes 2013: What’s new in gcc 4.8?
 
Unix Training - 1
Unix Training - 1Unix Training - 1
Unix Training - 1
 
FOSDEM'08: TOMOYO Linux for Secure Embedded
FOSDEM'08: TOMOYO Linux for Secure EmbeddedFOSDEM'08: TOMOYO Linux for Secure Embedded
FOSDEM'08: TOMOYO Linux for Secure Embedded
 
Ch10
Ch10Ch10
Ch10
 
BeagleBone Black Bootloaders
BeagleBone Black BootloadersBeagleBone Black Bootloaders
BeagleBone Black Bootloaders
 
Video Drivers
Video DriversVideo Drivers
Video Drivers
 
Unix Security
Unix SecurityUnix Security
Unix Security
 
Review paper on bios vs uefi
Review  paper on bios vs uefiReview  paper on bios vs uefi
Review paper on bios vs uefi
 
Learning AOSP - Android Booting Process
Learning AOSP - Android Booting ProcessLearning AOSP - Android Booting Process
Learning AOSP - Android Booting Process
 
Linux Porting
Linux PortingLinux Porting
Linux Porting
 

Similaire à LinuxTag 2013 Relax and Recover - Disaster Recovery for UEFI Systems

"Relax and Recover", an Open Source mksysb for Linux on Power
"Relax and Recover", an Open Source mksysb for Linux on Power"Relax and Recover", an Open Source mksysb for Linux on Power
"Relax and Recover", an Open Source mksysb for Linux on PowerSebastien Chabrolles
 
Linux Disaster Recovery Solutions
Linux Disaster Recovery SolutionsLinux Disaster Recovery Solutions
Linux Disaster Recovery SolutionsGratien D'haese
 
BITS: Introduction to linux, distributions and installation
BITS: Introduction to linux, distributions and installationBITS: Introduction to linux, distributions and installation
BITS: Introduction to linux, distributions and installationBITS
 
Upgrade Ubuntu 18.04 Security with Secureboot
Upgrade Ubuntu 18.04 Security with SecurebootUpgrade Ubuntu 18.04 Security with Secureboot
Upgrade Ubuntu 18.04 Security with SecurebootJonathan MICHEL-VILLAZ
 
Open Source Backup Conference 2014: Rear, by Ralf Dannert
Open Source Backup Conference 2014: Rear, by Ralf DannertOpen Source Backup Conference 2014: Rear, by Ralf Dannert
Open Source Backup Conference 2014: Rear, by Ralf DannertNETWAYS
 
Bootkits: Past, Present & Future - Virus Bulletin
Bootkits: Past, Present & Future - Virus BulletinBootkits: Past, Present & Future - Virus Bulletin
Bootkits: Past, Present & Future - Virus BulletinESET
 
BrainShare 2010 SLC - ELS306 Linux Disaster Recovery Made Easy
BrainShare 2010 SLC - ELS306 Linux Disaster Recovery Made EasyBrainShare 2010 SLC - ELS306 Linux Disaster Recovery Made Easy
BrainShare 2010 SLC - ELS306 Linux Disaster Recovery Made EasySchlomo Schapiro
 
Bootloaders (U-Boot)
Bootloaders (U-Boot) Bootloaders (U-Boot)
Bootloaders (U-Boot) Omkar Rane
 
Bootkits: past, present & future
Bootkits: past, present & futureBootkits: past, present & future
Bootkits: past, present & futureAlex Matrosov
 
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...Concentrated Technology
 
Embedded Recipes 2018 - Yoctoception: Containers in the embedded world - Jéré...
Embedded Recipes 2018 - Yoctoception: Containers in the embedded world - Jéré...Embedded Recipes 2018 - Yoctoception: Containers in the embedded world - Jéré...
Embedded Recipes 2018 - Yoctoception: Containers in the embedded world - Jéré...Anne Nicolas
 
System Imager.20051215
System Imager.20051215System Imager.20051215
System Imager.20051215guest95b42b
 
Linux Disaster Recovery Made Easy
Linux Disaster Recovery Made EasyLinux Disaster Recovery Made Easy
Linux Disaster Recovery Made EasyNovell
 
WinFE: The (Almost) Perfect Triage Tool
WinFE: The (Almost) Perfect Triage ToolWinFE: The (Almost) Perfect Triage Tool
WinFE: The (Almost) Perfect Triage ToolBrent Muir
 
Automated Linux Management Infrastructure
Automated Linux Management InfrastructureAutomated Linux Management Infrastructure
Automated Linux Management Infrastructureelliando dias
 

Similaire à LinuxTag 2013 Relax and Recover - Disaster Recovery for UEFI Systems (20)

"Relax and Recover", an Open Source mksysb for Linux on Power
"Relax and Recover", an Open Source mksysb for Linux on Power"Relax and Recover", an Open Source mksysb for Linux on Power
"Relax and Recover", an Open Source mksysb for Linux on Power
 
Linux Disaster Recovery Solutions
Linux Disaster Recovery SolutionsLinux Disaster Recovery Solutions
Linux Disaster Recovery Solutions
 
BITS: Introduction to linux, distributions and installation
BITS: Introduction to linux, distributions and installationBITS: Introduction to linux, distributions and installation
BITS: Introduction to linux, distributions and installation
 
Upgrade Ubuntu 18.04 Security with Secureboot
Upgrade Ubuntu 18.04 Security with SecurebootUpgrade Ubuntu 18.04 Security with Secureboot
Upgrade Ubuntu 18.04 Security with Secureboot
 
File000127
File000127File000127
File000127
 
LinuxTag2012 Rear
LinuxTag2012 RearLinuxTag2012 Rear
LinuxTag2012 Rear
 
Open Source Backup Conference 2014: Rear, by Ralf Dannert
Open Source Backup Conference 2014: Rear, by Ralf DannertOpen Source Backup Conference 2014: Rear, by Ralf Dannert
Open Source Backup Conference 2014: Rear, by Ralf Dannert
 
Bootkits: Past, Present & Future - Virus Bulletin
Bootkits: Past, Present & Future - Virus BulletinBootkits: Past, Present & Future - Virus Bulletin
Bootkits: Past, Present & Future - Virus Bulletin
 
BrainShare 2010 SLC - ELS306 Linux Disaster Recovery Made Easy
BrainShare 2010 SLC - ELS306 Linux Disaster Recovery Made EasyBrainShare 2010 SLC - ELS306 Linux Disaster Recovery Made Easy
BrainShare 2010 SLC - ELS306 Linux Disaster Recovery Made Easy
 
Red Hat Training
Red Hat   TrainingRed Hat   Training
Red Hat Training
 
Linux Booting Process
Linux Booting ProcessLinux Booting Process
Linux Booting Process
 
Bootloaders (U-Boot)
Bootloaders (U-Boot) Bootloaders (U-Boot)
Bootloaders (U-Boot)
 
Bootkits: past, present & future
Bootkits: past, present & futureBootkits: past, present & future
Bootkits: past, present & future
 
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...
 
Embedded Recipes 2018 - Yoctoception: Containers in the embedded world - Jéré...
Embedded Recipes 2018 - Yoctoception: Containers in the embedded world - Jéré...Embedded Recipes 2018 - Yoctoception: Containers in the embedded world - Jéré...
Embedded Recipes 2018 - Yoctoception: Containers in the embedded world - Jéré...
 
Basic Linux Internals
Basic Linux InternalsBasic Linux Internals
Basic Linux Internals
 
System Imager.20051215
System Imager.20051215System Imager.20051215
System Imager.20051215
 
Linux Disaster Recovery Made Easy
Linux Disaster Recovery Made EasyLinux Disaster Recovery Made Easy
Linux Disaster Recovery Made Easy
 
WinFE: The (Almost) Perfect Triage Tool
WinFE: The (Almost) Perfect Triage ToolWinFE: The (Almost) Perfect Triage Tool
WinFE: The (Almost) Perfect Triage Tool
 
Automated Linux Management Infrastructure
Automated Linux Management InfrastructureAutomated Linux Management Infrastructure
Automated Linux Management Infrastructure
 

Plus de Schlomo Schapiro

The Role of GitOps in IT-Strategy v2 - July 2022 - Schlomo Schapiro
The Role of GitOps in IT-Strategy v2 - July 2022 - Schlomo SchapiroThe Role of GitOps in IT-Strategy v2 - July 2022 - Schlomo Schapiro
The Role of GitOps in IT-Strategy v2 - July 2022 - Schlomo SchapiroSchlomo Schapiro
 
The GitOps Journey - Schlomo Schapiro - Berlin DevOps Meetup 2021-11
The GitOps Journey - Schlomo Schapiro - Berlin DevOps Meetup 2021-11The GitOps Journey - Schlomo Schapiro - Berlin DevOps Meetup 2021-11
The GitOps Journey - Schlomo Schapiro - Berlin DevOps Meetup 2021-11Schlomo Schapiro
 
The Role of GitOps in IT-Strategy - November 2021 - Schlomo Schapiro - Contin...
The Role of GitOps in IT-Strategy - November 2021 - Schlomo Schapiro - Contin...The Role of GitOps in IT-Strategy - November 2021 - Schlomo Schapiro - Contin...
The Role of GitOps in IT-Strategy - November 2021 - Schlomo Schapiro - Contin...Schlomo Schapiro
 
Schlomo Schapiro - Why I like to use the proprietary Cloud services without f...
Schlomo Schapiro - Why I like to use the proprietary Cloud services without f...Schlomo Schapiro - Why I like to use the proprietary Cloud services without f...
Schlomo Schapiro - Why I like to use the proprietary Cloud services without f...Schlomo Schapiro
 
The Role of GitOps in IT Strategy - June 2021 - Schlomo Schapiro
The Role of GitOps in IT Strategy - June 2021 - Schlomo SchapiroThe Role of GitOps in IT Strategy - June 2021 - Schlomo Schapiro
The Role of GitOps in IT Strategy - June 2021 - Schlomo SchapiroSchlomo Schapiro
 
The GitOps Journey - GitOpsCon EU 2021 - Schlomo Schapiro
The GitOps Journey - GitOpsCon EU 2021 - Schlomo SchapiroThe GitOps Journey - GitOpsCon EU 2021 - Schlomo Schapiro
The GitOps Journey - GitOpsCon EU 2021 - Schlomo SchapiroSchlomo Schapiro
 
Want Digitalisation, have Cloud - DevSecOps Days 2021 - Schlomo Schapiro
Want Digitalisation, have Cloud - DevSecOps Days 2021 - Schlomo SchapiroWant Digitalisation, have Cloud - DevSecOps Days 2021 - Schlomo Schapiro
Want Digitalisation, have Cloud - DevSecOps Days 2021 - Schlomo SchapiroSchlomo Schapiro
 
Automated Governance - Continous Lifecycle 2019 - Schlomo Schapiro
Automated Governance - Continous Lifecycle 2019 - Schlomo SchapiroAutomated Governance - Continous Lifecycle 2019 - Schlomo Schapiro
Automated Governance - Continous Lifecycle 2019 - Schlomo SchapiroSchlomo Schapiro
 
Compliant by Default - Digitaler Wandel - 14.08.2019 - Schlomo Schapiro
Compliant by Default - Digitaler Wandel - 14.08.2019 - Schlomo SchapiroCompliant by Default - Digitaler Wandel - 14.08.2019 - Schlomo Schapiro
Compliant by Default - Digitaler Wandel - 14.08.2019 - Schlomo SchapiroSchlomo Schapiro
 
DevOps ist normal - DevOps Essentials 2019 - Schlomo Schapiro
DevOps ist normal - DevOps Essentials 2019 - Schlomo SchapiroDevOps ist normal - DevOps Essentials 2019 - Schlomo Schapiro
DevOps ist normal - DevOps Essentials 2019 - Schlomo SchapiroSchlomo Schapiro
 
The Devops Driving School - DevOps Gathering 2019 - Schlomo Schapiro
The Devops Driving School - DevOps Gathering 2019 - Schlomo SchapiroThe Devops Driving School - DevOps Gathering 2019 - Schlomo Schapiro
The Devops Driving School - DevOps Gathering 2019 - Schlomo SchapiroSchlomo Schapiro
 
Open Source Contribution Policy at DB Systel - Schlomo Schapiro - AK Open Sou...
Open Source Contribution Policy at DB Systel - Schlomo Schapiro - AK Open Sou...Open Source Contribution Policy at DB Systel - Schlomo Schapiro - AK Open Sou...
Open Source Contribution Policy at DB Systel - Schlomo Schapiro - AK Open Sou...Schlomo Schapiro
 
Compliant by Default - Continuous Delivery at DB Systel - 16.10.2018 - Schlom...
Compliant by Default - Continuous Delivery at DB Systel - 16.10.2018 - Schlom...Compliant by Default - Continuous Delivery at DB Systel - 16.10.2018 - Schlom...
Compliant by Default - Continuous Delivery at DB Systel - 16.10.2018 - Schlom...Schlomo Schapiro
 
DevOps + Continuous Delivery + Cloud: The Three Drivers of Enterprise Agility...
DevOps + Continuous Delivery + Cloud: The Three Drivers of Enterprise Agility...DevOps + Continuous Delivery + Cloud: The Three Drivers of Enterprise Agility...
DevOps + Continuous Delivery + Cloud: The Three Drivers of Enterprise Agility...Schlomo Schapiro
 
Kubernetes - Shifting the mindset from servers to containers - microxchg 201...
Kubernetes  - Shifting the mindset from servers to containers - microxchg 201...Kubernetes  - Shifting the mindset from servers to containers - microxchg 201...
Kubernetes - Shifting the mindset from servers to containers - microxchg 201...Schlomo Schapiro
 
Root for all - measuring DevOps adoption - microxchg 2018 - Schlomo Schapiro
Root for all - measuring DevOps adoption - microxchg 2018 - Schlomo SchapiroRoot for all - measuring DevOps adoption - microxchg 2018 - Schlomo Schapiro
Root for all - measuring DevOps adoption - microxchg 2018 - Schlomo SchapiroSchlomo Schapiro
 
GUUG FFG 2017 - DevOps for Everybody - A Workplace Strategy for the Digital Age
GUUG FFG 2017 - DevOps for Everybody - A Workplace Strategy for the Digital AgeGUUG FFG 2017 - DevOps for Everybody - A Workplace Strategy for the Digital Age
GUUG FFG 2017 - DevOps for Everybody - A Workplace Strategy for the Digital AgeSchlomo Schapiro
 
GUUG FFG 2017 - DevOps for Everybody - How the entire company can benefit fro...
GUUG FFG 2017 - DevOps for Everybody - How the entire company can benefit fro...GUUG FFG 2017 - DevOps for Everybody - How the entire company can benefit fro...
GUUG FFG 2017 - DevOps for Everybody - How the entire company can benefit fro...Schlomo Schapiro
 
OSDC 2016 - Hybrid Cloud - A Cloud Migration Strategy
OSDC 2016 - Hybrid Cloud - A Cloud Migration StrategyOSDC 2016 - Hybrid Cloud - A Cloud Migration Strategy
OSDC 2016 - Hybrid Cloud - A Cloud Migration StrategySchlomo Schapiro
 
WARNING is a waste of my time
WARNING is a waste of my timeWARNING is a waste of my time
WARNING is a waste of my timeSchlomo Schapiro
 

Plus de Schlomo Schapiro (20)

The Role of GitOps in IT-Strategy v2 - July 2022 - Schlomo Schapiro
The Role of GitOps in IT-Strategy v2 - July 2022 - Schlomo SchapiroThe Role of GitOps in IT-Strategy v2 - July 2022 - Schlomo Schapiro
The Role of GitOps in IT-Strategy v2 - July 2022 - Schlomo Schapiro
 
The GitOps Journey - Schlomo Schapiro - Berlin DevOps Meetup 2021-11
The GitOps Journey - Schlomo Schapiro - Berlin DevOps Meetup 2021-11The GitOps Journey - Schlomo Schapiro - Berlin DevOps Meetup 2021-11
The GitOps Journey - Schlomo Schapiro - Berlin DevOps Meetup 2021-11
 
The Role of GitOps in IT-Strategy - November 2021 - Schlomo Schapiro - Contin...
The Role of GitOps in IT-Strategy - November 2021 - Schlomo Schapiro - Contin...The Role of GitOps in IT-Strategy - November 2021 - Schlomo Schapiro - Contin...
The Role of GitOps in IT-Strategy - November 2021 - Schlomo Schapiro - Contin...
 
Schlomo Schapiro - Why I like to use the proprietary Cloud services without f...
Schlomo Schapiro - Why I like to use the proprietary Cloud services without f...Schlomo Schapiro - Why I like to use the proprietary Cloud services without f...
Schlomo Schapiro - Why I like to use the proprietary Cloud services without f...
 
The Role of GitOps in IT Strategy - June 2021 - Schlomo Schapiro
The Role of GitOps in IT Strategy - June 2021 - Schlomo SchapiroThe Role of GitOps in IT Strategy - June 2021 - Schlomo Schapiro
The Role of GitOps in IT Strategy - June 2021 - Schlomo Schapiro
 
The GitOps Journey - GitOpsCon EU 2021 - Schlomo Schapiro
The GitOps Journey - GitOpsCon EU 2021 - Schlomo SchapiroThe GitOps Journey - GitOpsCon EU 2021 - Schlomo Schapiro
The GitOps Journey - GitOpsCon EU 2021 - Schlomo Schapiro
 
Want Digitalisation, have Cloud - DevSecOps Days 2021 - Schlomo Schapiro
Want Digitalisation, have Cloud - DevSecOps Days 2021 - Schlomo SchapiroWant Digitalisation, have Cloud - DevSecOps Days 2021 - Schlomo Schapiro
Want Digitalisation, have Cloud - DevSecOps Days 2021 - Schlomo Schapiro
 
Automated Governance - Continous Lifecycle 2019 - Schlomo Schapiro
Automated Governance - Continous Lifecycle 2019 - Schlomo SchapiroAutomated Governance - Continous Lifecycle 2019 - Schlomo Schapiro
Automated Governance - Continous Lifecycle 2019 - Schlomo Schapiro
 
Compliant by Default - Digitaler Wandel - 14.08.2019 - Schlomo Schapiro
Compliant by Default - Digitaler Wandel - 14.08.2019 - Schlomo SchapiroCompliant by Default - Digitaler Wandel - 14.08.2019 - Schlomo Schapiro
Compliant by Default - Digitaler Wandel - 14.08.2019 - Schlomo Schapiro
 
DevOps ist normal - DevOps Essentials 2019 - Schlomo Schapiro
DevOps ist normal - DevOps Essentials 2019 - Schlomo SchapiroDevOps ist normal - DevOps Essentials 2019 - Schlomo Schapiro
DevOps ist normal - DevOps Essentials 2019 - Schlomo Schapiro
 
The Devops Driving School - DevOps Gathering 2019 - Schlomo Schapiro
The Devops Driving School - DevOps Gathering 2019 - Schlomo SchapiroThe Devops Driving School - DevOps Gathering 2019 - Schlomo Schapiro
The Devops Driving School - DevOps Gathering 2019 - Schlomo Schapiro
 
Open Source Contribution Policy at DB Systel - Schlomo Schapiro - AK Open Sou...
Open Source Contribution Policy at DB Systel - Schlomo Schapiro - AK Open Sou...Open Source Contribution Policy at DB Systel - Schlomo Schapiro - AK Open Sou...
Open Source Contribution Policy at DB Systel - Schlomo Schapiro - AK Open Sou...
 
Compliant by Default - Continuous Delivery at DB Systel - 16.10.2018 - Schlom...
Compliant by Default - Continuous Delivery at DB Systel - 16.10.2018 - Schlom...Compliant by Default - Continuous Delivery at DB Systel - 16.10.2018 - Schlom...
Compliant by Default - Continuous Delivery at DB Systel - 16.10.2018 - Schlom...
 
DevOps + Continuous Delivery + Cloud: The Three Drivers of Enterprise Agility...
DevOps + Continuous Delivery + Cloud: The Three Drivers of Enterprise Agility...DevOps + Continuous Delivery + Cloud: The Three Drivers of Enterprise Agility...
DevOps + Continuous Delivery + Cloud: The Three Drivers of Enterprise Agility...
 
Kubernetes - Shifting the mindset from servers to containers - microxchg 201...
Kubernetes  - Shifting the mindset from servers to containers - microxchg 201...Kubernetes  - Shifting the mindset from servers to containers - microxchg 201...
Kubernetes - Shifting the mindset from servers to containers - microxchg 201...
 
Root for all - measuring DevOps adoption - microxchg 2018 - Schlomo Schapiro
Root for all - measuring DevOps adoption - microxchg 2018 - Schlomo SchapiroRoot for all - measuring DevOps adoption - microxchg 2018 - Schlomo Schapiro
Root for all - measuring DevOps adoption - microxchg 2018 - Schlomo Schapiro
 
GUUG FFG 2017 - DevOps for Everybody - A Workplace Strategy for the Digital Age
GUUG FFG 2017 - DevOps for Everybody - A Workplace Strategy for the Digital AgeGUUG FFG 2017 - DevOps for Everybody - A Workplace Strategy for the Digital Age
GUUG FFG 2017 - DevOps for Everybody - A Workplace Strategy for the Digital Age
 
GUUG FFG 2017 - DevOps for Everybody - How the entire company can benefit fro...
GUUG FFG 2017 - DevOps for Everybody - How the entire company can benefit fro...GUUG FFG 2017 - DevOps for Everybody - How the entire company can benefit fro...
GUUG FFG 2017 - DevOps for Everybody - How the entire company can benefit fro...
 
OSDC 2016 - Hybrid Cloud - A Cloud Migration Strategy
OSDC 2016 - Hybrid Cloud - A Cloud Migration StrategyOSDC 2016 - Hybrid Cloud - A Cloud Migration Strategy
OSDC 2016 - Hybrid Cloud - A Cloud Migration Strategy
 
WARNING is a waste of my time
WARNING is a waste of my timeWARNING is a waste of my time
WARNING is a waste of my time
 

Dernier

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

Dernier (20)

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

LinuxTag 2013 Relax and Recover - Disaster Recovery for UEFI Systems

  • 1. Relax and Recover: Disaster Recovery for UEFI Systems Berlin | 24.05.2013 | Schlomo Schapiro & Schlomo Schapiro Systemarchitekt, Open Source Evangelist License: http://creativecommons.org/licenses/by-nc-nd/3.0/
  • 2. Slide 2 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Integrating UEFI into Relax-and-Recover by Gratien D'haese gratien.dhaese@it3.be http://j.mp/rear-uefi
  • 3. Slide 3 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Backup != Restore/Recovery
  • 4. Slide 4 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Linux and Disaster Recovery
  • 5. Slide 5 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Disaster Recovery Strategies Disk Imaging + Offline -> no open file issues + Simple to restore  Online -> very problematic  No “perfect” open source tool for Linux available Copy files and store disk layout and boot info + Online -> no problem + Backup independent of disk layout and sizes  More effort required to restore (can be scripted)  Maybe consistency problems, but should be solved by backup solution
  • 6. Slide 6 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Advantages of a Linux System All information is stored in files, all files always readable Operation System and applications can be “slim” - 600MB enough for complete standard server Open system – open methods and procedures All steps of an installation can be scripts: Partitioning, file systems, boot loader etc.
  • 7. Slide 7 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Disaster Recovery – Media Most important: External storage! Bootable media: CD/DVD, USB key, LAN, tape ... Media usually combination boot and backup media:  Bootable CD/DVD, USB key with backup data on it  LAN boot (PXE) with backup data via CIFS, NFS ...  Bootable tapes - HP OBDR (CD emulation) Separation between boot media and backup data  Boot the system from a (small) USB key, CD/DVD or LAN  Recover the system with backup software, tar, rsync ...
  • 8. Slide 8 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Disaster Recovery – How It Works Store the disk layout  Partitioning, LVM and RAID configuration  File systems, file system labels ...  Boot loader (GRUB, GRUB2, LILO, ELILO) Store the files (tgz, rsync, through backup software ...) Create bootable rescue media with system configuration (and backup data) Can be done online  No business interruption  100% compatible with original systems hard- and software
  • 9. Slide 9 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Disaster Recovery – Rescue Media Create “rescue linux” from running system Optimally compatible “tool box” Clone the system environment  Linux kernel and modules  Device driver configuration  Network configuration  Basic system software and tools Operate entirely in RAM (initrd)
  • 10. Slide 10 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Disaster Recovery – In Action Boot system from rescue media Restore disk layout  Create partitions, RAID configuration and LVM  Create file systems (mkfs, mkswap)  Configure file systems (labels, mount points) Restore the backup data Restore the boot loader Reboot Done!
  • 11. Slide 11 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Relax and Recover
  • 12. Slide 12 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Relax and Recover – Rear http://relax-and-recover.org/ GPL Software – Developers in Germany and Belgium 100% Bash script – no GUI and no dependencies Utilize kernel, modules, binaries of host (kernel ≥ 2.6) Support any combination of SW/HW RAID, LVM Internal backup on CIFS, NFS, rsync ... Boot media on CD/DVD, USB storage and LAN (PXE) Bootable tapes Successor of mkCDrec
  • 13. Slide 13 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Rear – Features Focus on disaster recovery and notnot backup Tight integration with common backup software – delegate file backup to backup infrastructure Simple full backup integrated Complements backup software:  Backup software: Data storage and retrieval  ReaR: Recover system layout and make it work again  ReaR utilizes the backup software to restore the backup data Use the best tool for the job
  • 14. Slide 14 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Rear – Backup Software Supported solutions include:  CommVault Galaxy  IBM Tivoli Storage Manager  Veritas NetBackup  HP Data Protector  Bacula  Duplicity (experimental)  Rsync and other “external” methods  tar.gz archive on NAS share – CIFS, NFS, NCP ... Very transparent integration Quick implementation: 2-3 PT programming Can be easily extended to support other vendors
  • 15. Slide 15 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Rear – Network Integration Disaster recovery as part of network infrastructure  Backup software – file-level backup storage  Rear – system environment  Boot rescue media via PXE – no physical media required  Very scalable – automated installation of entire disaster recovery data center Backup storageNetwork infrastructure Rear Boot files PXE Boot Backup Software
  • 16. Slide 16 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Rear – Status Stable software  i386 and x86_64 well tested  ia64 and ppc works, but less tested  UEFI in rear > 1.14-git Regular releases (RPM, DEB, TGZ) Major Linux distributions ship Rear:  SLES11 >= SP1 HA Extension  OpenSUSE >= 11.2 and Fedora >= 11 Community and commercial support available Regular patch submissions from Rear users
  • 17. Slide 17 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro ReaR - Development Open Source development model:  Submit patches and feedback – “field testing”  Sponsoring Modular design:  Rear is a framework to plug together many small Bash scripts  Maximize code reusability  Simple development model (vi works fine)  Little to no “interferences” between different areas of code Documentation on project homepage  Hierarchical structure  References to source code
  • 18. Slide 18 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro
  • 19. Slide 19 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Integration of UEFI into rear (ia64) Integrity platform (ia64) UEFI support was added long time ago Using the UEFI standard v1 or v2 (no secure boot) What do we need to integrate?  /boot/efi : mounted as vfat  /boot/efi/efi/*/elilo.efi : boot loader (same for different flavors of Linux)  CONSOLE="console=tty1 console=ttyS1" : mandatory  No need to be grubby after recovery as /boot/ef/* is all you need  Create a bootable CDROM which is recognized by UEFI
  • 20. Slide 20 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Integration of UEFI into rear (x86_64) What do we need for UEFI support on Linux?  Bootable disk with GPT partition table (parted /dev/disk p)  /boot/efi mount point (vfat)  Linux Kernel Config should contain CONFIG_EFI=y  UEFI Runtime Variables/Services Support - 'efivars' kernel module  Check /sys/firmware/efi/vars/ directory  Efibootmgr to manipulate boot entries, order of booting  Create a bootable UEFI capable ISO image
  • 21. Slide 21 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro UEFI / GPT notes To manipulate disk devices with GPT label we need  Be sure this system uses UEFI  Parted (./conf/Linux-i386.conf:parted)  Gdisk (GPT fdisk utility – not mandatory, but nice to have)  A mounted /boot/efi file system (type vfat)  The efivars kernel module  Efibootmgr utility  Which boot manager is used (grub, elilo, gummiboot, shim,...)  Secure boot used? Recovered system might be unbootable!
  • 22. Slide 22 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Hybrid ISO
  • 23. Slide 23 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro EFI Support in rear ~/src/rear$ find . -iname *efi* usr/share/rear/conf/templates/EFI_readme.txt usr/share/rear/prep/default/31_include_uefi_tools.sh usr/share/rear/prep/ISO/Linux-ia64/34_define_console_ia64.sh usr/share/rear/prep/ISO/Linux-ia64/33_find_elilo_efi.sh usr/share/rear/prep/OBDR/Linux-ia64/34_define_console_ia64.sh usr/share/rear/prep/OBDR/Linux-ia64/33_find_elilo_efi.sh usr/share/rear/output/default/15_save_copy_of_prefix_dir.sh usr/share/rear/output/default/20_make_prefix_dir.sh usr/share/rear/output/ISO/Linux-i386/20_mount_efibootimg.sh usr/share/rear/output/ISO/Linux-i386/70_umount_efibootimg.sh usr/share/rear/output/ISO/Linux-i386/25_populate_efibootimg.sh usr/share/rear/output/ISO/Linux-ia64/40_create_local_efi_dir.sh usr/share/rear/output/RSYNC/default/20_make_prefix_dir.sh usr/share/rear/output/OBDR/Linux-ia64/40_create_local_efi_dir.sh usr/share/rear/lib/uefi-functions.sh usr/share/rear/finalize/Linux-i386/23_run_efibootmgr.sh usr/share/rear/backup/NETFS/default/15_save_copy_of_prefix_dir.sh usr/share/rear/backup/NETFS/default/20_make_prefix_dir.sh usr/share/rear/rescue/default/85_save_sysfs_uefi_vars.sh
  • 24. Slide 24 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro UEFI Status Currently in HEAD, part of next release Tested on Fedora 18, Ubuntu 12.10 OpenSuse 12.2 (and 12.3) failed to generate a bootable UEFI ISO https://bugzilla.novell.com/show_bug.cgi?id=811636 Secure Boot  only working on same system (Key Exchange Keys - KEKs)  P2P, P2V is not possible due to the KEKs Secure Boot disabled works out of the box
  • 25. Slide 25 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Demo Movie
  • 26. Slide 26 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro github.com/rear github.com/rear/rear/tree/master/doc/user-guide
  • 27. Slide 27 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Start from the sources $ git clone git@github.com:rear/rear.git # yum|zypper install rpm-build lsb mingetty $ make rpm $ sudo rpm -ivh rear-1.14-1.git201303211657.noarch.rpm $ sudo -i Rear is at your service:  /etc/rear/local.conf  /usr/share/rear/* Edit /etc/rear/local.conf:  BACKUP=NETFS  OUTPUT=ISO
  • 28. Slide 28 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Writing your own rear scripts Good to know – everything is a script, even config files Does rear has an API? Yes, check out our functions: grep '()' /usr/share/rear/lib/*functions.sh Rear works with workflows – see other presentations on the basics Where to drop your script? Use 'rear -s mkbackup' to see all existing scripts and order of execution
  • 29. Slide 29 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro go.schapiro.org/slides relax-and-recover.org
  • 30. Slide 30 | Rear: Disaster Recovery for UEFI Systems | Schlomo Schapiro Kontakt: Immobilien Scout GmbH Andreasstraße 10 10243 Berlin Fon: +49 30 243 01-1229 Email: schlomo.schapiro@immobilienscout24.de URL: www.immobilienscout24.de Thank you very much! Please contact me for further questions and discussions. All images are either public domain, used in appropriate context or taken from openclipart.org