Contents
Acknowledgements iv
From Dave iv
About the Authors v
Dave Kawula - MVP v
Allan Rafuse – MVP vi
Cristal Kawula – MVP vii
Cary Sun – CCIE #4531 (Cisco Champion) viii
Contents x
Introduction 16
North American MVPDays Community Roadshow 16
Sample Files 17
Additional Resources 17
Chapter 1 19
Pre-Requisites 19
Lab Server Names 19
Building the Lab with BigDemo_VMM.PS1 21
Enable Routing in the Lab 26
Software Requirements 40
Virtual Machine Manager Accounts Required for Build 42
Add a 2 VHDx drives to the VMM Server for the SQL Install 46
Install Windows ADK 1709 55
SQL Command Line Utilities 58
Chapter 2 59
Install SQL Server 2016 SP1 59
SQL Server Service Accounts 59
Configure SQL Firewall Port Exceptions 60
Install Default Instance of SQL 2016 SP1 64
Download and Install SQL Server Managemetn Studio (SSMS) 73
Configure SQL Server Memory Limits 75
Chapter 3 79
Install System Center Virtual Machine Manager 79
Download VMM 2016 Media and Update Rollup 4 79
Install System Center Virtual Machine Manager (SCVMM) 2016 81
Install update Rollup 4 for System Center Virtual Machine Manager (SCVMM) 2016 88
Chapter 4 90
Base Configuration of VMM 90
Create a Run As Account 90
Configure Network Settings 92
Create a New Host Group 94
Add Hyper-V Hosts 96
Chapter 5 102
Configuring Host Networking for S2D with VMM 102
Sample – Network Configuration from Mellanox 102
Logical Network Configuration 104
Servers and Network Configuration 104
DHCP Service Configuration 104
Sample Top of Rack Switch Configuration: 105
System Deployment 114
Install and Configure DataCenter Bridging – Optional 114
Creating Logical Networks (MGMT, Cluster, LiveMigration, and Storage) 115
Review the S2D Node Networking configuration 115
Create MGMT Logical Network 116
Create MGMT IP Pool 118
Create Cluster Logical Network 122
Create Cluster IP Pool 124
Create Live Migration Logical Network 128
Create Live Migration IP Pool 130
Create Storage Logical Network 134
Create Storage IP Pool 136
Create CorpNet Logical Network 140
Create CorpNet IP Pool 142
Validate the Logical Networks 145
Create Logical Switch for the Storage Network 146
Create Logical Switch for the CorpNet Network 162
Deploy the Storage Logical Switch to S2D1-4 168
Deploy the CorpNet Logical Switch to S2D1-4 171
Chapter 6 174
Configure Failover Cluster and S2D with VMM 174
Build the Cluster and Storage Spaces Direct (S2D) 174
Chapter 7 178
Configure Storage Integration of S2D with VMM 178
Review Storage Providers, Arrays, and Classifications 178
Create Cluster Shared Volumes 182
Chapter 8 186
VM Templates 186
Configure S2D Nodes with 8 GB RAM 186
Building a Gold VHDx 188
Creating the VM Template 200
Deploying a VM Template 204
Chapter 9 210
Host Patch Management with VMM 210
Install the WSUS Feature on VMM01 210
WSUS Configuration Wizard 216
Add WSUS Server to VMM 224
Verify that WSUS has been added Successfully 225
Assign Computers to Built-In Update Baseline 226
Scan S2D Hyper-V Hosts for Compliance 230
Remediate Hosts 234
Chapter 10 236
Host Patching of Storage Spaces Direct (S2D) with VMM 236
Patching Storage Spaces Direct nodes with VMM 236
Check the Health of Your Virtual Disks before going into Maintenance Mode 236
Scan S2D Hyper-V Hosts for Compliance 238
Put the Node into Maintenance Mode 240
Remediate Hosts 243
Turn off Maintenance Mode on the Host and verify Storage Spaces Direct Health 245
Chapter 11 248
Operational Maintenance of Storage Spaces Direct 248
Restarting Storage Spaces Direct nodes with VMM 248
Check the Health of Your Virtual Disks before going into Maintenance Mode 249
Put the Node into Maintenance Mode and Restart / Shutdown 250
Chapter 12 254
Bonus Community Content - Storage Spaces Direct (S2D) Scripts 254
Using PowerShell to Document Storage Spaces Direct 254
Using the Community PowerShell S2D-Audit.PS1 254
Using PowerShell to setup Email Alerting for Storage Spaces Direct 260
Using the Community PowerShell Monitor-S2D.PS1 260
Monitor S2D with Storage Spaces Direct Monitor GUI 263
Using the Community PowerShell Monitor-S2D.PS1 263
Monitor S2D with Storage Spaces StarWind Manager (Preview) 266
Using StarWind Manager (Preview) 266
Appendix 278
BigDemo_VMM.PS1 278
S2D-Audit.PS1 296
Contact Info 297
Join us at MVPDays and meet great MVP’s like this in person 297
Live Presentations 297
Video Training 297
Live Instructor-led Classes 298
Consulting Services 298
Twitter 299
