Professional Documents
Culture Documents
Windows Server 2016 Datacenter Edition Designed for highly virtualized environments –
including cloud and hybrid cloud environments
Windows Storage Server 2016 – Standard Edition Supports up to 64 sockets but is licensed on a
two-socket, incrementing basis
Windows Server 2016 Installation Requirements
Component Requirement
Processor architecture 64-bit
Processor speed 1.4 gigahertz (GHz)
RAM 512 MB
Hard drive space 32 GB
*Server Datacenter supports 640 lCPU, 4Tb RAM, and 64 nodes
• Clean Installation
• Upgrade
• Migration
• Dism /Add-Package
/PackagePath:.\packages\<package>
• Dism /Add-Package /PackagePath:.\packages\en-
us\<package>
Installing Roles/Features from the Package Repository
• Nano Server roles and features are
available on the media and from a package
repository
• NanoServerPackage provider for the
PackageManagement PowerShell module
• Discovery
• Hardware and software inventory
• Virtual Server Consolidation Wizard
• Private Cloud Fast-track Wizard
Planning for Linux and FreeBSD Deployments
• Both emulation and running within Hyper-V are supported scenarios
• Hyper-V offers better performance
• With Hyper-V you need Hyper-V specific drivers
• Linux Integration Services is added to the Linux kernel (newer versions), provides these drivers, and
is updated with new Linux releases
• FreeBSD Integration Services provides these drivers and is built into newer FreeBSD builds
• For older versions of either, download the latest available
https://technet.microsoft.com/en-us/windows-server-docs/compute/hyper-v/supported-
linux-and-freebsd-virtual-machines-for-hyper-v-on-windows
Updating Images – Patches, Hotfixes, Drivers, Roles
• Sector-based images require you to install the image, update it, re-capture
• File-based images can be updated offline
• Windows setup: include an answer file with setup to install updated drivers, patches, etc…
• Online servicing: like sector-based, this requires installing the image to a reference computer,
updating it, and re-capturing the OS
• Offline servicing: use DISM to mount the image, update the drivers, or install hotfixes, language
packs, or add/remove folders
A. Install-NanoServerPackage Microsoft-NanoServer-DCB-Package
B. Install-NanoServerPackage Microsoft-NanoServer-Host-Package
C. Install-NanoServerPackage Microsoft-NanoServer-Guest-Package
D. Install-NanoServerPackage -Compute
https://technet.microsoft.com/en-us/windows-server-docs/compute/nano-server/getting-started-with-nano-server
Installing Windows Server
Setup.exe includes
Server Core (default) or
with GUI (desktop
experience)
02-Implement storage
solutions
Configure disks and volumes
Determine the Partition Table Format
• Standard partition table format since early
1980s
• Supports a maximum of four primary
partitions per drive
• Can Partition a disk up to 2 TB
• Metadata
• Auditing and journaling
• Security (ACLs and encryption)
• Used in WS2012+
• Sizes > 2TB
• Can be used for shared storage for VMs
Disk management tools
Tool Purpose
Server Manager Create volumes, storage spaces, shares, disk deduplication
Disk Management Simple tool, lacks features but OK for basic tasks
Exam Tip: Know the limitations/features of each. E.g. which tool(s) can create a storage space?
Implement server storage
Storage Pools
1. Add disks (any type) to a pool
2. Create virtual disks using the pool
3. Virtual disks can be thin provisioned or
use physical space
4. Create volumes and format
• Stretch cluster
• Server-to-server
• Cluster-to-cluster
Implement Data Deduplication
Configuring
Deduplication
Practice Question
• Hyper-V Manager
• PowerShell
• RSAT tools
• Uses PowerShell
remoting to a VM where
you would not have
network access to
normally
Nested virtualization
To configure:
1. Create a virtual machine
2. While the virtual machine is in the OFF state, run the following on the Hyper-V host to enable nested virtualization
• Secure boot
• Disks - must boot from IDE disk in Gen1
• No IDE disks in Gen2
• Legacy NIC Gen1 only (allows PXE)
• BIOS vs Firmware
• Gen2 is for WS2012+ guest OS
• TPM in Gen2
• Shielded VMs possible with new hardware presented
Configure Hyper-V storage
Types of disk
Formats
VHD
• Classic format. Backward compatible
VHDX
• Larger disk size beyond 2TB (64TB)
Pass-through
• Uses physical disks from host exclusively
Types
Fixed
• Uses physical space from day 1 equal to disk size
Dynamically expanding
• Space is consumed on demand up to max disk
size
Differencing
• Disk chains allow parent-child disk relationships
for speed of deployment
Shared VHDX files
Configure Hyper-V networking
Add and remove virtual network interface cards (vNICs)
• Used in Gen1 VMs
• Limited bandwidth 100Mbps
Bandwidth Management
New-VMSwitch -Name “NATSwitch” -SwitchType NAT - VLAN ID
NATSubnetAddress 172.16.1.0/24 SR-IOV
VMQ
NIC teaming
SR-IOV
VMQ
NIC Teaming
04-Implement Windows
containers
Deploy Windows containers
What is a container?
Containers = Operating system virtualization Windows Server containers
Maximum speed and density
Container Container Container
Applications
Kernel
Docker.exe
• Docker engine that sits on Windows Server 2016
• Can be installed on WS2016 or Nano Server
• Configured with c:\ProgramData\docker\config\daemon.json
DockerD.exe
• Used to register Docker as a Windows service
• c:\Windows\System32\dockerd.exe –-register-service
• Start-Service Docker
New feature!
05-Implement high
availability
Implement high availability and disaster recovery
options in Hyper-V
Implementing High Availability (HA)
• High availability
• Continuous availability
• Business continuity
• Disaster recovery
• Each node has full connectivity and communication with all other nodes and is aware when another
node leaves or joins the cluster
• Each node is connected to a network where client computers can access the cluster and through
iSCSI connection to shared storage
• Each node is aware of the services or applications that are running locally and the resources running
on the other nodes in the cluster
Physical Storage
SSD SSD SSD • Shared SAS Disk Enclosures w/ bunch
of HDDs and SSDs
• Each SOFS node is physically connected
to each JBOD through SAS cables
Storage choice: Traditional SAN or Microsoft SDS
Shared Storage Options for Failover Clustering
• Lowest-cost option
• Utilizes shared Server Message Block (SMB) as the shared location for some failover cluster roles
Creating a Failover Cluster
Failover Clustering: In-Box Management
Some workflow PowerShell only Full provisioning and management
VM compute resiliency
• Provides resiliency to transient failures such as a temporary network
outage, or a non-responding node
• In the event of node isolation, VMs will continue to run, even if a node
falls out of cluster membership
• This is configurable based on your requirements – default set to 4
minutes.
VM storage resiliency
• Preserves tenant virtual machine session state in the event of transient
storage disruption
• VM stack is quickly and intelligently notified on failure
of the underlying block or file based storage infrastructure
• VM is quickly moved to a PausedCritical state
• VM waits for storage to recover and session state retained on recovery
Failover clustering
Node quarantine
• Unhealthy nodes are quarantined and are no longer allowed to
join the cluster
• This capability prevents unhealthy nodes from negatively affecting
other nodes and the overall cluster
• Node is quarantined if it unexpectedly leaves
the cluster three times within an hour
• Once a node is placed in quarantine, VMs
are live migrated from the cluster node,
without downtime to the VM
Guest clustering with Shared VHDX
Exam Tip: In Windows Server 2016, you can perform a virtual machine Live Migration by using server
message block (SMB) 3.0 as a transport.
Moving VMs in clustered nodes (comparison)
• VM is placed in saved state causing downtime while memory is copied
• Migrate VMs without any downtime, also Shared Nothing Live Migration is possible
• A very time consuming procedure. But much simpler to import with Server 2016
Understand Network Health Protection
• Save the virtual machine state • Failover cluster placed in pause state
• Turn off the virtual machine • If Server 2008 or Earlier > Quick Migration
• Shutdown the quest operating system • If Server 2012 or later > Live Migration
Implement Network Load Balancing (NLB)
NLB: How it works
• Allows clients to address the application using the
NLB cluster address
• Include Windows Defender and Definition Updates in the Products and Classifications Sync options
Windows Server Backup
• Used to perform full server backup or selected volumes
• Can backup/restore individual files or folders, system state, individual VM’s on Hyper-V host
• Can perform a bare-metal restore without first installing an OS
• Processor
• Memory
• Network
• Disk
Data Collector Sets
• Include performance counters, event trases,
and system configuration information
• Can collect in real-time or schedule data
collection, for example Run for 10 minutes each
hour from 8-5
• Can analyze historical data
Host-level backup
--
In-Guest back-up
© 2016 Microsoft Corporation. All rights reserved. The text in this document is available under the Creative Commons Attribution 3.0 License, additional terms may apply. All other content contained in this
document (including, without limitation, trademarks, logos, images, etc.) are not included within the Creative Commons license grant. This document does not provide you with any legal rights to any
intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes.
This document is provided "as-is." Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. Some
examples are for illustration only and are fictitious. No real association is intended or inferred. Microsoft makes no warranties, express or implied, with respect to the information provided here.