SlideShare a Scribd company logo
1 of 41
Download to read offline
________________________________
DRLM Workshop
Disaster Recovery management with
Didac Oliveira
DRLM Chief Architect & Core Developer
&
1DRLM Project
Introduction
- What is DRLM?
- DRLM features
- DRLM Project history
- How to contribute?
- DRLM roadmap
2What is DRLM?
GNU/Linux Disaster Recovery
See appendix A for more detailed info.
3What is DRLM?
Protocols & Services
DHCP
DRLM
STORE
HTTPs
NFS
SSHTFTP
4What is DRLM?
Backup process explanation
Client
verifications
Gather client
disk usage
DRLM image
creation
ReaR
Backup
Register
Backup
in DRLM
Enable Backup
Report
ERROR
On Failure
Rollback
to previous
Backup
5What is DRLM?
Recovery process explanation
Network Boot
(PXE)
Load
Kernel & Initrd Rescue Mode
Network
setup
ReaR
recover
Customizations
and/or
Reboot
6What is DRLM?
Command Line Interface (CLI)
Network Operations:
ADD, DELETE, MODIFY & LIST
Client Operations:
ADD, INSTALL, DELETE, MODIFY & LIST
Job Scheduler Operations:
ADD, DELETE, SCHED & LIST
Backup Operations:
RUN, MANAGE, DELETE,
EXPORT, IMPORT & LIST
For more information please visit:
http://docs.drlm.org
7DRLM features
Automatic error reporting
Integration with system monitoring tools:
8DRLM features
Unattended ReaR installation and base config
Supported OSes:
9DRLM features
Backup job scheduler
- one-shot jobs
- job expire dates
- job repetition:
- Minutes - Hours
- Days - Weeks
- Months - Years
10DRLM features
Export & Import
Export & import DR images between DRLM servers on different
sites and/or locations, made easy.
See appendix B for more detailed info.
11DRLM Project history
3 years of hard work ...
2013 AUG: DRLM Project born
2013 DEC: First DRLM stable version (1.0.0)
2014 DEC: DRLM full integration with ReaR
(issue #522) – ReaR 1.17
2016 JUL: DRLM version 2.0.0 released
2017 JAN: DRLM version 2.1.0 frozen
See appendix C for more detailed history.
12How to contribute?
Here are some options ...
• Try our latest versions and give us your feedback
•
Write code to improve or extend DRLM
• Start discussions for new feature proposals
• Report Issues to improve our code and/or documentation
github.com/brainupdaters/drlm & github.com/brainupdaters/drlm-docs
•
Share your experience with DRLM
Visit http://drlm.org/community/ for more information.
13DRLM Roadmap
Let’s talk about project’s future ...
Please come to the latest talk of Backup and
Disaster Recovery Developer room:
Future ideas for ReaR, DRLM, and Bareos
17:45H
An informal talk with ReaR, DRLM, and Bareos users about
what they would like to get implemented in future ReaR,
DRLM, and Bareos versions.
Workshop
14DRLM Workshop
Some requirements ...
Workshop preparation:
Follow the instructions in:
•
https://github.com/brainupdaters/fosdem17_workshop
Requirements:
•
Virtualbox & extension pack installed
•
Vagrant installed
•
Required vagrant boxes downloaded
15DRLM Workshop
Environment scenario
rear-centos rear-suse rear-ubuntu
drlm-ubuntu drlm-debian
10.100.0.10 10.200.0.11 10.200.0.12
10.100.0.50
10.200.0.50
10.100.0.60
10.200.0.60
rear-debian
10.200.0.13
16DRLM Workshop
Installation
DRLM install docs:
Installation instructions: http://docs.drlm.org/en/latest/Install.html
•
RHEL & CentOS
•
Debian & Ubuntu
•
SLES
17DRLM Workshop
Network configuration
drlm-ubuntu
# drlm addnetwork -n vboxnet1 -i 10.100.0.0 
-m 255.255.255.0 -g 10.100.0.254 -s 10.100.0.50
# drlm addnetwork -n vboxnet2 -i 10.200.0.0 
-m 255.255.255.0 -g 10.200.0.254 -s 10.200.0.50
First of all, we must configure the required networks
to manage from DRLM, where the clients will be.
18DRLM Workshop
Client installation & configuration
drlm-ubuntu
# drlm addclient -c rear-centos -i 10.100.0.10/24 -I -U 
# drlm addclient -c rear-ubuntu -i 10.200.0.12/24 -I 
-u vagrant
# drlm addclient -c rear-debian -i 10.100.0.13/24
# drlm instclient -c rear-debian -u vagrant
http://download.opensuse.org/repositories/Archiving:/Backup:/Rear/CentOS_7/x86_64/rear-2.00-1.el7.x86_64.rpm
Adding clients can be done in one or two separated
steps. Installing them at the same time that adding
them to DRLM o just adding them without installation
& base configuration.
19DRLM Workshop
Backup execution & schedule configuration
drlm-ubuntu
# drlm addjob -c rear-centos -s 2017-02-04T11:45 
-e 2017-02-04T11:55 -r 5min
# drlm addjob -c rear-ubuntu -s 2017-02-04T11:46 -r 5min
# drlm addjob -c rear-debian -s 2017-02-04T11:47
Each client can have multiple backup jobs configured,
with different schedules, also one-shot jobs can be
planned, avoiding the need to keep open terminals or
the use of nohup or screen, as well as to run extra
backups that were not planned previously.
21DRLM Workshop
Error reporting configuration
# apt-get install heirloom-mailx sendmail
# vi /etc/drlm/local.conf
...
ERR_REPORT=yes
REPORT_TYPE=mail
MAILCMD=$(which mailx)
MAILSUBJECT="DRLM FOSDEM17 ERROR ALERT ($HOSTNAME)"
MAIL_TO="didac@brainupdaters.net"
# vi /etc/drlm/alerts/mail.cfg
set from="alerts@drlm.org(FOSDEM17 ALERTS)"
set smtp-use-starttls
set ssl-verify=ignore
set smtp-auth=login
set mtps=smtp://smtp.gmail.com:587
set smtp-auth-user=didac@brainupdaters.net
set smtp-auth-password=$(cat /root/passwd_mail)
set nss-config-dir=/etc/ssl/certs
drlm-ubuntu
Here we will
configure
e-mail error
reporting in
DRLM and
force backup
error to receive
an alert.
20DRLM Workshop
Backup management
drlm-ubuntu
# drlm listbackup -A
Backup Id Client Name Backup Date Backup Status
1.20170204114504 rear-centos 2017-02-04 11:45 false
1.20170204115003 rear-centos 2017-02-04 11:50 true
2.20170204114606 rear-ubuntu 2017-02-04 11:46 false
2.20170204115105 rear-ubuntu 2017-02-04 11:51 true
3.20170204114702 rear-debian 2017-02-04 11:47 true
# drlm bkpmgr -I 1.20170204114504 -c rear-centos -e -P
# drlm bkpmgr -I 3.20170204114702 -c rear-debian -d -P
Each backup in DRLM can be enabled or disabled
manually. In case of problems with the latest backup you
can enable a previous one to recover from it. Or just to
rollback to a previous state if the client was upgraded or
reconfigured and you are experiencing issues since those
changes were applied.
22DRLM Workshop
Export & Import operations
drlm-debian
# drlm addnetwork -n vboxnet1 -i 10.100.0.0 -m 255.255.255.0 
-g 10.100.0.254 -s 10.100.0.60
# drlm addnetwork -n vboxnet2 -i 10.200.0.0 -m 255.255.255.0 
-g 10.200.0.254 -s 10.200.0.60
# drlm addclient -c rear-debian -i 10.100.0.13/24
In this example we are using the same networks in
the target and source DRLM server, but they
could be different, remember to adjust network
config, hostnames, ... after recovering on different
networks with different hostnames, ... that's all.
23DRLM Workshop
Export & Import operations
drlm-ubuntu
# drlm listbackup -A
Backup Id Client Name Backup Date Backup Status
1.20170204114504 rear-centos 2017-02-04 11:45 false
1.20170204115003 rear-centos 2017-02-04 11:50 true
2.20170204114606 rear-ubuntu 2017-02-04 11:46 false
2.20170204115105 rear-ubuntu 2017-02-04 11:51 true
3.20170204114702 rear-debian 2017-02-04 11:47 true
# drlm expbackup -I 3.20170204114702 -f /tmp/export.dr
# scp /tmp/export.dr vagrant@10.100.0.60:/tmp
Here we will export any available DR image to a
local directory and then, send it to the destination
DRLM server.
24DRLM Workshop
Export & Import operations
drlm-debian
# drlm impbackup -c rear-debian -f /tmp/export.dr
# drlm listbackup -A
Backup Id Client Name Backup Date Backup Status
1.20170204121505 rear-debian 2017-02-04 12:15 true
Importing DR image to destination DRLM server
will enable it automatically and you could be able
to start recovering from it immediately.
3DRLM Workshop
Restore operations
1. Power off the VM to be restored.
2. Disable its NAT network device.
3. Set Boot order 1st device to Network.
4. Boot VM from network.
5. Select 1st option in DRLM boot menu.
6. Enter root username to the booted ReaR recovery.
7. Run dhclient & rear recover:
# rear -v recover SERVER=<server_ip> REST_OPTS=-k ID=<client_name>
3DRLM Best Practices
Some recommendations ...
● Keep /var/lib/drlm/arch in a separated filesystem with enough
space to store all required DR images.
● Adjust kernel loop limit properly (max_loops) according to the
number of clients to manage.
●
Install DRLM in a dedicated server.
● Configure NTP and set correct Timezone.
●
Avoid other PXE services in DRLM managed networks.
● Recommended 4GB of RAM minimum.
Questions & Answers
Appendix
A.1What is DRLM?
Brief description of ReaR
ReaR is the best standalone Disaster
Recovery tool for GNU/Linux.
It is able to recover a single
system in few minutes
from scratch.
A.2What is DRLM?
Brief description of DRLM
DRLM is a centralized management tool for small to
large Disaster Recovery implementations using
ReaR.
An easy-to-use software for Disaster Recovery
management and a great tool for any GNU/Linux
SysAdmin.
B.1DRLM features
Some of them ...
● Automatic Error Reporting on backup failure
Nagios, Zabbix, Mail & HP OVO
● Easy GNU/Linux systems migration
P2V, P2P, V2V & V2P
● Whole Recovery over the network
Multiarch Netboot support with GRUB2 (DRLM 2.0.0)
●
Unattended client installation & configuration
instclient workflow (DRLM 2.0.0)
●
Integrated Backup Job Scheduler
New feature! (DRLM 2.1.0)
B.2DRLM features
Some more ...
● Import & Export DR images between DRLM servers
New feature! (DRLM 2.1.0)
● Fully supported and tested on major Linux distros
RHEL, CentOS, Debian, SUSE & Ubuntu
● Easy to Use & Setup
●
Integrated Debugging/Troubleshooting in DRLM CLI
● Fully developed in BASH
● Open Source
B.3Version 2.1.0
New features and enhacements
● Import & Export DR images between DRLM servers
● Added support for DRLM on SLES12
● Added support for DRLM on Ubuntu 16.04 LTS
● Addclient improvements:
New online mode
New install mode
● Integrated Backup Job Scheduler
● DRLM runbackup execution params inherited in ReaR (eg: -vD)
● Other minor enhancements
B.4Version 2.0.0
Release Notes
● Multiarch netboot with GRUB2 – x86_64-efi i386-efi i386-pc – (issue #2)
● New installclient workflow (issue #5)
● Added support for systemd distros – RHEL7 CentOS7 Debian8 – (issue #14)
● Use bash socket implementation instead of netcat (issue #15)
● Runbackup workflow enhancement with sparse raw images with qemu-img reducing backup
time and improving management (issue #16)
● Added support for parallel backups on DRLM (issue #22)
● Added support for new DB backend sqlite3 (issue #23)
● Added support for Nagios error reporting (issue #28)
● Added support for Zabbix error reporting (issue #29)
● Added support for Mail error reporting (issue #30)
● Added timeout var for Sqlite in sqlite3-driver.sh for avoiding database locks.
● Added source of local.conf and site.conf files in drlm-stord
● Solved lots of bugs
● DRLM documentation updated to reflect version 2.0 changes
C.1DRLM Project history
From the begining ...
DRLM Project born (aka DRLS)
First DRLM code publication on Github
github.com/brainupdaters/drlm
First DRLM stable version (1.0.0)
DRLM full integration with ReaR
(issue #522) – ReaR 1.17
Publication of project websites
www.drlm.org & docs.drlm.org
DRLM version 1.1.1 released
2013 AUG:
2013 OCT:
2013 DEC:
2014 DEC:
2015 JAN:
2015 MAR:
C.2DRLM Project history
To be continued ...
DRLM 2.0.0 roadmap
DRLM present at FOSDEM’16
DRLM version 2.0.0 released
DRLM 2.1.0 roadmap
DRLM version 2.1.0 released
Here we are! again at FOSDEM’17
New DRLM version roadmap
2015 MAY:
2016 JAN:
2016 JUL:
2016 AUG:
2017 JAN:
2017 FEB:
2017 MAR:
D.1DRLM Team
Project founders & maintainers
Didac Oliveira Pau Roura Ruben Carbonell
D.2About the author
Didac Oliveira
Co-Owner & Co-Founder at Brain Updaters, S.L.L.
Co-Founder & Maintainer at DRLM Project
Other OpenSource contributions:
•
Relax-and-Recover (ReaR)
www.relax-and-recover.org
•
Config-to-HTML (cfg2html v6.x)
www.cfg2html.com
Copyright © 2017 - Brain Updaters, S.L.L. Licensed under Creative Commons (CC BY-SA 4.0). DRLM and DRLM logo are registered
trademarks of Brain Updaters, S.L.L.
DRLM at Github: github.com/brainupdaters/drlm
DRLM website: drlm.org
DRLM Docs: docs.drlm.org
Didac Oliveira Phone: +34 629 078 369
DRLM Chief Architect & Core Developer e-mail: didac@brainupdaters.net

More Related Content

What's hot

Process scheduling : operating system ( Btech cse )
Process scheduling : operating system ( Btech cse )Process scheduling : operating system ( Btech cse )
Process scheduling : operating system ( Btech cse )HimanshuSharma1389
 
101 3.6 modify process execution priorities
101 3.6 modify process execution priorities101 3.6 modify process execution priorities
101 3.6 modify process execution prioritiesAcácio Oliveira
 
12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs
12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs
12c: Testing audit features for Data Pump (Export & Import) and RMAN jobsMonowar Mukul
 
OperatingSystemChp3
OperatingSystemChp3OperatingSystemChp3
OperatingSystemChp3Dwight Sabio
 
Firewalld : A New Interface to Your Netfilter Stack
Firewalld : A New Interface to Your Netfilter StackFirewalld : A New Interface to Your Netfilter Stack
Firewalld : A New Interface to Your Netfilter StackMahmoud Shiri Varamini
 
Spectrum Scale Best Practices by Olaf Weiser
Spectrum Scale Best Practices by Olaf WeiserSpectrum Scale Best Practices by Olaf Weiser
Spectrum Scale Best Practices by Olaf WeiserSandeep Patil
 
Tier 2 net app baseline design standard revised nov 2011
Tier 2 net app baseline design standard   revised nov 2011Tier 2 net app baseline design standard   revised nov 2011
Tier 2 net app baseline design standard revised nov 2011Accenture
 
Galvin-operating System(Ch6)
Galvin-operating System(Ch6)Galvin-operating System(Ch6)
Galvin-operating System(Ch6)dsuyal1
 
Disaster recovery of OpenStack Cinder using DRBD
Disaster recovery of OpenStack Cinder using DRBDDisaster recovery of OpenStack Cinder using DRBD
Disaster recovery of OpenStack Cinder using DRBDViswesuwara Nathan
 
Introduction to eBPF and XDP
Introduction to eBPF and XDPIntroduction to eBPF and XDP
Introduction to eBPF and XDPlcplcp1
 
Perf stat windows
Perf stat windowsPerf stat windows
Perf stat windowsAccenture
 
OSDC 2015: Roland Kammerer | DRBD9: Managing High-Available Storage in Many-N...
OSDC 2015: Roland Kammerer | DRBD9: Managing High-Available Storage in Many-N...OSDC 2015: Roland Kammerer | DRBD9: Managing High-Available Storage in Many-N...
OSDC 2015: Roland Kammerer | DRBD9: Managing High-Available Storage in Many-N...NETWAYS
 
Netbackup 6.5 backup process
Netbackup 6.5 backup processNetbackup 6.5 backup process
Netbackup 6.5 backup processHernán Larrea
 
Performance: Observe and Tune
Performance: Observe and TunePerformance: Observe and Tune
Performance: Observe and TunePaul V. Novarese
 

What's hot (20)

CPU Scheduling
CPU SchedulingCPU Scheduling
CPU Scheduling
 
Deadlocks
DeadlocksDeadlocks
Deadlocks
 
Process scheduling : operating system ( Btech cse )
Process scheduling : operating system ( Btech cse )Process scheduling : operating system ( Btech cse )
Process scheduling : operating system ( Btech cse )
 
101 3.6 modify process execution priorities
101 3.6 modify process execution priorities101 3.6 modify process execution priorities
101 3.6 modify process execution priorities
 
12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs
12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs
12c: Testing audit features for Data Pump (Export & Import) and RMAN jobs
 
OperatingSystemChp3
OperatingSystemChp3OperatingSystemChp3
OperatingSystemChp3
 
Chapter4
Chapter4Chapter4
Chapter4
 
Firewalld : A New Interface to Your Netfilter Stack
Firewalld : A New Interface to Your Netfilter StackFirewalld : A New Interface to Your Netfilter Stack
Firewalld : A New Interface to Your Netfilter Stack
 
Spectrum Scale Best Practices by Olaf Weiser
Spectrum Scale Best Practices by Olaf WeiserSpectrum Scale Best Practices by Olaf Weiser
Spectrum Scale Best Practices by Olaf Weiser
 
Tier 2 net app baseline design standard revised nov 2011
Tier 2 net app baseline design standard   revised nov 2011Tier 2 net app baseline design standard   revised nov 2011
Tier 2 net app baseline design standard revised nov 2011
 
Galvin-operating System(Ch6)
Galvin-operating System(Ch6)Galvin-operating System(Ch6)
Galvin-operating System(Ch6)
 
Disaster recovery of OpenStack Cinder using DRBD
Disaster recovery of OpenStack Cinder using DRBDDisaster recovery of OpenStack Cinder using DRBD
Disaster recovery of OpenStack Cinder using DRBD
 
Introduction to eBPF and XDP
Introduction to eBPF and XDPIntroduction to eBPF and XDP
Introduction to eBPF and XDP
 
Perf stat windows
Perf stat windowsPerf stat windows
Perf stat windows
 
OSDC 2015: Roland Kammerer | DRBD9: Managing High-Available Storage in Many-N...
OSDC 2015: Roland Kammerer | DRBD9: Managing High-Available Storage in Many-N...OSDC 2015: Roland Kammerer | DRBD9: Managing High-Available Storage in Many-N...
OSDC 2015: Roland Kammerer | DRBD9: Managing High-Available Storage in Many-N...
 
5.CPU Scheduling
5.CPU Scheduling5.CPU Scheduling
5.CPU Scheduling
 
Understanding DPDK
Understanding DPDKUnderstanding DPDK
Understanding DPDK
 
Netbackup 6.5 backup process
Netbackup 6.5 backup processNetbackup 6.5 backup process
Netbackup 6.5 backup process
 
Linux Network Stack
Linux Network StackLinux Network Stack
Linux Network Stack
 
Performance: Observe and Tune
Performance: Observe and TunePerformance: Observe and Tune
Performance: Observe and Tune
 

Viewers also liked

Discoverorg How to Handle the Objection 8-24-13
Discoverorg How to Handle the Objection 8-24-13Discoverorg How to Handle the Objection 8-24-13
Discoverorg How to Handle the Objection 8-24-13DiscoverOrg
 
Objection handling 201
Objection handling 201Objection handling 201
Objection handling 201B2BCamp
 
Whats in it for me
Whats in it for meWhats in it for me
Whats in it for meJoyita Ray
 
Handling Objections
Handling ObjectionsHandling Objections
Handling Objectionsvalueselling
 
Steve Richard - Handling Objections and Getting to Yes
Steve Richard - Handling Objections and Getting to YesSteve Richard - Handling Objections and Getting to Yes
Steve Richard - Handling Objections and Getting to YesInsideSales.com
 
Handling objections vol 1 of 3 (listing)
Handling objections vol 1 of 3 (listing)Handling objections vol 1 of 3 (listing)
Handling objections vol 1 of 3 (listing)Tony Morrison
 
Communication skills arabic
Communication skills arabic Communication skills arabic
Communication skills arabic Hossam Hos
 
Linux Disaster Recovery Best Practices with rear
Linux Disaster Recovery Best Practices with rearLinux Disaster Recovery Best Practices with rear
Linux Disaster Recovery Best Practices with rearGratien D'haese
 
Pharma selling skills
Pharma selling skillsPharma selling skills
Pharma selling skillsBapan Paul
 
Sales Objections Linkedin
Sales Objections LinkedinSales Objections Linkedin
Sales Objections LinkedinJoseph Youssef
 
Don't "Handle" Objections, Steer Them
Don't "Handle" Objections, Steer ThemDon't "Handle" Objections, Steer Them
Don't "Handle" Objections, Steer ThemSales Hacker
 
Pharmaceutical selling skills
Pharmaceutical selling skillsPharmaceutical selling skills
Pharmaceutical selling skillsSaba Ahmed
 
Professional+basic+selling+skills
Professional+basic+selling+skillsProfessional+basic+selling+skills
Professional+basic+selling+skillsmohamedelmokatef
 
How to Handle Sales Objections in 5 Steps
How to Handle Sales Objections in 5 StepsHow to Handle Sales Objections in 5 Steps
How to Handle Sales Objections in 5 StepsCriteria for Success
 

Viewers also liked (20)

Discoverorg How to Handle the Objection 8-24-13
Discoverorg How to Handle the Objection 8-24-13Discoverorg How to Handle the Objection 8-24-13
Discoverorg How to Handle the Objection 8-24-13
 
Handling objections
Handling objectionsHandling objections
Handling objections
 
Objection handling 201
Objection handling 201Objection handling 201
Objection handling 201
 
Whats in it for me
Whats in it for meWhats in it for me
Whats in it for me
 
Selling Techniques
Selling Techniques Selling Techniques
Selling Techniques
 
Handling Objections
Handling ObjectionsHandling Objections
Handling Objections
 
Steve Richard - Handling Objections and Getting to Yes
Steve Richard - Handling Objections and Getting to YesSteve Richard - Handling Objections and Getting to Yes
Steve Richard - Handling Objections and Getting to Yes
 
Handling objections vol 1 of 3 (listing)
Handling objections vol 1 of 3 (listing)Handling objections vol 1 of 3 (listing)
Handling objections vol 1 of 3 (listing)
 
MDIA201-1
MDIA201-1MDIA201-1
MDIA201-1
 
Communication skills arabic
Communication skills arabic Communication skills arabic
Communication skills arabic
 
Linux Disaster Recovery Best Practices with rear
Linux Disaster Recovery Best Practices with rearLinux Disaster Recovery Best Practices with rear
Linux Disaster Recovery Best Practices with rear
 
Sales objection
Sales objectionSales objection
Sales objection
 
Pharma selling skills
Pharma selling skillsPharma selling skills
Pharma selling skills
 
Sales Objections Linkedin
Sales Objections LinkedinSales Objections Linkedin
Sales Objections Linkedin
 
Communication skills
Communication skillsCommunication skills
Communication skills
 
Don't "Handle" Objections, Steer Them
Don't "Handle" Objections, Steer ThemDon't "Handle" Objections, Steer Them
Don't "Handle" Objections, Steer Them
 
Selling skills
Selling skillsSelling skills
Selling skills
 
Pharmaceutical selling skills
Pharmaceutical selling skillsPharmaceutical selling skills
Pharmaceutical selling skills
 
Professional+basic+selling+skills
Professional+basic+selling+skillsProfessional+basic+selling+skills
Professional+basic+selling+skills
 
How to Handle Sales Objections in 5 Steps
How to Handle Sales Objections in 5 StepsHow to Handle Sales Objections in 5 Steps
How to Handle Sales Objections in 5 Steps
 

Similar to DRLM Workshop on Disaster Recovery Management

Fosdem'20_Past, present & future of DRLM project
Fosdem'20_Past, present & future of DRLM projectFosdem'20_Past, present & future of DRLM project
Fosdem'20_Past, present & future of DRLM projectDidac Oliveira
 
DCEU 18: Developing with Docker Containers
DCEU 18: Developing with Docker ContainersDCEU 18: Developing with Docker Containers
DCEU 18: Developing with Docker ContainersDocker, Inc.
 
Deploying Foreman in Enterprise Environments
Deploying Foreman in Enterprise EnvironmentsDeploying Foreman in Enterprise Environments
Deploying Foreman in Enterprise Environmentsinovex GmbH
 
Perspectives on Docker
Perspectives on DockerPerspectives on Docker
Perspectives on DockerRightScale
 
Using Docker For Development
Using Docker For DevelopmentUsing Docker For Development
Using Docker For DevelopmentLaura Frank Tacho
 
RAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and DatabaseRAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and DatabaseNikhil Kumar
 
Oracle cluster installation with grid and nfs
Oracle cluster  installation with grid and nfsOracle cluster  installation with grid and nfs
Oracle cluster installation with grid and nfsChanaka Lasantha
 
Towards the perfect Drupal Dev Machine
Towards the perfect Drupal Dev MachineTowards the perfect Drupal Dev Machine
Towards the perfect Drupal Dev MachineKrimson
 
Hands on Docker - Launch your own LEMP or LAMP stack - SunshinePHP
Hands on Docker - Launch your own LEMP or LAMP stack - SunshinePHPHands on Docker - Launch your own LEMP or LAMP stack - SunshinePHP
Hands on Docker - Launch your own LEMP or LAMP stack - SunshinePHPDana Luther
 
drbd9_and_drbdmanage_may_2015
drbd9_and_drbdmanage_may_2015drbd9_and_drbdmanage_may_2015
drbd9_and_drbdmanage_may_2015Alexandre Huynh
 
Real World Experience of Running Docker in Development and Production
Real World Experience of Running Docker in Development and ProductionReal World Experience of Running Docker in Development and Production
Real World Experience of Running Docker in Development and ProductionBen Hall
 
MINCS - containers in the shell script (Eng. ver.)
MINCS - containers in the shell script (Eng. ver.)MINCS - containers in the shell script (Eng. ver.)
MINCS - containers in the shell script (Eng. ver.)Masami Hiramatsu
 
Oracle cluster installation with grid and iscsi
Oracle cluster  installation with grid and iscsiOracle cluster  installation with grid and iscsi
Oracle cluster installation with grid and iscsiChanaka Lasantha
 
CloudStack hands-on workshop @ DevOpsDays Amsterdam 2015
CloudStack hands-on workshop @ DevOpsDays Amsterdam 2015CloudStack hands-on workshop @ DevOpsDays Amsterdam 2015
CloudStack hands-on workshop @ DevOpsDays Amsterdam 2015Remi Bergsma
 
Docker Introduction.pdf
Docker Introduction.pdfDocker Introduction.pdf
Docker Introduction.pdfOKLABS
 
Upgrading AD from Windows Server 2003 to Windows Server 2008 R2
Upgrading AD from Windows Server 2003 to Windows Server 2008 R2Upgrading AD from Windows Server 2003 to Windows Server 2008 R2
Upgrading AD from Windows Server 2003 to Windows Server 2008 R2Amit Gatenyo
 
OpenNebulaConf 2016 - The DRBD SDS for OpenNebula by Philipp Reisner, LINBIT
OpenNebulaConf 2016 - The DRBD SDS for OpenNebula by Philipp Reisner, LINBITOpenNebulaConf 2016 - The DRBD SDS for OpenNebula by Philipp Reisner, LINBIT
OpenNebulaConf 2016 - The DRBD SDS for OpenNebula by Philipp Reisner, LINBITOpenNebula Project
 
Hands on Docker - Launch your own LEMP or LAMP stack
Hands on Docker -  Launch your own LEMP or LAMP stackHands on Docker -  Launch your own LEMP or LAMP stack
Hands on Docker - Launch your own LEMP or LAMP stackDana Luther
 
BIND 9 logging best practices
BIND 9 logging best practicesBIND 9 logging best practices
BIND 9 logging best practicesMen and Mice
 

Similar to DRLM Workshop on Disaster Recovery Management (20)

Fosdem'20_Past, present & future of DRLM project
Fosdem'20_Past, present & future of DRLM projectFosdem'20_Past, present & future of DRLM project
Fosdem'20_Past, present & future of DRLM project
 
DCEU 18: Developing with Docker Containers
DCEU 18: Developing with Docker ContainersDCEU 18: Developing with Docker Containers
DCEU 18: Developing with Docker Containers
 
Deploying Foreman in Enterprise Environments
Deploying Foreman in Enterprise EnvironmentsDeploying Foreman in Enterprise Environments
Deploying Foreman in Enterprise Environments
 
Perspectives on Docker
Perspectives on DockerPerspectives on Docker
Perspectives on Docker
 
Using Docker For Development
Using Docker For DevelopmentUsing Docker For Development
Using Docker For Development
 
Dev ops
Dev opsDev ops
Dev ops
 
RAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and DatabaseRAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and Database
 
Oracle cluster installation with grid and nfs
Oracle cluster  installation with grid and nfsOracle cluster  installation with grid and nfs
Oracle cluster installation with grid and nfs
 
Towards the perfect Drupal Dev Machine
Towards the perfect Drupal Dev MachineTowards the perfect Drupal Dev Machine
Towards the perfect Drupal Dev Machine
 
Hands on Docker - Launch your own LEMP or LAMP stack - SunshinePHP
Hands on Docker - Launch your own LEMP or LAMP stack - SunshinePHPHands on Docker - Launch your own LEMP or LAMP stack - SunshinePHP
Hands on Docker - Launch your own LEMP or LAMP stack - SunshinePHP
 
drbd9_and_drbdmanage_may_2015
drbd9_and_drbdmanage_may_2015drbd9_and_drbdmanage_may_2015
drbd9_and_drbdmanage_may_2015
 
Real World Experience of Running Docker in Development and Production
Real World Experience of Running Docker in Development and ProductionReal World Experience of Running Docker in Development and Production
Real World Experience of Running Docker in Development and Production
 
MINCS - containers in the shell script (Eng. ver.)
MINCS - containers in the shell script (Eng. ver.)MINCS - containers in the shell script (Eng. ver.)
MINCS - containers in the shell script (Eng. ver.)
 
Oracle cluster installation with grid and iscsi
Oracle cluster  installation with grid and iscsiOracle cluster  installation with grid and iscsi
Oracle cluster installation with grid and iscsi
 
CloudStack hands-on workshop @ DevOpsDays Amsterdam 2015
CloudStack hands-on workshop @ DevOpsDays Amsterdam 2015CloudStack hands-on workshop @ DevOpsDays Amsterdam 2015
CloudStack hands-on workshop @ DevOpsDays Amsterdam 2015
 
Docker Introduction.pdf
Docker Introduction.pdfDocker Introduction.pdf
Docker Introduction.pdf
 
Upgrading AD from Windows Server 2003 to Windows Server 2008 R2
Upgrading AD from Windows Server 2003 to Windows Server 2008 R2Upgrading AD from Windows Server 2003 to Windows Server 2008 R2
Upgrading AD from Windows Server 2003 to Windows Server 2008 R2
 
OpenNebulaConf 2016 - The DRBD SDS for OpenNebula by Philipp Reisner, LINBIT
OpenNebulaConf 2016 - The DRBD SDS for OpenNebula by Philipp Reisner, LINBITOpenNebulaConf 2016 - The DRBD SDS for OpenNebula by Philipp Reisner, LINBIT
OpenNebulaConf 2016 - The DRBD SDS for OpenNebula by Philipp Reisner, LINBIT
 
Hands on Docker - Launch your own LEMP or LAMP stack
Hands on Docker -  Launch your own LEMP or LAMP stackHands on Docker -  Launch your own LEMP or LAMP stack
Hands on Docker - Launch your own LEMP or LAMP stack
 
BIND 9 logging best practices
BIND 9 logging best practicesBIND 9 logging best practices
BIND 9 logging best practices
 

Recently uploaded

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
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
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
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 

Recently uploaded (20)

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
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

DRLM Workshop on Disaster Recovery Management

  • 1. ________________________________ DRLM Workshop Disaster Recovery management with Didac Oliveira DRLM Chief Architect & Core Developer &
  • 2. 1DRLM Project Introduction - What is DRLM? - DRLM features - DRLM Project history - How to contribute? - DRLM roadmap
  • 3. 2What is DRLM? GNU/Linux Disaster Recovery See appendix A for more detailed info.
  • 4. 3What is DRLM? Protocols & Services DHCP DRLM STORE HTTPs NFS SSHTFTP
  • 5. 4What is DRLM? Backup process explanation Client verifications Gather client disk usage DRLM image creation ReaR Backup Register Backup in DRLM Enable Backup Report ERROR On Failure Rollback to previous Backup
  • 6. 5What is DRLM? Recovery process explanation Network Boot (PXE) Load Kernel & Initrd Rescue Mode Network setup ReaR recover Customizations and/or Reboot
  • 7. 6What is DRLM? Command Line Interface (CLI) Network Operations: ADD, DELETE, MODIFY & LIST Client Operations: ADD, INSTALL, DELETE, MODIFY & LIST Job Scheduler Operations: ADD, DELETE, SCHED & LIST Backup Operations: RUN, MANAGE, DELETE, EXPORT, IMPORT & LIST For more information please visit: http://docs.drlm.org
  • 8. 7DRLM features Automatic error reporting Integration with system monitoring tools:
  • 9. 8DRLM features Unattended ReaR installation and base config Supported OSes:
  • 10. 9DRLM features Backup job scheduler - one-shot jobs - job expire dates - job repetition: - Minutes - Hours - Days - Weeks - Months - Years
  • 11. 10DRLM features Export & Import Export & import DR images between DRLM servers on different sites and/or locations, made easy. See appendix B for more detailed info.
  • 12. 11DRLM Project history 3 years of hard work ... 2013 AUG: DRLM Project born 2013 DEC: First DRLM stable version (1.0.0) 2014 DEC: DRLM full integration with ReaR (issue #522) – ReaR 1.17 2016 JUL: DRLM version 2.0.0 released 2017 JAN: DRLM version 2.1.0 frozen See appendix C for more detailed history.
  • 13. 12How to contribute? Here are some options ... • Try our latest versions and give us your feedback • Write code to improve or extend DRLM • Start discussions for new feature proposals • Report Issues to improve our code and/or documentation github.com/brainupdaters/drlm & github.com/brainupdaters/drlm-docs • Share your experience with DRLM Visit http://drlm.org/community/ for more information.
  • 14. 13DRLM Roadmap Let’s talk about project’s future ... Please come to the latest talk of Backup and Disaster Recovery Developer room: Future ideas for ReaR, DRLM, and Bareos 17:45H An informal talk with ReaR, DRLM, and Bareos users about what they would like to get implemented in future ReaR, DRLM, and Bareos versions.
  • 16. 14DRLM Workshop Some requirements ... Workshop preparation: Follow the instructions in: • https://github.com/brainupdaters/fosdem17_workshop Requirements: • Virtualbox & extension pack installed • Vagrant installed • Required vagrant boxes downloaded
  • 17. 15DRLM Workshop Environment scenario rear-centos rear-suse rear-ubuntu drlm-ubuntu drlm-debian 10.100.0.10 10.200.0.11 10.200.0.12 10.100.0.50 10.200.0.50 10.100.0.60 10.200.0.60 rear-debian 10.200.0.13
  • 18. 16DRLM Workshop Installation DRLM install docs: Installation instructions: http://docs.drlm.org/en/latest/Install.html • RHEL & CentOS • Debian & Ubuntu • SLES
  • 19. 17DRLM Workshop Network configuration drlm-ubuntu # drlm addnetwork -n vboxnet1 -i 10.100.0.0 -m 255.255.255.0 -g 10.100.0.254 -s 10.100.0.50 # drlm addnetwork -n vboxnet2 -i 10.200.0.0 -m 255.255.255.0 -g 10.200.0.254 -s 10.200.0.50 First of all, we must configure the required networks to manage from DRLM, where the clients will be.
  • 20. 18DRLM Workshop Client installation & configuration drlm-ubuntu # drlm addclient -c rear-centos -i 10.100.0.10/24 -I -U # drlm addclient -c rear-ubuntu -i 10.200.0.12/24 -I -u vagrant # drlm addclient -c rear-debian -i 10.100.0.13/24 # drlm instclient -c rear-debian -u vagrant http://download.opensuse.org/repositories/Archiving:/Backup:/Rear/CentOS_7/x86_64/rear-2.00-1.el7.x86_64.rpm Adding clients can be done in one or two separated steps. Installing them at the same time that adding them to DRLM o just adding them without installation & base configuration.
  • 21. 19DRLM Workshop Backup execution & schedule configuration drlm-ubuntu # drlm addjob -c rear-centos -s 2017-02-04T11:45 -e 2017-02-04T11:55 -r 5min # drlm addjob -c rear-ubuntu -s 2017-02-04T11:46 -r 5min # drlm addjob -c rear-debian -s 2017-02-04T11:47 Each client can have multiple backup jobs configured, with different schedules, also one-shot jobs can be planned, avoiding the need to keep open terminals or the use of nohup or screen, as well as to run extra backups that were not planned previously.
  • 22. 21DRLM Workshop Error reporting configuration # apt-get install heirloom-mailx sendmail # vi /etc/drlm/local.conf ... ERR_REPORT=yes REPORT_TYPE=mail MAILCMD=$(which mailx) MAILSUBJECT="DRLM FOSDEM17 ERROR ALERT ($HOSTNAME)" MAIL_TO="didac@brainupdaters.net" # vi /etc/drlm/alerts/mail.cfg set from="alerts@drlm.org(FOSDEM17 ALERTS)" set smtp-use-starttls set ssl-verify=ignore set smtp-auth=login set mtps=smtp://smtp.gmail.com:587 set smtp-auth-user=didac@brainupdaters.net set smtp-auth-password=$(cat /root/passwd_mail) set nss-config-dir=/etc/ssl/certs drlm-ubuntu Here we will configure e-mail error reporting in DRLM and force backup error to receive an alert.
  • 23. 20DRLM Workshop Backup management drlm-ubuntu # drlm listbackup -A Backup Id Client Name Backup Date Backup Status 1.20170204114504 rear-centos 2017-02-04 11:45 false 1.20170204115003 rear-centos 2017-02-04 11:50 true 2.20170204114606 rear-ubuntu 2017-02-04 11:46 false 2.20170204115105 rear-ubuntu 2017-02-04 11:51 true 3.20170204114702 rear-debian 2017-02-04 11:47 true # drlm bkpmgr -I 1.20170204114504 -c rear-centos -e -P # drlm bkpmgr -I 3.20170204114702 -c rear-debian -d -P Each backup in DRLM can be enabled or disabled manually. In case of problems with the latest backup you can enable a previous one to recover from it. Or just to rollback to a previous state if the client was upgraded or reconfigured and you are experiencing issues since those changes were applied.
  • 24. 22DRLM Workshop Export & Import operations drlm-debian # drlm addnetwork -n vboxnet1 -i 10.100.0.0 -m 255.255.255.0 -g 10.100.0.254 -s 10.100.0.60 # drlm addnetwork -n vboxnet2 -i 10.200.0.0 -m 255.255.255.0 -g 10.200.0.254 -s 10.200.0.60 # drlm addclient -c rear-debian -i 10.100.0.13/24 In this example we are using the same networks in the target and source DRLM server, but they could be different, remember to adjust network config, hostnames, ... after recovering on different networks with different hostnames, ... that's all.
  • 25. 23DRLM Workshop Export & Import operations drlm-ubuntu # drlm listbackup -A Backup Id Client Name Backup Date Backup Status 1.20170204114504 rear-centos 2017-02-04 11:45 false 1.20170204115003 rear-centos 2017-02-04 11:50 true 2.20170204114606 rear-ubuntu 2017-02-04 11:46 false 2.20170204115105 rear-ubuntu 2017-02-04 11:51 true 3.20170204114702 rear-debian 2017-02-04 11:47 true # drlm expbackup -I 3.20170204114702 -f /tmp/export.dr # scp /tmp/export.dr vagrant@10.100.0.60:/tmp Here we will export any available DR image to a local directory and then, send it to the destination DRLM server.
  • 26. 24DRLM Workshop Export & Import operations drlm-debian # drlm impbackup -c rear-debian -f /tmp/export.dr # drlm listbackup -A Backup Id Client Name Backup Date Backup Status 1.20170204121505 rear-debian 2017-02-04 12:15 true Importing DR image to destination DRLM server will enable it automatically and you could be able to start recovering from it immediately.
  • 27. 3DRLM Workshop Restore operations 1. Power off the VM to be restored. 2. Disable its NAT network device. 3. Set Boot order 1st device to Network. 4. Boot VM from network. 5. Select 1st option in DRLM boot menu. 6. Enter root username to the booted ReaR recovery. 7. Run dhclient & rear recover: # rear -v recover SERVER=<server_ip> REST_OPTS=-k ID=<client_name>
  • 28. 3DRLM Best Practices Some recommendations ... ● Keep /var/lib/drlm/arch in a separated filesystem with enough space to store all required DR images. ● Adjust kernel loop limit properly (max_loops) according to the number of clients to manage. ● Install DRLM in a dedicated server. ● Configure NTP and set correct Timezone. ● Avoid other PXE services in DRLM managed networks. ● Recommended 4GB of RAM minimum.
  • 31. A.1What is DRLM? Brief description of ReaR ReaR is the best standalone Disaster Recovery tool for GNU/Linux. It is able to recover a single system in few minutes from scratch.
  • 32. A.2What is DRLM? Brief description of DRLM DRLM is a centralized management tool for small to large Disaster Recovery implementations using ReaR. An easy-to-use software for Disaster Recovery management and a great tool for any GNU/Linux SysAdmin.
  • 33. B.1DRLM features Some of them ... ● Automatic Error Reporting on backup failure Nagios, Zabbix, Mail & HP OVO ● Easy GNU/Linux systems migration P2V, P2P, V2V & V2P ● Whole Recovery over the network Multiarch Netboot support with GRUB2 (DRLM 2.0.0) ● Unattended client installation & configuration instclient workflow (DRLM 2.0.0) ● Integrated Backup Job Scheduler New feature! (DRLM 2.1.0)
  • 34. B.2DRLM features Some more ... ● Import & Export DR images between DRLM servers New feature! (DRLM 2.1.0) ● Fully supported and tested on major Linux distros RHEL, CentOS, Debian, SUSE & Ubuntu ● Easy to Use & Setup ● Integrated Debugging/Troubleshooting in DRLM CLI ● Fully developed in BASH ● Open Source
  • 35. B.3Version 2.1.0 New features and enhacements ● Import & Export DR images between DRLM servers ● Added support for DRLM on SLES12 ● Added support for DRLM on Ubuntu 16.04 LTS ● Addclient improvements: New online mode New install mode ● Integrated Backup Job Scheduler ● DRLM runbackup execution params inherited in ReaR (eg: -vD) ● Other minor enhancements
  • 36. B.4Version 2.0.0 Release Notes ● Multiarch netboot with GRUB2 – x86_64-efi i386-efi i386-pc – (issue #2) ● New installclient workflow (issue #5) ● Added support for systemd distros – RHEL7 CentOS7 Debian8 – (issue #14) ● Use bash socket implementation instead of netcat (issue #15) ● Runbackup workflow enhancement with sparse raw images with qemu-img reducing backup time and improving management (issue #16) ● Added support for parallel backups on DRLM (issue #22) ● Added support for new DB backend sqlite3 (issue #23) ● Added support for Nagios error reporting (issue #28) ● Added support for Zabbix error reporting (issue #29) ● Added support for Mail error reporting (issue #30) ● Added timeout var for Sqlite in sqlite3-driver.sh for avoiding database locks. ● Added source of local.conf and site.conf files in drlm-stord ● Solved lots of bugs ● DRLM documentation updated to reflect version 2.0 changes
  • 37. C.1DRLM Project history From the begining ... DRLM Project born (aka DRLS) First DRLM code publication on Github github.com/brainupdaters/drlm First DRLM stable version (1.0.0) DRLM full integration with ReaR (issue #522) – ReaR 1.17 Publication of project websites www.drlm.org & docs.drlm.org DRLM version 1.1.1 released 2013 AUG: 2013 OCT: 2013 DEC: 2014 DEC: 2015 JAN: 2015 MAR:
  • 38. C.2DRLM Project history To be continued ... DRLM 2.0.0 roadmap DRLM present at FOSDEM’16 DRLM version 2.0.0 released DRLM 2.1.0 roadmap DRLM version 2.1.0 released Here we are! again at FOSDEM’17 New DRLM version roadmap 2015 MAY: 2016 JAN: 2016 JUL: 2016 AUG: 2017 JAN: 2017 FEB: 2017 MAR:
  • 39. D.1DRLM Team Project founders & maintainers Didac Oliveira Pau Roura Ruben Carbonell
  • 40. D.2About the author Didac Oliveira Co-Owner & Co-Founder at Brain Updaters, S.L.L. Co-Founder & Maintainer at DRLM Project Other OpenSource contributions: • Relax-and-Recover (ReaR) www.relax-and-recover.org • Config-to-HTML (cfg2html v6.x) www.cfg2html.com
  • 41. Copyright © 2017 - Brain Updaters, S.L.L. Licensed under Creative Commons (CC BY-SA 4.0). DRLM and DRLM logo are registered trademarks of Brain Updaters, S.L.L. DRLM at Github: github.com/brainupdaters/drlm DRLM website: drlm.org DRLM Docs: docs.drlm.org Didac Oliveira Phone: +34 629 078 369 DRLM Chief Architect & Core Developer e-mail: didac@brainupdaters.net