Skip to content

brainupdaters/drlm_workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DRLM Workshop

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.

Requirements

Configuration

GNU/Linux & OS X:

Create a new Host-Only network in your Virtualbox installation:

A. Using GUI:

  1. 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
NOTE:
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.

B. Using CLI:

  1. 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

Windows:

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.

NOTE:
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.

Download all required vagrant boxes

  • CentOS 7
  • Debian 9
  • Ubuntu 16.04
NOTE:

All boxes have the user "vagrant" with sudo privileges and password "vagrant".

GNU/Linux, OS X & Windows:

$ 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)

Get the workshop from Github

GNU/Linux, OS X & Windows:

Using GIT:

$ git clone https://github.com/brainupdaters/drlm_workshop
$ cd drlm_workshop
  1. Uncompress.
  2. Go to drlm_workshop folder.

Now, we have all the requirements to prepare the workshop environment.

Start the environment

This takes about 10 minutes ...

GNU/Linux, OS X & Windows:

$ vagrant up

Suspend the environment

GNU/Linux, OS X & Windows:

$ vagrant suspend

Resume the environment

GNU/Linux, OS X & Windows:

$ vagrant resume

Destroy the environment

GNU/Linux, OS X & Windows:

$ 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:

GNU/Linux & OS X:

$ VBoxManage hostonlyif remove vboxnet1

Windows:

C:\Program files\Oracle\VirtualBox\VBoxManage hostonlyif remove "Virtualbox Host-Only Ethernet Adapter"
NOTE:
If the network environment in your VBox installation is different, 
please remove added networks accordingly.

Release History

  • 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

Author

Didac Oliveira – @didacogdidac@brainupdaters.net

Distributed under the GPLv3 license. See LICENSE for more information.

https://github.com/didacog

https://www.linkedin.com/in/didacoliveiragarcia

About

DRLM workshop (an easy way to test ReaR & DRLM)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages