Professional Documents
Culture Documents
Chris Rhodes
IT Masterclasses
Microsoft Certified Trainer
MVP
70-740: Installation, Storage, and Compute with
Windows Server 2016
• OS Editions
• Datacenter, Standard, Essentials, Multipoint
Premium Server,
• Storage Server, Hyper-V Server
Install and configure Nano Server
• Determine appropriate usage scenarios and requirements for Nano Server
• Install Nano Server
• Implement Roles and Features on Nano Server, manage and configure Nano
Server
• Manage Nano Server remotely using Windows PowerShell
What is a Nano Server
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 vs. File-based
• Sector-based images require you to install the image, update it, re-capture
• File-based images can be updated offline
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
Tip #2 Tip #3
Manage Core and Nano Server virtualization using Hyper-V
or Azure. Use MAP Toolkit to assess
with tools like PowerShell, the needs and plan the
djoin.exe, DISM… virtualization strategy
Configure disks and volumes
• Configure sector sizes appropriate for various workloads
• Configure GUID partition table (GPT) disks
• Create VHD and VHDX files using Server Manager or Windows PowerShell Storage module cmdlets
• Mount virtual hard disks
• Determine when to use NTFS and ReFS file systems
• Configure NFS and SMB shares using Server Manager, configure SMB share and session settings using Windows
PowerShell
• Configure SMB server and SMB client configuration settings using Windows PowerShell
• Configure file and folder permissions
Determine the Partition Table Format
• MBR
• Standard partition table format since early 1980s
• Supports a maximum of four primary partitions per drive
• Can Partition a disk up to 2 TB
• GPT
• Successor of the MBR Partition table format
• Supports a maximum of 128 partitions per drive
• Can partition a disk up to 18 exabytes
VHD format
• Disks up to 2TB. Format backwardly compatible
• Compatible with Azure VMs
VHDX format
• Used in WS2012+
• Sizes > 2TB
• Can be used for shared storage for VMs
Exam Tip: Know the limitations/features of each. E.g. which tool(s) can create a storage space?
NTFS / ReFS Permissions
• Inheritance
• Deny vs. allow
• Effective access
• How ACLs work
Implement server storage
• Configure storage pools
• Implement simple, mirror, and parity storage layout options for disks or enclosures
• Expand storage pools
• Configure Tiered Storage; configure iSCSI target and initiator
• Configure iSNS
• Configure Datacenter Bridging (DCB)
• Configure Multi-Path IO (MPIO)
• Determine usage scenarios for Storage Replica
• Implement Storage Replica for server-to-server, cluster-to-cluster, and stretch cluster scenarios
Storage
Software defined 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
iSCSI Target
• Installable role service part of the file server role
• Presents storage to networked initiators
• Secured access using IP white-list and authentication
• Uses standard TCP/IP components and commodity Ethernet to access storage
• Cheaper than a fiber-channel SAN
• Low-cost software based shared storage solution
Storage Replica
Allows storage-agnostic replication between clusters or servers.
Supports SAS JBODs, Storage Spaces Direct, fibre channel SAN, shared VHDX,
iSCSI Target, or local SAS/SCSI/SATA storage.
You need to ensure that App1 can still function if the server suffers two disk failures.
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.
Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true
NUMA spanning
Dynamic memory
CPU(s)
Integration services (and when to configure them)
Smart paging and other paths
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
Allows for sharing of a VHDX file to >1 VM
Example: data disk that multiple VMs can
simultaneously access to read/write to
External
• Uses physical NIC in host to allow LAN/Internet connectivity.
• VM NIC must use IP address relevant to physical subnet
Internal
• Connectivity between VMs and host only on the same switch
Private
• Connectivity between VMs only on the same switch
To create a virtual switch with SET, use the following Windows PowerShell command:
Configure NIC settings
MAC addresses assigned from a pool
• Configurable on host, always starts 00-15-5D
You can assign static MAC
• Know when you would – NLB, Nested VMs
When to use spoofing?
• If a VM uses NLB or similar services that use a common MAC address
DHCP Guard
• Protects leakage of packets from a VM acting as a DHCP server
Router Guard
• Suppresses router advertisements from VMs configured as routers
Port Mirroring and more!
Practice Question
You plan to deploy a Hyper-V based nested virtualization solution onto a number of servers. The nested servers need access to the
Internet. You have the following virtual machines (VMs) available.
You need to identify which servers from the following table can be used for this purpose.
SR-IOV
Tip #1 VMQ NAT Switches
Know the difference between
virtual switch types
NIC Teaming
Tip #2 Tip #3
Understand the hardware Know how to implement
and advanced NIC settings NIC teaming in a Virtual
Machine
04-Implement Windows Containers
Deploy Windows containers
• Determine installation requirements and appropriate scenarios for Windows containers
• Install and configure Windows Server container host in physical or virtualized environments
• Install and configure Windows Server container host to Windows Server Core or Nano Server in a physical or
virtualized environment
• Install Docker on Windows Server and Nano Server
• Configure Docker daemon start-up options, configure Windows PowerShell for use with containers
• Install a base operating system, tag an image
• Uninstall an operating system image
• Create Windows Server containers
• Create Hyper-V containers
What is a container?
Containers = Operating system virtualization Windows Server containers
Maximum speed and density
Container Container Container
Applications
Kernel
Install-WindowsFeature Containers
New-NetNat -Name ContainerNat -InternalIPInterfaceAddressPrefix "172.16.0.0/12“
OR
New-VMSwitch -Name Virtual Switch Name -SwitchType Type
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
You need to ensure that App1 does not interfere with other applications running on the same server.
Tip #2 Tip #3
Learn Docker technologies, Understand when to deploy a
container, a VM, or a physical
and use their website to machine
learn more and keep up to
date
05-Implement High Availability
Implement high availability and disaster recovery
options in Hyper-V
• Implement Hyper-V Replica
• Implement Live Migration, implement Shared Nothing Live Migration
• Configure CredSSP or Kerberos authentication protocol for Live Migration
• Implement storage migration
Implementing High Availability (HA)
• Levels of Availability
• High availability
• Continuous availability
• Business continuity
• Disaster recovery
• Many pieces to high availability
• Configure Hyper-V replica and Hyper-V movement in clustered environment
• Fail-over clustering
• Storage spaces direct (SSD)
• Network Load Balancing (NLB)
High Availability with Hyper-V
• What options are available?
Option Details
• Host clustering Host clustering • VM’s are highly available
• Applications in guest do not need to
• Guest clustering
be cluster aware
• Network load balancing
Guest Clustering • VM are failover cluster nodes
• Live Migration • VM applications must be cluster-aware
• Move VMs between physical hosts without • Requires iSCSI or Fibre Channel
shutting down first interface
• Clustered non-clustered NLB • Virtual machines are NLB cluster
nodes
• Used for web-based applications
Implement failover clustering
• Implement Workgroup, Single, and Multi Domain clusters
• Configure quorum
• Configure cluster networking
• Restore single node or cluster configuration
• Configure cluster storage; implement Cluster-Aware Updating
• Implement Cluster Operating System Rolling Upgrade
• Configure and optimize clustered shared volumes (CSVs)
• Configure clusters without network names; implement Scale-Out File Server (SoFS)
• Determine different scenarios for the use of SoFS versus clustered File Server
• Determine usage scenarios for implementing guest clustering
• Implement a Clustered Storage Spaces solution using Shared SAS storage enclosures
• Implement Storage Replica
• Implement Cloud Witness; implement VM resiliency
• Implement shared VHDX as a storage solution for guest clusters
Implementing Failover Clustering
• What is it?
• A cluster is a group of computers or storage devices that work together as a single organized system
• A Failover Cluster is a group of independent computers that work together to increase the availability of
applications or services
• Properties of a Failover Cluster
• 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
• What’s new in Server 2016?
• Cluster Operating System Rolling Upgrade
Failover Clustering – Terminology and Types
• Terminology:
Synchronous replication
Increase resilience
Complete solution
Streamlined management
Implement Storage Spaces Direct
• Determine scenario requirements for implementing Storage
Spaces Direct
• enable Storage Spaces direct using Windows PowerShell
• implement a disaggregated Storage Spaces Direct scenario in
a cluster
• implement a hyper-converged Storage Spaces Direct scenario
in a cluster
Windows Server 2016—new architecture
Storage Spaces Direct
•
•
•
•
•
•
•
•
•
•
•
•
Windows Server 2016—new architecture
Manage failover clustering
• Configure role-specific settings, including continuously
available shares
• configure VM monitoring
• configure failover and preference settings
• implement stretch and site-aware failover clusters
• enable and configure node fairness
Failover clustering
Failover clustering
Guest clustering with Shared VHDX
Manage VM movement in clustered nodes
• Perform a live migration
• Perform a quick migration
• Perform a storage migration
• Import, export, and copy VMs
• Configure VM network health protection
• Configure drain on shutdown
Perform a Live Migration
Requires:
• The Failover Cluster Management console
• The VMM Admin Console
• WMI for Windows PowerShell Script
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)
• Quick Migration
• VM is placed in saved state causing downtime while memory is copied
• Live Migration
• Migrate VMs without any downtime, also Shared Nothing Live Migration is possible
• Storage Migration
• Migrate VM storage to the same host, another host, or an SMB share
• Exporting and Importing VM
• A very time consuming procedure. But much simpler to import with Server 2016
Understand Network Health Protection
• Available in Server 2012 R2 and Server 2016
• Cluster resource checks availability of VM resources
• Controlled individually on each virtual network adapter
• Protected Network setting is enabled for all virtual network adapters.
• 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)
• Install NLB nodes
• configure NLB prerequisites
• configure affinity
• configure port rules
• configure cluster operation mode
• upgrade an NLB cluster
Know what and how NLB works
What is it?
• Allows clients to address the application
using the NLB cluster address.
• PowerShell
Get-WsusProduct Gets the list of all products currently available on
WSUS by category.
Get-WsusServer Gets the value of the WSUS update server object.
• Cmdlets included with Server 2016 Get-WsusUpdate Gets the WSUS update object with details about the
update.
• Include commands for managing the server Invoke-WsusServerCleanup Performs the process of cleanup on a specified WSUS
server.
Remove-WsusDynamicCategory Removes a dynamic category from a WSUS server.
Set-WsusClassification Sets whether the classifications of updates that
WSUS synchronizes are enabled or disabled.
Set-WsusDynamicCategory Sets the synchronization status of a dynamic
category.
Set-WsusProduct Sets whether the product representing the category
of updates that needs to be synchronized is enabled
or disabled.
Set-WsusServerSynchronization Sets whether the WSUS server synchronizes from
Microsoft Update or from an upstream server, and if
it uses the upstream server’s properties.
WSUS Patch Management
• What are WSUS groups?
• Used to download updates to specific sets of computers
• All computers are members of the “All Computers” and “Unassigned Computers” groups by default
• Create customer computer groups for pilot computers, or specific departments, etc.
• In Server 2016, computers may be members of multiple groups and nested groups
• WSUS in mixed environments
• Mixed WSUS versions in use
• Features on upstream server that are not available on downstream server will not replicate (nested groups
or multiple group memberships, for example)
• Integrating with Windows Defender
• Include Windows Defender and Definition Updates in the Products and Classifications Sync options
Windows Server Backup
• What is it?
• 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
• Backup Scenarios
• Hyper-V hosts and guests
• Install on host to perform host-level backup
• Install on guest to perform an in-guest backup
• Active Directory
• Cannot restore from a backup that is older than 180 days. Consider this when creating backup schedule
• Files servers
• Web servers
•
Monitor Server Installations
Monitor workloads using Performance Monitor
• Configure Data Collector Sets
• Determine appropriate CPU, memory, disk, and networking
counters for storage and compute workloads
• Configure alerts
• Monitor workloads using Resource Monitor
Performance Monitor
• What is it?
• Used to collect, analyze, and interpret
performance-related data
• Create baseline data during multiple use-cases
• Helps with trend analysis, capacity planning,
understanding bottlenecks and slow-downs
• Key hardware components
• Processor
• Memory
• Network
• Disk
Data Collector Sets
• What is it?
• 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
• How to create
• Create from template
• Create from existing performance monitor data
• Manually add data collectors
• What’s an alert?
• Configure an action to occur if a DSC hits the min
or max limits
Resource Monitor
• What is it?
• Provides real-time information on server’s
performance
• Similar to Task Manager, but shows historical data
as well
• How to open
• From Task Manager
• From Start menu
• How to use
• Expand each element for detailed information on
how each process is using server resources
Practice Question
You plan to deploy a new web site to your web server tomorrow.
You plan to monitor the amount of requests to the web site during the first hour of it going into production.
You need to ensure that you can discuss the results in a meeting at the end of the day.
Tip #2 Tip #3
Windows Server back-up There are many tools to use
can back-up hyper-v hosts for monitoring, from Perf
and/or guests Mon, to Resource, Mon, to
Task Manager
70-740: Installation, Storage, and Compute with
Windows Server 2016