INSA312-Chapter 1
INSA312-Chapter 1
sa
INSA 312
Basic Networks Systems Administration
Module 1
By Alhanouf Alsenan
Roaa Aldoweesh
Chapter1:
Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints
Virtual Disk Drive – Similar to Physical hard drive installed in a virtual machine or
virtual server.
1
Types of Virtual Hard Disk File Formats
2
Classification of Virtual Hard Drive Files
1. Fixed: that claims the maximum possible amount of physical disk space at the
time of creation. For Ex: a 100 GB fixed length VHD file would initially
consume 100 GB of physical storage space.
2. Dynamic: consume very small amount of physical disk space – and grows as
data is added to virtual disk. 100 GB Maximum
3
Virtual Machines
A Virtual Machine (VM) is a compute resource that uses software instead of a physical
computer to run programs and deploy apps.
Virtual machines (VMs) allow a business to run an operating system that behaves like a
separate computer in an app window on a desktop.
4
Virtual Machines
➢ Two type of VM – the guest virtual machine and the host virtual machine.
❑ The host is the virtual machine host server; the underlying hardware that provides computing
resources, such as processing power, memory, disk and network I/O, and so on.
❑ The guest is a separate and independent instance of an operating system and application software.
5
Virtual Machines
6
Hyper-V
• Hardware virtualization provides a hypervisor layer that has direct access to the host server’s
hardware.
• Hyper-V allows you to create virtual hard disks as a part of a virtual machine or create them later and
add them to a VM.
7
Hyper-V
Hypervisor : isolates each guest from another, enabling multiple guests to reside
and operate on the host simultaneously.
Hyper-V uses a specialized virtual hard disk (VHD) format to package part of
the space on a physical disk and make it appear to the virtual machine.
8
Hyper-V
9
Checkpoints
Checkpoints is creating a point in time image of a virtual machine which can be restored later.
▪ One of the great benefits to virtualization Hyper-V is the ability to easily save the state of a
virtual machine.
Production Checkpoints: uses Volume Shadow Copy Service or File System Freeze on a Linux
virtual machine to create a data-consistent backup of the virtual machine. No snapshot of the
virtual machine memory state is taken.
10
Summary
A dynamic hard disk image is an image file with a specified maximum size, which starts out
small and expands as needed to accommodate the data the system writes to it.
A differencing hard disk image is a child image file associated with a specific parent image.
The system writes all changes made to the data on the parent image file to the child image,
to facilitate a rollback later.
VHDX image files in Windows Server 2012 can be as large as 64 TB, and they also support
4 KB logical sector sizes, to provide compatibility with new 4 KB native drives.
11
Chapter2: LAP – Practical
Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints
LAP A : Create and Managing Virtual Hard Disks and Virtual Machines.
LAP – Practical
Create Virtual Hard Disk (VHD)
LAP – Practical
Select partition
LAP – Practical
• 4GB is the minimum RAM required but depending on the guest operating
systems you plan to install in your VMs
Install Hyper-V (Windows Server 2016/2019)
Step 18 - New Virtual Machine (VM) will appear in Hyper-V, click on "Connect".
Step 19 - Click on "Start" button.
LAP – Practical
To create a checkpoint:
To create a checkpoint:
Using Virtual-Box
1.In Hyper-V Manager, under Virtual Machines, select the virtual machine.
2.In the Checkpoints section, right-click the checkpoint that you want to use and click Apply.
3.A dialog box appears with the following options:
•Create Checkpoint and Apply: Creates a new checkpoint of the virtual machine before it applies the
earlier checkpoint.
•Apply: Applies only the checkpoint that you have chosen. You cannot undo this action.
•Cancel: Closes the dialog box without doing anything.
LAP – Practical
Using Virtual-Box
1.Select the VM to work with from the left pane in the main window.
2.Click the Snapshots button in the upper right corner.
3.Right-click the snapshot you want to restore.
4.Click Restore Snapshot (see the Figure ).
5.In the resulting window, uncheck the box for Create A Snapshot Of The Current Machine State.
6.Click Restore.
7.Allow the restore to complete.
LAP – Practical
LAP – Practical
https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/checkpoints