PDF Version Available

This document is also available in PDF format: virtualization.pdf

The PDF version includes bookmarks for easy navigation and is optimized for printing.

Accessibility Notice

This document is also available in HTML format at:

Link: https://aholdengouveia.name/LinuxAdmin/labexcercises/virtualization.html

The HTML version provides enhanced accessibility features including keyboard navigation, screen reader support, responsive design, dark mode support, and high contrast options.

Ticket

Ticket: ACME-5276
Requested by: IT Manager
Systems: Both report servers

Background

Acme Corp wants faster recovery and fewer hand-built servers. Your manager has asked for two things: proof that snapshots can save you, and a first try at configuring a server with code. You will be working on the two servers you set up in the Server Setup lab: your Red Hat based server and your second server.

Learning Outcomes

By the end of this lab, you will be able to:

Requirements

  1. Take a snapshot of one server, make a breaking change on purpose, then roll back to the snapshot. Document what you broke, how you broke it, and what stopped working. Time the rollback, and compare it to your restore drill from the Backup, Restore, and Post Mortem lab.
  2. Using Ansible, run from one server against the other, write a playbook that installs the tools from the Installs, Updates, and Documentation lab, creates a user and group from the User Management lab, and deploys a config or text file. Use the sample playbook and inventory (linked under Resources) as a guide for the format. Every task in the samples is an example only, so your playbook needs its own tasks.
  3. Run your playbook twice, and explain why the second run doesn't change anything. This is called idempotence.
  4. Write an executive summary for Acme Corp comparing snapshots and backups, and recommending whether to adopt Infrastructure as Code.

Acceptance Criteria

Deliverables

Audience: your manager at Acme Corp, who will decide whether the team adopts these practices. Assume technical knowledge but not expertise. Screenshots are helpful to go with your descriptions.

Resources

References, a video, a PowerPoint and some notes are available at my website Link: https://www.aholdengouveia.name/LinuxAdmin/virtualization.html

Sample playbook, showing the format to follow Link: https://www.aholdengouveia.name/LinuxAdmin/labexcercises/SamplePlaybook.yml

Sample inventory file Link: https://www.aholdengouveia.name/LinuxAdmin/labexcercises/SampleInventory.ini

Getting started with Ansible Link: https://docs.ansible.com/ansible/latest/getting_started/index.html

An introduction to Ansible playbooks Link: https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_intro.html