Hypervisor is inserted in the boot process of the VM -- controls access to physical hardware.
Hardware drivers are installed only in the host OS (parent partition)
The VM communicate only with virtualized hardware.
HPV Manager improvements: manage previous versions of hpv. Uses HTTP for management,
instead of RPC to simplify connectivity.
Nested Virtualization: enable HPV role in vm´s. Not for production environments.
Rolling HPV Cluster upgrade: allows to upgrade a 2012 r2 cluster to 2016 by adding node to
an existing cluster. Vm´s can be moved between nodes 2012r2 and coexist with nodes 2016
Shielded VM: the entire vm is encrypted and is accesible only to the admins of the vm.
Startup order priority: identifies a specific startup order for vm´s. Reduces contention and
allows u to start th most important vms first.
Storage QOS: improves storage performance by allowing to assign storage qos policies on a
scale out file server. Virtual HD stored on a scale out fs cane limited, or can be guaranteed an
amount of storage throughput (tasa de transferencia efectiva)
PowerShell Direct: runs ps cmdlets on a vm from the hpv host. No need to configure any
network connectivity.
------------------------------------------------------------------------------------------------------------
Discrete device assignment: allows vms to directly access pic-e devices connected to host.
Hot add or remove, for network and memory: Network adapters and virtual memory can be
added to a running vm.
Integration services delivered through W. Update: delivering the most recent version of
integration services through W. Update.
Key storage drive: allows G1 VMS to store BitLocker Drive Encryption keys.
Linux Secure boot: Increases security of linux vms. SB verifies digital signatures on files
during boot process to prevent malware. Feature already available for Win vms.
Memory and processor capacity improvements: a vm now supports 12tb ram, 240 processors.
Production checkpoints: applications are in consistent state when the checkpoint is created.
WS Containers -- (2016) run multiple apps independently within a single os instance. The os
kernel is shared by multiple containers. OS Virtualization. --:: Virtual Operating System
Kernel.
Docker can retrieve (recuperar) containers from and store containers in a repository.
Containers are layered together to provide and entire app.
Ej.: container for os, container for web soft, container for web-based app.
Docker can retrieve all containers required for the app and deploy them.
Storage for Containers :::: if a lower layer (capa inferior) container for an os is updated, it
invalidates any upper layer (capa superior) container that rely on it (cuenta con..). Updating
the lower layer forces to update the upper layers.
Hyper- V Containers:
Greater level of isolation for containers. Each container has his own os kernel. Operates
independently.
In development environment -- performance more important than stability therefore (por lo
tanto) WS Containers are used for app development. However (sin embargo) in production
where stability is critical -- use HPV Containers.
------------------------------------------------------------------------------------------------------------------
Installing HP-V.
Verify meet requirements -- Systeminfo.exe
Nested Virtualization.
Requirements:
MAC address spoofing enabled !! (Configured in VM that is host)
4GB static memory enabled.
VM configuration version 8.0
MAC address spoofing -- not enabled: network packets from nested guest virtual machines
will not be recognized as legitimate, and will be blocked. Not required for vms connected to
private networks.
Virtualization based security -- dynamic memory -- device guard -- hot add static memory --
checkpoints -- live migration -- save or restore state
Virtual Hard disk -- Special file format -- represents a traditional hard disk.
.VHDX :
. WS2012
. 64TB file
. Less chance disk will become corrupted if the HOST suffered unexpected power outage.
. .vhdx format supports better alignment (alineacion) when delayed to large-sector disks.
. .vhdx allows larger block sizes for dynamically expanding and differencing disks -- provides
better performance.
.
Create .vhdx unless need backward compatibility with 2008/R2
.VHDS:
.WS2016
. Multiple Virtual Machines can access simultaneusly. For high availability with clustering.
. Can convert between hard disk formats. A new virtual disk Is created (the content of the
existing disk are copied into it)
. Fixed Size: allocates all of the space immediately. Minimizes fragmentation. Enhances
performance.
. Pass-through: provides direct access to physical disk or iscsi logical unit number (LUN) .
Sometimes offers better performance.
. Differencing: this type of dynamically expanding virtual hard disk stores data that has
changed when compared to a parent disk. Used to reduce data storage requirements
Multiple layers (linked disks increases) on differencing disk decreases performance.
Modify a parent disk, the differencing disk is no longer valid.
Can move a parent virtual disk, but must relink it with the differencing disk.
Virtual Fibre Channel adapter: virtual hardware that can add to a virtual machine.
.Redundant Storage:
Volume on with the virtual hard disk files are stored should be fault-tolerant. Replacing failed
disks shouldn't affect the operation of the hp-v host or guests.
SMB 3.0 file share provide an alternative to storing vim files on iscsi or fibre channel san
devices. Create a vm can specify a network share when choosing the vm sharing location and
the virtual hard disk location. Can attach disk noted on smb 3.0 file shares (vid, vhdx, vhds)
Use smb 3.0 fs for v.m.storage --> Create a SAN. Have to segregate access to file shares.
Client network traffic should not be on the same vlan.
-->External
-->Internal
-->Private
.Configure VLAN
.Capture data traveling through a switch.
.Filter data traveling through a switch.
Virtual Switch
-->manage Virtual switch manager.
-->Controls how network traffic flows between vms
-->Controls how network traffic flows between vms and the rest of the network
External:
--> map a network to a specific network adapter or network adapter team in the hp-v host.
--> provides vm with access to a network to which a host is connected.
-->support mapping an external network to a wireless network adapter. (Adapters must be
compatible)
Internal:
-->communicate between the vms on the hp-v host.
-->communicate between the vm and the host.
Private:
-->communicate between vms on the hp-v host.
VLAN ID:
.associates the management os with the network.
.Extend existing vlans (external network) to clans within th hp-v host network switch.
.Vlans -- can be used to partition network traffic
.vlans function as separate logical network.
. If traffic passes through a router can pass only between vlans.
Network Driver Interface Specification (NDIS) capture: this extension allows the capture of
data that travels across a virtual switch.
Windows filtering platform: this extension allows filtering of data that travels across a virtual
switch.
----------------------------------------------------------------------------
.NIC Teaming on the HP-V host to ensure connectivity to vms if an adapter fails.
Cojnfigure multiple teams with network adapters that are connected to different switches.
------------------------------------------------------------------------------------------------------------------
----------
.VMMQs
.Switch-Embedded teaming:
(Adapters must be identical)
New-VMSwithc -Name “ExternalTeam”
-NetAdapterName “NIC1”, “NIC2”
QOS:
Helps to ensure that all vm are able to obtain a minimum level of networking capacity when
required.
VM Multi Queues:
Feature that enhances network performance for VMs. When its enabled in the NIC, VMQ
passes network packets directly from the external network to vm. Each VM gets a queue (cola)
for delivery of the packets. (2008^).
VMMQ: (2016) allocating multiple queues per virtual machine and spreading (divulgar)
traffic across the queues.
Remote Direct Memory Access for Virtual Swithes: RDMA -- SMB Direct