Hyper-V Flashcards
What are the host system requirements for running Hyper-V
SLAT(Second Level Address Translation)CAPABLE 64-bit processor
VM Monitor Mode Extensions
Hardware-assisted virtualisation
Hardware-enforced DEP(Data Execution Prevention)
How do you determine if a host meets Hyper-V requirements?
systeminfo
Get-ComputerInfo
What is the PoSH command to open a persistent session?
New-PSSession
*Get-PSSession view open sessions
What is the PoSH command to remote onto a VM?
Enter-PSSession -
What is the PoSH command to enable nested virtualisation?
Set-VMProcessor -VMName <> -ExposeVirtualizationExtensions $true
What is the difference between Generation 1 and Generation 2 machines
Generation 1 - Emulated Drivers (overhead)
Generations 2 - Synthetic Drivers (software based)
What does secure boot ensure?
Drivers are digitally signed, avoid malicious activity prior to operating system loading
What are the limitations of Generation 2 VMs?
64-bit only
No windows 7, server 2008, FreeBSD
What is the linux command to view the current version on Linux Integration Services?
/sbin/modinfo hv_vmbus
What is the linux command to view the kernels currently loaded?
lsmod
What is memory buffer in Hyper-V?
Memory reserved for VM as percentage of current demand
What us memory weight in Hyper-V?
Prioritisation of memory for virtual machine compared to other virtual machines
What OS’ is dynamic memory incompatible with?
FreeBSD
What is NUMA in Hyper-V?
Non Uniform Memory Access
Allows more machines to run at same time
*Machines spanning multiple CPUs
How does NUMA work in Hyper-V?
Memory regions are directly assigned to a CPU
Cores that access those regions are NUMA nodes
What is virtual NUMA in Hyper-V?
Projects host NUMA settings to VM
*for NUMA aware applications (i.e SQL)
What is smart paging in Hyper-V?
Allows running VMs to use disk space as memory when restarted to negate statically assigned memory at startup
What is resource metering in Hyper-V?
VM Usage Stats
What is the PoSH command to enable Hyper-V resource metering for all VMs?
Get-VM | Enable-VMResourceMetering
What is a requirement to hot add memory to a running VM?
Static Memory,
Server 2012 and 2016 guest
When importing a VM what is the difference between register, restore and copy?
Register - Use files in place
Restore - Make copy of imported files
Copy - Create a new UUID (can coexist with original)