211 Midterm Prep Flashcards
What Is Virtualization?
Lecture 1
Virtualization is the process of creating a software based / virtual version of an operating system that is visible via a Hypervisor.
Virtualization allows for the creation of Virtual Machines
Name and Describe some of the reasons why virtualization is used today.
Lecture 1
- Server Consolidation - Instead of having a ton of physical servers, you can replace them with a few larger servers.
- Isolation - Guest Operating Systems are fully isolated from the host running them. This protects the host from any software issues that may occur on the VM
- Disaster Recovery. Virtual Machines allow for snapshots, which makes backups and disaster recovery easier.
- Dynamic Load Balancing - Live Migration provides easy load-balancing across infrastructure by allowing users to move VMs from busy hosts to new or unused hosts on demand.
Describe some of the benefits of virtualization.
Lecture 1
- Allows a high level of mobility. All virtualized OS environments can be moved between physical hosts freely.
- Great for getting the most out of your resources.
- Scalable
- Use less data, space, and cost less than having multiple physical machines
- Consolidation and Centralization of Resouces (No idea what this one means if somebody wants to clarify)
- Isolation
- Better disaster recovery / availability
- Speed of service and automation
- Compatable with public cloud services
What are the 3 different approaches to Virtualizaion?
Lecture 1
1.Software Virtualization - Enables a single computer server to work with multiple virtual systems
2.Hardware Assisted Software Virtualization - Uses the physical hardware of the host system to support the virtual machine management software.
3.Para-Virtualization - Virtualization that presents a software interface to the virtual machines which is similar to the hardware / software interface.
What is the main role of a Hypervisor?
Lecture 1
Hypervisors enable us to be able to perform virtualization. Hypervisor software runs on the host and translates the VM onto the hardware of the host PC.
What are the 2 types of Hypervisors?
Lecture 1
Type 1: Also known as bare metal, these are installed directly on the physical server (Hyper-V, VMware)
Type 2: Also known as Hosted, have a layer of host operating systems between the physical device and the hypervisor itself. (VirtualBox, VMware, Oracle)
What are the 2 architectures of Type 1 Hypervisors?
Lecture 2
Monolithic and Micro-Kernelized
What are the attributes of Monolithic Hypervisors?
Lecture 2
- Drivers exist within the hypervisor
- Superior performance
- Shares drivers with the host PC, which limits hardware support for the VMs
- The list of compatable hardware is very short
- Contain more security and stability issues
What are the attributes of Micro-Kernelized Hypervisors?
Lecture 2
- Used by Hyper-V
- Mainly governed by a Server Management / Parent Partition
- Can run numerous drivers created by multiple vendors which removes the need for hardware-linked drivers.
- More Secure and Stable than Monolithic Hypervisors.
Hypervisor Design Principals (taken from the lecture slides)
Lecture 2
What is the role of VMMS (Virtual Machine Management Systems)
Lecture 2
VMMS manages the state of VMs and launches VM’s work processes for each child partition.
Describe the VMBus and its roles
Lecture 2
VMBus is a tool within Hyper-V that enables logical communication between partitions.
The VMBus redirects request to virtual devices, allowing files to be draged and dropped between VM and host.
VMBus runs in kernel mode and is resonsible for enabling communication between the Virtual Service Providers that allows support for memory hardware.
How does Hyper-V support Isolation?
Lecture 2
Hyper-V supports isolation through partitions.
Partitions are logical units of isolation, supported by Hyper-V. For hypervisors to work through Microsoft, at least one root partiton must be running Windows.
Describe some of the benefits of running a virtualized environment.
Lecture 2
- Virtalized Environments allow multiple different OS instances to execute at the same time on a single physical system
- Drive resources available on a physical host are used for multiple VMs, which act as stand alone systems completely isolated form the Host.
- Allows for the usage of Emulated and Synthetic hardware devices
Describe Emulated hardware components
Lecture 2
Emulated hardware devices exist as physical hardware.
They use built in drivers to operate through virtualization, however they have more overhead due to emulation because they were not designed specifically to be used on virtual machines.
Describe Synthetic Hardware Components.
Lecture 2
Synthetic devices are high performance, software based devices that control access to physical hardware.
Designed specifically for virtualized environments, and run in kernel mode so they do not have additonal overhead to worry about.
Describe Synthetic Hardware Components.
Lecture 2
Synthetic devices are high performance, software based devices that control access to physical hardware.
Designed specifically for virtualized environments, and run in kernel mode so they do not have additonal overhead to worry about.
What are Generation 1 VMs?
Lecture 2
Generation 1 VMs require that hardware natively support the virtual hardware being used on the machine.
Used specifically for older versions of Operating Systems.
While they support the usage of both emulated and synthetic hardware, they must be booted from an emulated IDE.
What are Generation 2 VMs?
Lecture 2
Generation 2 are the newest model of Hyper-V Virtual Machines.
Uses newer operating systems that are natively enlightened to virtualization. No emulated devices are required.
Does not use older BIOs technology, and instead uses Unified Extensible Firmare Interface (UEFI) and secure boot to operate.
Why might a fixed VHD be used in a production environment over a dynamic VHD?
Quiz 1
If you have limited underlying phsyical storage, you are better able to allocate the storage you have.
With Dynamic VHDs, you may end up unexpectedly running out of storage becuase you don’t have a defined or fixed amount of space set for each VHD.
What does the use of NUMA ensure?
Quiz 1
NUMA ensures that in multi-processor systems, any given processor wil use the memory that is directly attached to it.
What file extention is used for Hyper-V Virtual Disks?
Quiz 1
.vhdx
What are containers?
Oct 6 Lecture
A container is a staudard unit of software that packages up code and dependencies so that an application runs quickly and reliably in different computer environments.