Link: Https://pan.baidu.com/s/1bZ-aqDpx1tE-2WTVD6yMjA Password: yvz3
Introduction to Hyper-V Virtualization management practices in Windows Server :
As a rising star in virtualization, Microsoft's latest release of Windows Server (Hyper-V R3) is more advantageous in enterprise applications, providing more solutions in terms of high availability (virtual machine replication, SMB-based shared virtual machine deployment, hyper-V clustering, Virtual machine Live migration, etc.), more in line with the actual application environment (multi-NIC aggregation, HBA card support, etc.), while upgrading the more powerful System Center Virtual Machines Manager (SCVMM) platform-level management tools, Enables administrators to manage Hyper-V environments more easily. Windows Server 2012 Hyper-V Virtualization Management Practices details the deployment, management, application, and problems encountered in real-world application of Windows Server virtualization.
"Windows Server, Hyper-V Virtualization Management practice" easy to understand, simple, easy to operate, pay attention to the ability of the reader to cultivate and improve the technical level. The Windows Server, Hyper-V virtualization Management practice applies To network administrators, computer enthusiasts interested in Microsoft virtualization technology, and can be used as a textbook or post-school tutoring material for tertiary computer majors.
Windows Server-Hyper-V Virtualization Management Practice Directory:
1th. Hyper-V Server selection 1
1.1 Hyper-V Architecture 1
1.1.1 Hyper-V Host 2
1.1.2 Virtual Machine 2
1.1.3 Root Partitions 2
1.1.4 Sub-Partition 2
1.1.5 VMBus 2
1.1.6 partition and sub-partition relationship 2
1.2 Changes before and after Hyper-V installation 2
1.2.1 Hyper-V pre-installation 2
1.2.2 Hyper-V post-installation 3
1.2.3 Hyper-V Host deployment mode 3
1.3 Physical Server Selection recommendations 4
1.3.1 Processor Selection 4
1.3.2 Memory Selection 4
1.3.3 NIC Selection 5
1.3.4 Storage Device Selection 5
2nd. Enabling Hyper-V role 7
2.1 Installing the Hyper-V role and administrative Tools 7
.2.1.1 Computer Configuration 7
2.1.2 Wizard deploys Hyper-V role 8
2.1.3 Script Deployment Hyper-V role 13
2.2 Uninstalling the Hyper-V role and Administrative Tools 15
2.2.1 The Remove Roles and Features Wizard removes the Hyper-V role 16
2.2.2 PowerShell script uninstalling Hyper-V role 19
2.3 Status after the Hyper-V role is installed 20
2.3.1 Complete installation and PowerShell installation differences 20
2.3.2 "intranet" network card change 21
2.3.3 New Virtual network card after installing the Hyper-V role 23
2.3.4 Desktop Change 25
2.3.5 instrument Panel Changes 26
2.4 Hyper-V Tile 27
2.4.1 "Servers" Panel 28
2.4.2 "Events" Panel 31
2.4.3 "Services" Panel 33
2.4.4 "Best Practices Analyzer" Panel 34
2.4.5 "Performance" Panel 35
2.4.6 the roles and features panel 36
Chapter 3rd managing Hyper-V hosts 38
3.1 Server Connections 38
3.1.1 "Hyper-V Manager" default location 38
3.1.2 Local Area Connection 40
3.1.3 Remote Connection Host 40
3.2 Hyper-v host daily Administration 41
3.2.1 Hyper-V Host Management menu 42
3.2.2 Importing virtual Machines 42
3.2.3 Hyper-V settings 45
3.2.4 Stop Service 51
3.2.5 Removing a server 52
3.3 Managing Hyper-V hosts remotely 52
3.3.1 Remote Desktop Management Prerequisites 52
3.3.2 Hyper-V host enables the Remote Desktop feature 53
3.3.3 Viewing "Remote Desktop" version 54
3.3.4 Remote Access 55
4th. Hyper-V Virtual machine processor 61
4.1 Virtual Machine Processor 61
4.1.1 Performance and use of the processor 61
4.1.2 Number of CPUs supported by virtual machines 61
4.1.3 Viewing the number of CPUs 62
4.2 Hyper-V support Environment 63
4.2.1 CPU Hardware Requirements 63
4.2.2 Support for Hyper-V feature detection Tool 63
4.2.3 FAQ 66
4.3 Planning for virtual Machine processors 66
4.3.1 CPU resources assigned to a virtual machine 66
4.3.2 Maximum CPU resources used by virtual machines 68
4.3.3 competing for CPU resource Priority 69
5th. Hyper-V virtual machine Memory 71
5.1 Static Memory 71
5.1.1 The physical computer's memory 71
5.1.2 memory state before the virtual machine runs 72
5.1.3 Virtual machine "Static" Memory usage status 73
5.2 Dynamic Memory 75
5.2.1 Upgrade Integration Services Components 75
5.2.2 Enabling dynamic Memory 75
5.2.3 Dynamic Memory Monitoring 76
5.3 Managing dynamic Memory 78
5.3.1 Memory Overload 78
5.3.2 Boot Memory 79
5.3.3 Max Memory 79
5.3.4 Dynamic Memory Use time 79
5.3.5 Memory Buffers 79
5.3.6 Memory Weight 80
5.3.7 Memory Calculation 81
6th. Hyper-V Virtual Machine network adapter 82
6.1 Network adapter role Transitions 82
How the 6.1.1 Virtual Switch generates 82
6.1.2 FAQ 85
6.2 Managing Virtual Switches 86
6.2.1 Virtual Switch Type 86
6.2.2 Creating a Virtual Switch 86
6.2.3 Deleting a Virtual Switch 89
6.3 Implementing VLAN Functions 89
6.3.1 Legacy VLAN Features 89
6.3.2 Hyper-V VLAN feature 92
6.3.3 Deploying VLANs 93
6.3.4 Network Connectivity Test 95
6.4 Bandwidth Limit 97
6.4.1 Network card Application Mode 98
6.4.2 Bandwidth Throttling Settings 98
6.4.3 Bandwidth Test 99
6.5 PowerShell Management Virtual Switch 100
6.5.1 Common PowerShell commands for virtual switches 100
6.5.2 Network Adapter 101
6.5.3 common operations for virtual machine Switches 101
7th. Hyper-V virtual machine hard disk 104
7.1 Virtual hard Disk planning 104
7.1.1 factors that affect hard disk capacity 104
7.1.2 HDD Performance 105
7.1.3 Hyper-V virtual hard disk file format 112
7.1.4 virtual hard Disk type 114
7.1.5 supported hard Drive devices 117
7.2 Creating a virtual hard disk 118
Creating a virtual hard disk in 7.2.1 graphics mode 118
7.2.2 PowerShell Creating a virtual hard disk 125
7.3 Virtual hard Disk Management 127
7.3.1 expanding a fixed-size virtual hard disk 127
7.3.2 compressing a virtual hard disk 131
7.3.3 merging virtual hard disks 132
7.3.4 virtual hard disk type conversion 137
7.3.5 expansion of operating system configuration 139
7.4 Direct-attached physical drive 142
7.4.1 Additional physical hard disk considerations 142
7.4.2 Physical Disk Status 142
7.4.3 Disk Offline 143
7.4.4 virtual machine Attach physical hard disk 144
7.4.5 virtual machine Disk Connection Verification 146
7.5 Connecting iSCSI Storage 147
7.5.1 iSCSI Connection Architecture 147
7.5.2 network parameters and connectivity test 147
7.5.3 configuring iSCSI Services for Virtual machines 148
7.5.4 Virtual Machine data Access validation 153
8th. Hyper-V Manager 157
8.1 Deployment of Virtual machines 157
8.1.1 Creating a virtual machine 157
8.1.2 Deleting a virtual machine 161
8.1.3 Installing the virtual machine operating system 162
8.2 Virtual machine Global Settings parameter 165
8.2.1 Connecting virtual machines 165
8.2.2 Installing Integration Components 168
8.2.3 Setting the virtual machine name 169
8.2.4 Integration Services Feature settings 169
8.2.5 setting Snapshot file location 170
8.2.6 Setting the auto-start action 171
8.2.7 set Automatic stop Operation 172
8.2.8 Setting the Smart paging file location 173
8.3 Common operations for virtual machines 173
8.3.1 Virtual Machine Panel 173
8.3.2 Management Function Location 174
8.3.3 forcibly closed 175
8.3.4 off 176
8.3.5 Save 176
8.3.6 Pause 177
8.3.7 Reset 177
8.3.8 Renaming 178
8.3.9 Setting 178
9th Virtual Machine Snapshot 188
9.1 Snapshot Overview 188
9.1.1 Snapshot Use occasions 188
9.1.2 Snapshot creation Time 188
9.1.3 data to be processed by snapshots 189
9.1.4 how snapshots are stored 190
How to apply a 9.1.5 snapshot 190
9.1.6 Snapshot Transfer: Importing and exporting virtual machines 190
9.1.7 Snapshot Application Recommendations 190
9.2 Snapshot Management 191
9.2.1 Virtual machine configuration file 191
9.2.2 Creating a Snapshot 192
9.2.3 View Snapshot Structure 195
9.2.4 Restoring a Snapshot 199
9.2.5 Deleting a Snapshot 201
9.2.6 Import/Export Snapshot 203
9.3 Issues found in the snapshot application 207
9.3.1 cannot restore the specified file 207
9.3.2 consuming excessive disk space 207
9.3.3 Increase System Load 207
9.3.4 Deleting a snapshot 208
9.3.5 Snapshots cannot replace backup 208
9.3.6 The space is not released immediately after the snapshot is deleted 208
9.3.7 How to store snapshots 208
10th. Hyper-V authorized user management 209
10.1 Granting User administrator rights 209
10.1.1 non-"hyper-V Administrators" and "Administrators" group users use Hyper-V Manager 209
10.1.2 using the "Administrators" group to grant administrative rights 209
10.1.3 granting administrative rights using the Hyper-V Administrators group 211
10.2 Granting User Management Roles 213
10.2.1 Start Authorization Manager 213
10.2.2 Monitoring virtual Machine status 216
11th. SMB Shared Virtual Machine 222
11.1 SMB Sharing Application Architecture 222
11.1.1 SMB Sharing Benefits 222
11.1.2 Deployment Conditions 222
11.1.3 SMB Application Deployment Architecture 223
11.1.4 Deployment Process 223
11.2 Delegation of Authority 223
11.2.1 Permissions Setting Relationship 224
11.2.2 Delegating Hyper-V host permissions 224
11.3 Deployment of "SMB Application Sharing" 226
11.3.1 installing "File and storage Services" 227
11.3.2 Creating a shared folder 228
11.4 Deploying virtual machines based on "SMB Application Sharing" 235
11.4.1 creating a virtual machine 235
11.4.2 verifying the location of the virtual hard disk files 236
11.5 Virtual Machine Live Migration 237
11.5.1 Configuring "Live Migration" 237
11.5.2 virtual Machine online real-time migration 239
11.6 issues that may occur in the application 242
11.6.1 0x8009030e Fault 242
11.6.2 virtual machine Hardware compatibility 242
11.6.3 Unable to get disk information 243
11.6.4 0x80070005 Fault 243
11.6.5 There is no virtual network switch 243
12th. No shared environment live migration virtual machine 245
12.1 No shared application Architecture 245
12.1.1 Live migration process without shared environment 245
12.1.2 No shared environment real-time migration benefits 245
12.1.3 Migration Prerequisites 246
12.1.4 No shared environment Migration architecture 246
12.2 Live Migration 247
12.2.1 Migration Environment 247
12.2.2 Configuring "Live Migration" 248
12.2.3 Delegating computer permissions to participate in migration 248
12.2.4 Live Migration Virtual machine 249
13th. Hyper-V virtual machine replication 254
13.1 Copying the application schema 254
13.1.1 Cluster Application Architecture 254
13.1.2 Replication Application Architecture 255
13.2 deployment of Hyper-V host replication 255
13.2.1 Case Environment 255
13.2. Replication status of 2-node server (HY01) virtual machines 255
13.2.3 Initial replication 255
13.2.4 node state after initial replication 262
13.2.5 Viewing replication status 263
13.3 Migration Test 264
13.3.1 Online Replication 264
13.3.2 offline replication 266
13.3.3 Precautions 268
13.3.4 monitoring replication Run status 268
13.4 Common faults 269
13.4.1 Fault 1: Network failure between node servers 269
13.4.2 Failure 2: Primary server hardware failure downtime 271
14th. Deploying Windows Failover Clustering 273
14.1 Cluster Basics 273
14.1.1 Basic Applications 273
14.1.2 Cluster Application 273
14.1.3 Cluster Benefits 274
14.1.4 Cluster Disadvantage 275
14.1.5 Network Type 275
14.2 Storage Server Settings 275
14.2.1 deploying iSCSI Server Considerations 275
14.2.2 installing iSCSI features 275
14.2.3 Creating an iSCSI virtual Disk 279
14.2.4 Data Access 284
14.3 Hyper-V cluster planning and prerequisites 286
14.3.1 Deployment Architecture 286
14.3.2 Cluster network Planning 286
14.3.3 Cluster Management User 288
14.3.4 cluster-attached iSCSI storage devices 289
14.3.5-node server connection to iSCSI storage device 289
14.3.6-node server connectivity Test 294
14.4 Node Server installs the Failover Clustering feature 294
14.5 deployment of Windows Failover cluster 295
14.5.1 verifying that the node server meets the deployment cluster condition 295
14.5.2 Creating a Cluster 299
14.5.3 destroying a cluster 308
14.5.4 Deploying cluster Shared Volumes (CSV) 309
14.5.5 Cluster Common management 311
15th. Hyper-V Virtual cluster set application 323
15.1 Cluster Migration Strategy 323
15.1.1 Default Failover Policy 323
15.1.2 Virtual Machine Priority 323
15.1.3 Preferred Owner 324
15.1.4 Auto Start 324
15.2 virtual machines in a cluster 325
15.2.1 virtual machines in a cluster 325
15.2. Virtual machines already deployed in 2-node server 325
15.2.3 New Virtual Machine 327
15.2.4 creating a new virtual hard disk 332
15.3 Managing virtual machines in a cluster 335
15.3.1 Management Menu 335
15.3.2 Connecting virtual machines 336
15.3.3 Setting 337
15.3.4 Save 337
15.3.5 function 338
15.3.6 function 338
15.3.7 Boot 338
15.3.8 Management 338
15.4 Virtual Machine Migration 338
15.4.1 automatic migration of virtual machines 338
15.4.2 Virtual Machine Live Migration 339
15.4.3 Virtual Machine Rapid Migration 342
15.4.4 Mobile Virtual Machine storage 346
15.4.5 migrating a cluster shared volume 348
The 16th chapter builds SCVMM management Platform 351
16.1 noun explanations 351
16.1.1 SCVMM Architecture 351
16.1.2 need to know the Special vocabulary 352
16.2 Deployment of SCVMM 352
16.2.1 Pre-condition 353
16.2.2 VMM Administrator User 353
16.2.3 installing the Microsoft. NET Framework 3.5 SP1 components 353
16.2.4 Installing ADK 8.0 Windows Deployment Toolkit 353
16.2.5 Installing SQL Server 2012 Databases 353
16.2.6 Installing SCVMM 354
16.3 SCVMM Management Console 361
16.3.1 SCVMM Management Interface 361
16.3.2 SCVMM Navigation Pane 361
16.4 Adding management target host 364
16.4.1 New host Group 364
16.4.2 Deleting a host group 365
16.4.3 Adding a host 365
16.4.4 View Network 369
16.5 managing "Libraries" 372
16.5.1 "Library" management Interface 372
16.5.2 Library Server 372
16.5.3 configuration File 381
16.5.4 Template 386
17th SCVMM Management Virtual Machine 397
17.1 deployment of virtual machines 397
17.1.1 creating a new virtual machine 397
17.1.2 VM template Virtual Machine 403
17.1.3 virtual hard disk create virtual machine 404
17.1.4 Cloning virtual machines 404
17.2 Virtual Machine daily management 409
17.2.1 General Information 409
17.2.2 View all virtual machines 410
17.2.3 starting a virtual machine 411
17.2.4 stopping a virtual machine 411
17.2.5 pausing a virtual machine 412
17.2.6 Save Status 412
17.2.7 Reset 413
17.2.8 Connect or view 413
17.2.9 Check Point 414
17.2.10 Installing Virtual Guest Services 415
17.2.11 Deleting a virtual machine 415
18th. SCVMM management has a cluster 417
18.1 SCVMM Add Hyper-V cluster 417
18.2 SCVMM Management Cluster 421
18.2.1 View Cluster Management features 422
18.2.2 Viewing cluster information 422
18.2.3 adding a cluster node server 425
18.2.4 removing a cluster node server 427
18.2.5 Removing a cluster 429
18.3 SCVMM for cluster high availability 429
18.3.1 Virtual Machine Migration 429
18.3.2 Migrating Storage 433
18.3.3 Storage to Library 435
19th SCVMM Deployment Enterprise "private Cloud" 437
19.1 Deployment/removal of "private cloud" 437
19.1.1 creating a "private cloud" 437
19.1.2 Deleting Clouds 443
19.2 managing "Private cloud" 445
19.2.1 View "cloud" management features 445
19.2.2 view "Cloud" 445
19.2.3 managing virtual machines in the cloud 449
19.2.4 "Private Cloud" configuration Administrator 456
Chapter 20th Physical Computer Migration 464
20.1 Physical computer Migration 464
20.1.1 SCVMM Migrating physical computers 464
20.1.2 VMware Converter 472
20.1.3 DISK2VHD 479
20.2 Virtual machine Format conversion 481
20.2.1 Starwind Converter Tool 481
20.2.2 VMDK to VHD converter tool 483
20.3 problems that are encountered after you migrate a physical computer 484
20.3.1 managing a packaged virtual machine 484
20.3.2 reactivation 484
20.3.3 uninstalling a hidden virtual network card 485
21st. Virtual machine backup and recovery 488
21.1-bed Host level 488
21.1.1 Cold backup and recovery 488
21.1.2 Hot backup and recovery 488
21.1.3 Preparation WSB 489
21.1.4 backing up a virtual machine 490
21.1.5 recovering a virtual machine 494
21.2 Virtual Machine Plane 498
21.2.1 DPM Overview Introduction 499
21.2.2 Mounting dpm2012 499
21.2.3 Configuring DPM 506
21.2.4 backing up a virtual machine 512
21.2.5 recovering a virtual machine 520
21.2.6 recovering virtual hard disk files for VMS 523
22nd. Problems encountered in Hyper-V virtual Environments 528
22.1 How to use a USB device 528
22.1.1 "USB over Network" Overview 528
22.1.2 installing the "USB over network" server 528
22.1.3 server-side settings 529
22.1.4 installing the "USB over network" client 531
22.2 How to deploy anti-virus software 534
22.2.1 installing anti-virus software before 534
22.2.2 physical computer anti-virus software occupancy resource Test 534
22.2.3 Virtual machine anti-virus software occupancy resource test 535
22.2.4 Test Conclusion 538
22.2.5 host the issues needing attention in deploying antivirus software 539
:
? Windows Server-Hyper-V Virtualization Management practices