Midterm Flashcards
Type of Hypervisors
Software that abstracts hardware resources from VM
A hypervisor…
manages all of the interactions between VM and hardware resources
Type 1 Hypervisor
Runs directly on hardware
- More secure and more available
- Offers better performance to the guests it supports
Type 2 Hypervisor
Runs on top of an OS
- Leverages the OS drivers
- Often used for desktop development and testing
VMware ESXi
First commercially available hypervisor (1998) for the x86 platform
- Currently market leader in user share and maturity of offerings
- Architecture not tied to an OS
Xen
Began Cambridge University research project
- Currently exists as an open source project and the core has been used by a number of vendors including Citrix & Oracle
- Dom0 is primarily based on Linux
Microsoft Hyper V
Released 2008, but virtualization was available through Virtual Server 2005
- Similar architecture to Xen
Virtual machines vs Virtual appliances
VA is a pre-configured virtual machine image, ready to run on a hypervisor
VA is…
not complete VM platform, but rather a software image containing a software stack desgined to run on VM
VM is…
emulation of a particular computer system
- operate based on pc architecture and functions of a real pc
Clones, snapshots, copies and templates
VM composed of…
configuration files that describe virtual hardware (.vmx)
- disk files that contain data (.vmdk)
Sysprep is..
Windows specific utility that can be used to automate customization of cloned VM (NOT ideal)
Full Clones are..
replicas of original VM and require same storage space
Linked Clones uses…
original VM for reference and any changes are kept in a delta disk
- requires less space than FC though cause performance issues
VM Templates are..
models of VM that can be cloned
- VM that cant be powered on(read only state)
- configured to be ‘golden images-a validated and approved combo of OS with patches, corporate, approved utilities
Snapshots..
capture entire machine state at a moment in time
- allows user to make changes to the VM and then undo them by reverting to snapshot
- not used as backup solution due to potential performance issues
Snapshot files
.vmsd - contains relevant info about snapshot
- .vmem - contains memory state of VM
- .vmsn - VM snapshot file store the state of the VM at time of snapshot
- .vmdk - child disk files termed sparse disks
Each child (snapshot) disk is designated with a snapshot iteration number
Snapshots lock original VM disk and…
create child a disk where changed blocks are written.
- when user reverts to snapshot, child disk is erased and changes start again
Multiple snapshots can…
be taken creating sophisticated branches of development
Deleting snapshots removes…
the child disk with changes allowing original disk to be written once again
Virtual Switch vs Virtual network adaptors
Hypervisors can manage virtual internal networks with…
virtual switches-no connection to a NIC or any physical communication port
VMs connect to virtual switches that are tied to…
physical NICs
In Xen, virtual switches are handled by…
Dom0 instead of hypervisor
- hypervisor doesnt manage network I/O
Network attached storage uses…
virtual switches and physical NICs
- should be isolated from user traffic with separate virtual/physical network paths