Disaster Recovery Management with ReaR and DRLM (Workshop instructions)
In this README you will find explained the required steps to prepare your own testing environment to follow the workshop and play with ReaR and DRLM installation.
- Install Virtualbox and the extension pack from here: https://www.virtualbox.org/wiki/Downloads
- Install latest Vagrant software: https://www.vagrantup.com/downloads.html
Create a new Host-Only network in your Virtualbox installation:
- Go to Preferences > Networks > Host-only Networks.
2a. Create a new network named vboxnet1, edit and set:
IPv4 address: 10.100.0.254
IPv4 Network Mask: 255.255.255.0
Disable DHCP Server
If Host-only network environment in your VBox installation is more complex,
please create a new network with the required configuration and adjust
the Vagrantfile accordingly.
- List Host-only interfaces of your VBox installation:
$ VBoxManage list -l hostonlyifs
Name: vboxnet0
GUID: 786f6276-656e-4074-8000-0a0027000000
DHCP: Disabled
IPAddress: 192.168.56.1
NetworkMask: 255.255.255.0
IPV6Address:
IPV6NetworkMaskPrefixLength: 0
HardwareAddress: 0a:00:27:00:00:00
MediumType: Ethernet
Status: Down
VBoxNetworkName: HostInterfaceNetworking-vboxnet0
2a. If vboxnet0 is already present create vboxnet1 network and configure it:
$ VBoxManage hostonlyif create
$ VBoxManage hostonlyif ipconfig vboxnet1 --ip 10.100.0.254 --netmask 255.255.255.0
2b. If vboxnet0 is not present create vboxnet0, vboxnet1 and vboxnet2 networks and configure last 2:
$ VBoxManage hostonlyif create
$ VBoxManage hostonlyif create
$ VBoxManage hostonlyif ipconfig vboxnet1 --ip 10.100.0.254 --netmask 255.255.255.0
For Microsoft Windows OS will be pretty the same configuration (GUI & CLI), but the VirtualBox networks will be named diferent:
- Host-Only Ethernet Adapter (vboxnet1)
Note that there is no vboxnet0 in Windows and you must be in C:\Program files\Oracle\VirtualBox\ or adjust your PATH environment variable to run same VBox CLI commands.
If Host-only network environment in your VBox installation is more complex,
please create a new network with the required configuration and adjust
the Vagrantfile accordingly.
Now, we have all the requirements to prepare the workshop environment.
- CentOS 7
- Debian 9
- Ubuntu 16.04
All boxes have the user "vagrant" with sudo privileges and password "vagrant".
$ vagrant box add https://app.vagrantup.com/debian/boxes/stretch64
$ vagrant box add https://app.vagrantup.com/centos/boxes/7
$ vagrant box add https://app.vagrantup.com/ubuntu/boxes/xenial64
$ vagrant box list
centos/7 (virtualbox, 1902.01)
debian/stretch64 (virtualbox, 9.8.0)
ubuntu/xenial64 (virtualbox, 20190419.0.0)
$ git clone https://github.com/brainupdaters/drlm_workshop
$ cd drlm_workshop
Download ZIP file from github (https://github.com/brainupdaters/drlm_workshop/archive/master.zip)
- Uncompress.
- Go to drlm_workshop folder.
Now, we have all the requirements to prepare the workshop environment.
This takes about 10 minutes ...
$ vagrant up
$ vagrant suspend
$ vagrant resume
$ vagrant destroy -f
Previous command will keep downloaded boxes in your hard drive,
just the VM's deployed with vagrant up
will be destroyed.
If you do not need those boxes anymore, you can remove them:
$ vagrant box remove centos/7
Removing box 'centos/7' (v7.0) with provider 'virtualbox'...
$ vagrant box remove debian/stretch64
Removing box 'debian/stretch64' (v8.0) with provider 'virtualbox'...
$ vagrant box remove ubuntu/xenial64
Removing box 'ubuntu/xenial64' (v16.04.1) with provider 'virtualbox'...
As well, to clean up Virtualbox networks added for the workshop, do this:
$ VBoxManage hostonlyif remove vboxnet1
C:\Program files\Oracle\VirtualBox\VBoxManage hostonlyif remove "Virtualbox Host-Only Ethernet Adapter"
If the network environment in your VBox installation is different,
please remove added networks accordingly.
- 1.1
- CHANGE: Updated new boxes and adjusted preparation scripts.
- 1.0.1
- CHANGE: Changes to make this a standard DRLM workshop to everyone interested in testing/learning ReaR & DRLM.
- 1.0.0
- The first proper release
- CHANGE: Ready for the workshop at Cyberweek'17
- 0.0.1
- Work in progress
Didac Oliveira – @didacog – [email protected]
Distributed under the GPLv3 license. See LICENSE
for more information.