If you are serious about passing RHCSA 7 & RHCE 7 exams, you have to build a lab.
There are very limited explanations in books and almost no article on the Internet on this topic (see Additional Resources at the end of this page for useful links).
This task can be split into several steps:
(if you go the VirtualBox way, my explanations stop here)
- Install a KVM host,
- Configure network settings,
- Set up a local repository,
- Configure a master DNS server,
- Create a VM guest.
If you prepare for the RHCSA 7 exam, you will need 1 VM for most of the topics and 1 more for a small number of subjects like configuring the Automounter, securely transfer files between systems, connecting to an existing authentication service, building a remote repository or mounting CIFS/NFS shares. Each VM will require 1GB of memory and around 10GB of disk space.
If you prepare for the RHCE 7 exam, you will need 3 VMs in the worst case (KDC+NFS server+NFS client). Each VM will require 1GB of memory and around 10GB of disk space. Don’t forget to at least create 2 network interfaces for 2 of the 3 VMs: you will need them when working with bonding and teaming.
- concerning the hardware parts, you can read the homelab reddit subsection,
- an article from Dell called KVM Virtualization in RHEL 7 made easy gives you useful information to build a lab,
- Mike Shoup‘s video explains how to setup a KVM environment to prepare for Red Hat exams and provides the associated KVM instructions,
- Eric Nothen wrote an interesting tutorial on how to practice for Red Hat exams,
- Jens Depuydt’s blog provides a good article about installing an RHEL 7/CentOS 7 KVM virtualization host,
- Frank Caviggia from Red Hat wrote a presentation about Security in KVM,
- Itfountain website provides a nice video about setting up an RHCSA/RHCE 7 lab in a VMware workstation (57min/2015),
- IBM offers a pretty old but still useful guide on the Best Practices for KVM,
- Lingeswaran’s website provides a series of detailed tutorials about KVM installation & management,
- Red Hat Consulting provides a video about Securing Your Virtual Environment (5min/2016),
- Jamie Nguyen wrote an interesting Libvirt Networking Handbook,
- Keith Rogers provides a procedure to set up KVM on RHEL 7,
- Linuxarena website offers many interesting tutorials about KVM,
- CJ Knowles explains how to build a lab for preparing the RedHat certifications.,
- dogfish182 provides scripts to build a VirtualBox lab,
- UnixAdmin website explains how to configure KVM resources,
- Ravi Kumar wrote an article about the commands Red Hat uses to reset its virtual lab environment.