Explore

Virtual storage, networking and availability

by Froga

Looks at everything around the CPU: virtual disks and thin provisioning, virtual networks, device handling and the I/O MMU, clones and snapshots, then availability with clusters, fault tolerance and live migration. You will be able to choose a setup for a scenario. About 15 minutes.

You're previewing this room. Log in or create a free account to answer the questions and track your progress.
Study material

What this room is about. After the CPU and memory, this room covers the rest of a virtual machine and what keeps it running. It starts with virtual disks and shared storage, moves to virtual networks and the handling of devices, then looks at clones, templates and snapshots, and ends with availability: clusters, fault tolerance and live migration. It sits in the middle of the course story, from one physical server towards the cloud.

Why it matters. Guests that share a host also share its storage path and network, so one greedy guest can slow an important one, and a datastore that fills up can stop many machines at once. At the same time, a virtual machine is only a set of files, which is why it can be copied, restored and moved to another host while it runs. Understanding both sides is what lets you plan capacity and promise uptime.

Words you will meet.

  • Virtual disk: a file on the host's storage that the guest operating system sees as an ordinary disk.
  • Thin provisioning: a disk is promised a large size but takes real space on the datastore only as the guest writes data to it.
  • Bridged, NAT (Network Address Translation) and host-only: three ways a virtual switch can attach a guest: onto the physical network, behind the host's shared address, or onto a private network inside the host.
  • I/O MMU (Input/Output Memory Management Unit): hardware that translates and restricts the memory addresses a device may use for direct memory access, so a guest's device cannot reach memory it does not own.
  • Snapshot: a frozen point-in-time state of a virtual machine, after which new writes go to a separate child disk; it is not a backup.
  • High availability and fault tolerance: high availability restarts the guests of a failed host on other hosts, so they briefly go down, while fault tolerance runs a secondary copy in lockstep so nothing is interrupted.
  • Live migration: moving a running virtual machine to another host by copying its memory while it keeps running.

By the end you should be able to:

  • Explain what a virtual disk is on the host, and the risks of thin provisioning and of shared storage.
  • Choose between bridged, NAT, host-only and internal switch setups for a described network need.
  • Explain why direct memory access needs an I/O MMU, and compare emulation with pass-through.
  • Distinguish a clone, a template and a snapshot, and say why a snapshot is not a backup.
  • Calculate yearly downtime from an availability figure, and choose high availability, fault tolerance or live migration for a scenario.

How to use it. Each question has its own study text above it, so read that first and then answer; the answers and explanations show at the end of the room.

What is thin provisioning?

multiple choice

AA disk limited to a small size so that no guest can fill up the datastore
BA copy of a virtual disk kept on a second array in case the first one fails
CA virtual disk compressed so that each block uses less space than before
DA disk promised a large size that takes real space only as the guest writes
Log in to answer

Ready to test yourself?

Sign up free to answer, score points, and build your streak.