0% found this document useful (0 votes)
170 views

Jason Hershey-MOC Course 20740 - Installation, Storage, and Compute With Windows Server 2016-2016 - Parte10 PDF

1. The document provides step-by-step instructions for configuring iSCSI storage on Windows Server 2016. It describes how to create iSCSI virtual disks on a server, configure it as an iSCSI target, enable multipathing on a client system, connect to the iSCSI target, and initialize the iSCSI disks for use. 2. Key tasks covered include creating iSCSI virtual disks, configuring an iSCSI target, enabling multipathing I/O on a client, connecting the client to the iSCSI target using multipathing, and bringing the iSCSI disks online and initializing them to store data. 3. Detailed commands and configuration options are listed to completely implement the iSCSI storage configuration between the

Uploaded by

jvd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
170 views

Jason Hershey-MOC Course 20740 - Installation, Storage, and Compute With Windows Server 2016-2016 - Parte10 PDF

1. The document provides step-by-step instructions for configuring iSCSI storage on Windows Server 2016. It describes how to create iSCSI virtual disks on a server, configure it as an iSCSI target, enable multipathing on a client system, connect to the iSCSI target, and initialize the iSCSI disks for use. 2. Key tasks covered include creating iSCSI virtual disks, configuring an iSCSI target, enabling multipathing I/O on a client, connecting the client to the iSCSI target using multipathing, and bringing the iSCSI disks online and initializing them to store data. 3. Detailed commands and configuration options are listed to completely implement the iSCSI storage configuration between the

Uploaded by

jvd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 60

MCT USE ONLY.

STUDENT USE PROHIBITED


Installation, Storage, and Compute with Windows Server 2016 L3-15

 Task 3: Create and configure an iSCSI target


1. On LON-DC1, in Server Manager, in the navigation pane, click File and Storage Services.

2. In the File and Storage Services pane, click iSCSI.

3. In the iSCSI VIRTUAL DISKS pane, click TASKS, and then click New iSCSI Virtual Disk.

4. In the New iSCSI Virtual Disk Wizard, on the Select iSCSI virtual disk location page, under
Storage location, click volume C, and then click Next.
5. On the Specify iSCSI virtual disk name page, in the Name text box, type iSCSIDisk1, and then click
Next.

6. On the Specify iSCSI virtual disk size page, in the Size text box, type 5, ensure that GB is selected,
and then click Next.

7. On the Assign iSCSI target page, ensure that the New iSCSI target option is selected, and then click
Next.
8. On the Specify target name page, in the Name box, type LON-DC1, and then click Next.

9. On the Specify access servers page, click Add.

10. In the Select a method to identify the initiator dialog box, click Enter a value for the selected
type, in the Type list, click IP Address, in the Value text box, type 10.100.100.3, and then click OK.

11. On the Specify access servers page, click Add.

12. In the Select a method to identify the initiator dialog box, click Enter a value for the selected
type, in the Type list, click IP Address, in the Value text box, type 10.200.100.3, and then click OK.

13. On the Specify access servers page, click Next.

14. On the Enable Authentication page, click Next.

15. On the Confirm selections page, click Create.

16. On the View results page, wait until the virtual disk is created, and then click Close.

17. In the iSCSI VIRTUAL DISKS pane, click TASKS, and then click New iSCSI Virtual Disk.
18. In the New iSCSI Virtual Disk Wizard, on the Select iSCSI virtual disk location page, under
Storage location, click volume C, and then click Next.

19. On the Specify iSCSI virtual disk name page, in the Name box, type iSCSIDisk2, and then click
Next.

20. On the Specify iSCSI virtual disk size page, in the Size box, type 5, ensure that GB is selected, and
then click Next.

21. On the Assign iSCSI target page, click lon-dc1, and then click Next.

22. On the Confirm selection page, click Create.

23. On the View results page, wait until the virtual disk is created, and then click Close.

 Task 4: Configure MPIO


1. On LON-SVR1, click Start, and then click Server Manager.

2. In Server Manager, click the Manage menu and click Add roles and features.

3. In the Add Roles and Features Wizard, on the Before you begin page, click Next.
4. On the Select installation type page, click Next.
MCT USE ONLY. STUDENT USE PROHIBITED
L3-16 Implementing enterprise storage solutions

5. On the Select destination server page, ensure that Select a server from the server pool is
selected, and then click Next.

6. On the Select server roles page, click Next.

7. On the Select features page, click Multipath I/O, and then click Next.

8. On the Confirm installation selections page, click Install.


9. When installation is complete, click Close.

10. Restart LON-SVR1, and then sign in as Adatum\Administrator with the password Pa$$w0rd.

11. Click Start, and then click Server Manager.

12. In Server Manager, on the menu bar, click Tools, and then click iSCSI Initiator.

13. In the Microsoft iSCSI dialog box, click Yes.

14. In the iSCSI Initiator Properties dialog box, on the Targets tab, in the Target box, type
10.100.100.2, and then click Quick Connect.

15. In the Quick Connect box, click Done.

16. In the iSCSI Initiator Properties dialog box, click OK to close the dialog box.

17. In Server Manager, on the menu bar, click Tools, and then click MPIO.

18. In the MPIO Properties dialog box, on the Discover Multi-Paths tab, select Add support for iSCSI
devices, and then click Add.
19. When you are prompted to restart the computer, click Yes.

20. After the computer restarts, sign in to LON-SVR1 as Adatum\Administrator with the password
Pa$$w0rd.
21. Click Start, and then click Server Manager.

22. In Server Manager, on the menu bar, click Tools, and then click MPIO.

23. In the MPIO Properties dialog box, on the MPIO Devices tab, notice that Device Hardware Id
MSFT2005iSCSIBusType_0x9 has been added to the list.

24. In the MPIO Properties dialog box, click OK to close the dialog box.

 Task 5: Connect to the iSCSI target


1. On LON-SVR1, in Server Manager, on the menu bar, click Tools, and then click iSCSI Initiator.

2. In the iSCSI Initiator Properties dialog box, on the Targets tab, click Disconnect.

3. In the Disconnect From All Sessions dialog box, click Yes.

4. In the iSCSI Initiator Properties dialog box, on the Targets tab, click Connect.

5. In the Connect To Target dialog box, select the Enable multi-path check box, verify that the Add
this connection to the list of Favorite Targets check box is selected, and then click Advanced.

6. In the Advanced Settings dialog box, on the General tab, change the Local adapter from Default
to Microsoft iSCSI Initiator.

7. In the Initiator IP list, select 10.100.100.3.

8. In the Target portal IP list, click 10.100.100.2 / 3260.

9. In the Advanced Settings dialog box, click OK.

10. In the Connect To Target dialog box, click OK.


MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage, and Compute with Windows Server 2016 L3-17

11. In the iSCSI Initiator Properties dialog box, on the Targets tab, click Connect.

12. In the Connect To Target dialog box, click Enable multi-path, verify that the Add this connection
to the list of Favorite Targets check box is selected, and then click Advanced.

13. In the Advanced Settings dialog box, on the General tab, change the Local adapter from Default
to Microsoft iSCSI Initiator.

14. In the Initiator IP list, select 10.200.100.3.

15. In the Target portal IP list, select 10.200.100.2 / 3260.

16. In the Advanced Settings dialog box, click OK.

17. In the Connect To Target dialog box, click OK.

18. In the iSCSI Initiator Properties dialog box, on the Volumes and Devices tab, click Auto
Configure.

19. In the iSCSI Initiator Properties dialog box, on the Targets tab, in the Targets list, select iqn.1991-
05.com.microsoft:lon-dc1-lon-dc1-target, and then click Devices.

20. In the Devices dialog box, click MPIO.

21. Verify that, in Load balance policy, Round Robin is selected.

22. Under This device has the following paths, notice that two paths are listed. Select the first path,
and then click Details.

23. Note the IP address of the source and target portals, and then click OK.

24. Select the second path, and then click Details.

25. Verify that this path is using another network, and then click OK.

26. In the Device Details dialog box, click OK.

27. In the Devices dialog box, click OK.

28. In the iSCSI Initiator Properties dialog box, click OK.

 Task 6: Initialize the iSCSI disks


1. On LON-SVR1, in Server Manager, click File and Storage Services, and then in the left pane, click
Disks.

2. In the right pane, right-click an offline disk with a bus type of iSCSI, and then click Bring Online.
3. In the Bring Disk Online dialog box, click Yes to bring the disk online.

4. Right-click the iSCSI disk that you brought online, and then click New Volume.

5. In the New Volume Wizard, on the Before you begin page, click Next.

6. On the Select the server and disk page, ensure that your iSCSI disk is selected, and then click Next.

7. In the Offline or Uninitialized Disk dialog box, click OK to initialize the disk as a GPT disk.

8. On the Specify the size of the volume page, click Next to accept the default of using the entire disk
size for the volume.

9. On the Assign to a drive letter or folder page, in the Drive letter list, select J, and then click Next.

10. On the Select file system settings page, in the Volume label text box, type SMBShares, and then
click Next.

11. On the Confirm selections page, to finish creating the volume, click Create.
MCT USE ONLY. STUDENT USE PROHIBITED
L3-18 Implementing enterprise storage solutions

12. After the volume is created, on the Completion page, click Close.

13. In Server Manager, in the right pane, right-click the remaining offline disk with a bus type of iSCSI,
and then click Bring Online.

14. In the Bring Disk Online dialog box, click Yes to bring the disk online.

15. Right-click the iSCSI disk that you brought online, and then click New Volume.
16. In the New Volume Wizard, on the Before you begin page, click Next.

17. On the Select the server and disk page, ensure that your iSCSI disk is selected, and then click Next.

18. In the Offline or Uninitialized Disk dialog box, click OK to initialize the disk as a GPT disk.

19. On the Specify the size of the volume page, click Next to accept the default of using the entire disk
size for the volume.

20. On the Assign to a drive letter or folder page, in the Drive letter list, select K, and then click Next.
21. On the Select file system settings page, in the File system box, select NTFS.

22. In the Volume label text box, type NFSShares, and then click Next.

23. On the Confirm selections page, to finish creating the volume, click Create.

24. After the volume is created, on the Completion page, click Close.

25. On the taskbar, click File Explorer, browse to This PC, and then verify that the SMBShares and
NFSShares volumes are displayed.

Results: After completing this exercise, you should have successfully configured an iSCSI target that uses
MPIO for redundancy.

Exercise 3: Configuring and managing the share infrastructure


 Task 1: Create an SMB share on iSCSI storage
1. On LON-SVR1, in Server Manager, in the navigation pane, click File and Storage Services, and then
click Shares.

2. In the Shares area, click TASKS, and then click New Share.

3. In the New Share Wizard, on the Select the profile for this share page, in the File share profile
box, click SMB Share – Quick, and then click Next.

4. On the Select the server and path for this share page, select LON-SVR1, click Select by volume,
click J:, and then click Next.

5. On the Specify share name page, in the Share name box, type Data, and then click Next.

6. On the Configure share settings page, select the Enable access-based enumeration check box,
and then click Next.

7. On the Specify permissions to control access page, click Customize permissions.


8. In the Advanced Security Settings for Data window, on the Permissions tab, click Add.

9. In the Permission Entry for Data window, click Select a principal, type Domain Users, and then
click OK.

10. In the Basic permissions area, select the Modify check box, and then click OK.
MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage, and Compute with Windows Server 2016 L3-19

11. In the Advanced Security Settings for Data window, click OK.

12. On the Specify permissions to control access page, click Next.

13. On the Confirm selections page, click Create.

14. When the creation of the share is complete, click Close.

 Task 2: Create an NFS share on iSCSI storage


1. On LON-SVR1, in the Shares area, click TASKS, and then click New Share.

2. In the New Share Wizard, on the Select the profile for this share page, in the File share profile
box, click NFS Share – Quick, and then click Next.

3. On the Select the server and path for this share page, click LON-SVR1, click Select by volume,
click K:, and then click Next.

4. On the Specify share name page, in the Share name box, type LinuxData, and then click Next.

5. On the Specify authentication methods page, select Kerberos v5 authentication(Krb5), and then
click Next.

6. On the Specify the share permissions page, click Add.

7. In the Add Permissions window, click All Machines.


8. In the Share permissions box, select Read / Write, and then click Add.

9. On the Specify the share permissions page, click Next.

10. On the Specify permissions to control access page, click Next.


11. On the Confirm selections page, click Create.

12. On the View results page, click Close.

 Task 3: Use Windows PowerShell to view share information


1. On LON-DC1, on the taskbar, click File Explorer.
2. In File Explorer, in the address bar, type \\LON-SVR1\Data, and then press Enter.

3. Click the Home tab, click New item, and then click Text Document.

4. Type NewFile, and then press Enter to rename the document.

5. Double-click NewFile.txt to open it in Notepad.

6. Leave Notepad open for later in the task.

7. On LON-SVR1, right-click Start, and then click Windows PowerShell (Admin).

8. At the Windows PowerShell prompt, type the following command, and then press Enter:

Get-NfsShare

9. Type the following command, and then press Enter:

Get-NfsShare LinuxData | FL *

10. Type the following command, and then press Enter:

Get-SmbShare
MCT USE ONLY. STUDENT USE PROHIBITED
L3-20 Implementing enterprise storage solutions

11. Type the following command, and then press Enter:

Get-SmbShare Data | FL *

12. Type the following command, and then press Enter:

Get-SmbSession

13. Type the following command, and then press Enter:

Get-SMBSession -ClientUserName Adatum\Administrator | FL *

14. Type the following command, and then press Enter:

Get-SmbOpenFile

Note: There are two entries for Adatum\Administrator. File Explorer creates one, and
Notepad creates the other. NewFile.txt is not included because the file connection is maintained
only for brief periods when you open the file initially or save it. If you do not see two entries,
switch to LON-DC1, close Notepad and then double-click NewFile.txt. Then, on LON-SVR1,
repeat step 14.

15. Leave the Windows PowerShell prompt open for the next task.

 Task 4: Disable the legacy SMB1 protocol


1. On LON-SVR1, at the Windows PowerShell prompt, Type the following command, and then press
Enter:

Set-SmbServerConfiguration -AuditSmb1Access $true

2. Type Y to confirm and press Enter.

3. Type the following command, and then press Enter:

Get-SmbServerConfiguration | FL enable*

4. Type the following command, and then press Enter:

Set-SmbServerConfiguration -EnableSMB1Protocol $false

5. Type Y to confirm, and then press Enter.

6. Type the following command, and then press Enter:

Get-WindowsFeature *SMB*

7. Type the following command, and then press Enter:

Remove-WindowsFeature FS-SMB1

8. Close the Windows PowerShell prompt.

Results: After completing this exercise, you should have successfully created SMB and NFS shares.
MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage, and Compute with Windows Server 2016 L3-21

 Task 5: Prepare for the next module


After you finish the lab, revert the virtual machines to their initial state by completing the following steps:

1. On the host computer, switch to the Hyper-V Manager console.

2. In the Virtual Machines list, right-click 20740A-LON-DC1, and then click Revert.

3. In the Revert Virtual Machines dialog box, click Revert.

4. Repeat steps 2 and 3 for 20740A-LON-SVR1.


MCT USE ONLY. STUDENT USE PROHIBITED
MCT USE ONLY. STUDENT USE PROHIBITED
L4-23

Module 4: Implementing Storage Spaces and Data


Deduplication
Lab A: Implementing Storage Spaces
Exercise 1: Creating a Storage Space
 Task 1: Create a storage pool from six disks that are attached to the server
1. On LON-SVR1, click Start, and then click Server Manager.

2. In Server Manager, in the left pane, click File and Storage Services, and then in the Servers pane,
click Storage Pools.

3. In the STORAGE POOLS pane, click TASKS, and then, in the TASKS drop-down list, click New
Storage Pool.

4. In the New Storage Pool Wizard, on the Before you begin page, click Next.

5. On the Specify a storage pool name and subsystem page, in the Name text box, type
StoragePool1, and then click Next.

6. On the Select physical disks for the storage pool page, select the first six disks in the Physical
disks list and then click Next.
7. On the Confirm selections page, click Create.

8. On the View results page, wait until the task completes, and then click Close.

 Task 2: Create a three-way mirrored virtual disk (need at least five physical disks)
1. On LON-SVR1, in Server Manager, in the Storage Pools pane, click StoragePool1.
2. In the VIRTUAL DISKS pane, click TASKS, and then, from the TASKS drop-down list, click New
Virtual Disk.

3. In the New Virtual Disk Wizard, on the Before you begin page, click Next.
4. On the Select the storage pool page, click StoragePool1, and then click Next.

5. On the Specify the virtual disk name page, in the Name text box, type Mirrored Disk, and then
click Next.

6. On the Specify enclosure resiliency page, click Next.

7. On the Select the storage layout page, in the Layout list, click Mirror, and then click Next.

8. On the Configure the resiliency settings page, click Three-way mirror, and then click Next.

Note: If the three-way resiliency setting is unavailable, proceed to the next step in the
lab.

9. On the Specify the provisioning type page, click Thin, and then click Next.
10. On the Specify the size of the virtual disk page, in the Specify size text box, type 10, and then click
Next.

11. On the Confirm selections page, click Create.

12. On the View results page, wait until the task completes.
MCT USE ONLY. STUDENT USE PROHIBITED
L4-24 Implementing Storage Spaces and Data Deduplication

13. Ensure that the Create a volume when this wizard closes check box is selected, and then click
Close.

14. In the New Volume Wizard window, on the Before you begin page, click Next.

15. On the Select the server and disk page, in the Disk pane, click the Mirrored Disk virtual disk, and
then click Next.

16. On the Specify the size of the volume page, click Next to confirm the default selection.

17. On the Assign to a drive letter or folder page, in the Drive letter drop-down list, ensure that H is
selected, and then click Next.
18. On the Select file system settings page, in the File system drop-down list, click ReFS, in the
Volume label text box, type Mirrored Volume, and then click Next.

19. On the Confirm selections page, click Create.


20. On the Completion page, wait until the creation completes, and then click Close.

 Task 3: Copy a file to the volume, and verify it is visible in File Explorer
1. On LON-SVR1, click Start, on the Start screen, type command prompt, and then press Enter.

2. When you receive the command prompt, type the following command, and then press Enter:

Copy C:\windows\system32\write.exe H:\

3. Close Command Prompt.

4. On the taskbar, click the File Explorer icon.

5. In the File Explorer window, in the navigation pane, click Mirrored Volume (H:).

6. Verify that write.exe is visible in the file list.

7. Close File Explorer.

 Task 4: Remove a physical drive to simulate drive failure


1. On the host computer, open Hyper-V Manager.
2. In the Virtual Machines pane, right-click 20740A-LON-SVR1, and then click Settings.

3. In Settings for 20740A-LON-SVR1, in the Hardware pane, click the hard drive that begins with
20740A-LON-SVR1-Disk1.

4. In the Hard Drive pane, click Remove, click OK, and then click Continue.

 Task 5: Verify that the file is still available


1. Switch to LON-SVR1.

2. On the taskbar, click the File Explorer icon.


3. In the File Explorer window, in the navigation pane, click Mirrored Volume (H:).

4. In the file list pane, verify that write.exe is still available.

5. Close File Explorer.

6. In Server Manager, in the STORAGE POOLS pane, on the menu bar, click Refresh “Storage Pools”.

Note: Notice the warning that is visible next to Mirrored Disk.


MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage and Compute with Windows Server 2016 L4-25

7. In the VIRTUAL DISK pane, right-click Mirrored Disk, and then click Properties.

8. In the Mirrored Disk Properties dialog box, in the left pane, click Health.

Note: Notice that the Health Status indicates a warning. The Operational Status
should indicate one or more of the following: Incomplete, Unknown, or Degraded.

9. In the Mirrored Disk Properties dialog box, click OK.

 Task 6: Add a new disk to the storage pool and remove the broken disk
1. On LON-SVR1, in Server Manager, in the STORAGE POOLS pane, on the menu bar, click Refresh
“Storage Pools”.

2. In the STORAGE POOLS pane, right-click StoragePool1, and then click Add Physical Disk.

3. In the Add Physical Disk window, click the first disk in the list, and then click OK.

4. Right-click Start, and then click Windows PowerShell (Admin).

5. In Windows PowerShell, type the following command, and then press Enter:

Get-PhysicalDisk

6. Note the FriendlyName for the disk that shows an OperationalStatus of Lost Communication.

7. In Windows PowerShell, type the following command, and then press Enter:

$Disk = Get-PhysicalDisk -FriendlyName ‘diskname’

Replace diskname with the name of the disk that you noted in Step 6.
8. In Windows PowerShell, type the following command, and then press Enter:

Remove-PhysicalDisk -PhysicalDisks $disk -StoragePoolFriendlyName StoragePool1

9. In Windows PowerShell, type Y, and then press Enter.

10. In Server Manager, in the STORAGE POOLS pane, on the menu bar, click the Refresh “Storage
Pools” button to see the warnings disappear.

Results: After completing this exercise, you will have successfully created a storage pool and added five
disks to it. Additionally, you should have created a three-way mirrored, thinly-provisioned virtual disk
from the storage pool. You also should have copied a file to the new volume and then verified that it is
accessible. Next, after removing a physical drive, you should have verified that the virtual disk was still
available and that you could access it. Finally, you should have added another physical disk to the storage
pool.
MCT USE ONLY. STUDENT USE PROHIBITED
L4-26 Implementing Storage Spaces and Data Deduplication

Lab B: Implementing Data Deduplication


Exercise 1: Installing Data Deduplication
 Task 1: Install the Data Deduplication role service
1. On LON-SVR1, in Server Manager, in the navigation pane, click Dashboard.

2. In the details pane, click Add roles and features.

3. In the Add Roles and Features Wizard, on the Before you begin page, click Next.
4. On the Select installation type page, click Next.

5. On the Select destination server page, click Next.

6. On the Select server roles page, in the Roles list, expand File and Storage Services (4 of 12
installed).

7. Expand File and iSCSI Services (3 of 11 installed).

8. Select the Data Deduplication check box, and then click Next.
9. On the Select features page, click Next.

10. On the Confirm installation selections page, click Install.

11. When installation is complete, on the Installation progress page, click Close.

 Task 2: Check the status of Data Deduplication


1. On LON-SVR1, switch to Windows PowerShell.

2. In the Windows PowerShell command prompt window, type the following command, and then
press Enter:

Get-DedupVolume

3. In the Windows PowerShell command prompt window, type the following command, and then
press Enter:

Get-DedupStatus

4. These commands return no results. This is because you need to enable it on the volume after
installing it.

 Task 3: Verify the virtual machine performance


• On LON-SRV1, in the Windows PowerShell window, type the following, and then press Enter:

Measure-Command -Expression {Get-ChildItem –Path E:\ -Recurse}

Note: You will use the values returned from the previous command later in the lab.

Results: After completing this exercise, you should have successfully installed the Data Deduplication role
service and enabled it on one of your file servers.
MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage and Compute with Windows Server 2016 L4-27

Exercise 2: Configuring Data Deduplication


 Task 1: Configure Data Deduplication
1. On LON-SVR1, on the taskbar, click the File Explorer icon.

2. In Server Manager, in the navigation pane, click File and Storage Services, and then click Disks.

3. In the Disks pane, click 1.


4. Beneath VOLUMES, click E.

5. Right-click E, and then click Configure Data Deduplication.

6. In the Allfiles (E:\) Deduplication Settings dialog box, in the Data deduplication list, click General
purpose file server.

7. In the Deduplicate files older than (in days) text box, type 0.

8. Click Set Deduplication Schedule.


9. In the LON-SVR1 Deduplication Schedule dialog box, select the Enable throughput optimization
check box, and then click OK.

10. In the Allfiles (E:\) Deduplication Settings dialog box, click Add.
11. In the Select Folder dialog box, expand Allfiles (E:), click shares.

12. Click Select Folder, and then click OK.

 Task 2: Configure optimization to run now and view the status


1. On LON-SRV1, in the Windows PowerShell window, type the following command, and then press
Enter:

Start-DedupJob E: -Type Optimization –Memory 50

2. In the Windows PowerShell window, type the following command, and then press Enter:

Get-DedupJob –Volume E:

Note: Verify the status of the optimization job from the previous command. Repeat
the previous command until the Progress shows as 100%.

 Task 3: Verify if the file has been optimized


1. On LON-SVR1, in File Explorer, navigate to e:\Labfiles\Mod04.

2. Right-click ContosoP1AnnualReport.docx, and then select Properties.


3. In the Properties window, observe the values of Size and Size on disk and note any differences.

4. Repeat steps 2 and 3 for a few more files to verify deduplication.

5. Switch to Windows PowerShell.

6. In the Windows PowerShell command prompt window, type the following command, and then
press Enter:

Get-DedupStatus –Volume E: |fl


MCT USE ONLY. STUDENT USE PROHIBITED
L4-28 Implementing Storage Spaces and Data Deduplication

7. In the Windows PowerShell command prompt window, type the following command, and then
press Enter:

Get-DedupVolume –Volume E: |fl

Note: Observe the number of optimized files.

8. In Server Manager, in the navigation pane, click File and Storage Services, and then click Disks.

9. In the DISKS pane, click 1.

10. Beneath VOLUMES, click E.

11. Click Refresh and observe the values for Deduplication Rate and Deduplication Savings.

Note: Because most of the files on drive E are small, you may not notice a significant
amount of saved space.

 Task 4: Verify VM performance again


• In the Windows PowerShell window, type the following command, and then press Enter:

Measure-Command -Expression {Get-ChildItem –Path E:\ -Recurse}

Note: Compare the values returned from the previous command with the value of the
same command earlier in the lab to assess if system performance has changed.

Results: After completing this exercise, you should have successfully configured Data Deduplication for
the appropriate data volume on LON-SVR1.

 Task 5: Prepare for the next module


When you complete the lab, revert the virtual machines to their initial state.

1. On the host computer, start Hyper-V Manager.

2. In the Virtual Machines list, right-click 20740A-LON-SVR1, and then click Revert.

3. In the Revert Virtual Machine dialog box, click Revert.

4. Repeat steps 2 and 3 for 20740A-LON-DC1.


MCT USE ONLY. STUDENT USE PROHIBITED
L5-29

Module 5: Installing and configuring Hyper-V and virtual


machines
Lab: Installing and configuring Hyper-V
Exercise 1: Verifying installation of the Hyper-V server role
 Task 1: Verify the presence of the Hyper-V server role
1. On LON-HOST1, sign in as Administrator by using Pa$$w0rd as the password.

2. Click Start, and then click Server Manager.

3. Click Tools, and then click Hyper-V Manager.

4. In Hyper-V Manager, click LON-HOST1, and then click Hyper-V Settings.

5. In the Hyper-V Settings for LON-HOST1 window, click each of the available options in the left pane
and read the description.

6. Click Cancel.

Results: After completing this exercise, you should have successfully verified the presence and
configuration of the Hyper-V server role on a physical server.

Exercise 2: Configuring Hyper-V networks


 Task 1: Create an external network

Note: To perform this task, your computer must have physical network card (wired or
wireless) and be connected to a network.

1. In Hyper-V Manager, click LON-HOST1, and then, in the Actions pane, click Virtual Switch
Manager.

2. In the Virtual Switch Manager for LON-HOST1 window, in the left pane, click New virtual
network switch.

3. In the Create virtual switch pane, click External, and then click Create Virtual Switch.

4. In the Virtual switch properties pane, in the Name box, type Physical Network.

5. In the Connection type area, click External network, select the Allow management operating
system to share this network adapter check box, and then click OK.

6. In the Apply Networking Changes dialog box, read the warning that is displayed, and then click
Yes.

7. In Server Manager, click Local Server, and then verify that the name of the network adapter has
changed to vEthernet (Physical Network).
MCT USE ONLY. STUDENT USE PROHIBITED
L5-30 Installing and configuring Hyper-V and virtual machines

 Task 2: Create a private network


1. On LON-HOST1, in Hyper-V Manager, in the Actions pane, click Virtual Switch Manager.

2. In the Virtual Switch Manager for LON-HOST1 window, in the left pane, click New virtual
network switch.

3. In the Create virtual switch pane, click Private, and then click Create Virtual Switch.

4. In the Virtual Switch Properties pane, in the Name box, type Isolated Network.
5. In the Connection type area, verify that Private network is selected, and then click OK.

6. In Server Manager, verify that no new network adapters are visible.

 Task 3: Create an internal network


1. On LON-HOST1, in Hyper-V Manager, in the Actions pane, click Virtual Switch Manager.

2. In the Virtual Switch Manager for LON-HOST1 window, in the left pane, click New virtual
network switch.

3. In the Create virtual switch pane, click Internal, and then click Create Virtual Switch.
4. In the Virtual Switch Properties pane, in the Name box, type Host Internal Network.

5. In the Connection type area, verify that Internal network is selected, and then click OK.

6. In Server Manager, verify that a new network adapter named vEthernet (Host Internal Network)
has been created.

Results: After completing this exercise, you should have successfully configured an external, internal, and
private network.

Exercise 3: Creating and configuring virtual machines


 Task 1: Create a Generation 2 virtual machine
1. On LON-HOST1, on the taskbar, click File Explorer.
2. In File Explorer, go to E:\Program Files\Microsoft Learning\20740\Drives.

Note: The drive letter for this path might vary depending on the configuration of the
physical host.

3. Verify that the 20740A-BASE.vhd hard disk image file is present.

4. Click the Home tab, and then click the New Folder icon twice to create two new folders. Right-click
each folder and rename them:
o LON-GUEST1

o LON-GUEST2

5. Close File Explorer.

6. In Hyper-V Manager, in the Actions pane, click New, and then click Virtual Machine.

7. On the Before You Begin page of the New Virtual Machine Wizard, click Next.
MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage, and Compute with Windows Server 2016 L5-31

8. On the Specify Name and Location page of the New Virtual Machine Wizard, select Store the
virtual machine in a different location, enter the following values, and then click Next:

o Name: LON-GUEST2

o Location: E:\Program Files\Microsoft Learning\20740\Drives\LON-GUEST2\

9. On the Specify Generation page, click Generation 2, and click Next.


10. On the Assign Memory page of the New Virtual Machine Wizard, enter a value of 1024 MB, and
then click Next.

11. On the Configure Networking page of the New Virtual Machine Wizard, select Isolated Network,
and then click Next.

12. On the Connect Virtual Hard Disk page, choose Create a virtual hard disk.

13. In the Name box, type LON-GUEST2.vhdx.

14. In the Location box, type E:\Program Files\Microsoft Learning\20740\Drives\LON-GUEST2.

15. In the Size box, type 127, and then click Finish.

16. Right-click LON-GUEST2, and then click Settings.


17. In the Settings for LON-GUEST2 on LON-HOST1 window, in the Hardware area, click SCSI
Controller.

18. In the right pane, click DVD Drive, and then click Add.
19. In the DVD Drive area, click Image file.

20. In the Image file box, type E:\Program Files\Microsoft Learning\20740\Drives


\WinServer2016_TP5.iso, and then click Apply.
21. In the Hardware area, click Firmware.

22. In the Boot order area, click Network Adapter, click Move Down twice, and then click OK.

23. Right-click LON-GUEST2, and then click Connect.


24. In the LON-GUEST2 on LON-HOST1 – Virtual Machine Connection window, click Start.

25. Press a key to boot from DVD.

26. In the Windows Setup window, click Next, and then click Install now.

27. On the Activate Windows page, click I don’t have a product key.

28. On the Select the operating system you want to install page, click Windows Server 2016
Datacenter Technical Preview 5 (Desktop Experience), and then click Next.

29. On the License terms page, select the I accept the license terms check box, and then click Next.

30. On the Which type of installation do you want page, click Custom: Install Windows only
(advanced).

31. On the Where do you want to install Windows page, click Drive 0 Unallocated Space, and then
click Next.

Note: The installation of Windows requires an extended period of time. You can work
on the next task while waiting for the installation to complete.
MCT USE ONLY. STUDENT USE PROHIBITED
L5-32 Installing and configuring Hyper-V and virtual machines

32. On the Customize settings page, in the Password and Reenter password text boxes, type
Pa$$w0rd, and then click Finish.

33. After the installation is complete, in the LON-GUEST2 on LON-HOST1 – Virtual Machine
Connection window, click Shut Down, and then click Shut Down again to confirm.

 Task 2: Create a Generation 1 virtual machine


1. Click Start, and then click the Windows PowerShell icon.

2. At the Windows PowerShell prompt, type the following command to link 20740A-BASE.vhd to the
correct parent disk and press Enter:

Set-VHD “E:\Program Files\Microsoft Learning\20740\Drives\20740A-BASE.vhd” -


ParentPath “E:\Program Files\Microsoft Learning\Base\Base16D-WS16-TP5.vhd”

3. In Hyper-V Manager, in the Actions pane, click New, and then click Hard Disk.

4. On the Before You Begin page of the New Virtual Hard Disk Wizard, click Next.

5. On the Choose Disk Format page, select VHD, and then click Next.
6. On the Choose Disk Type page, select Differencing, and then click Next.

7. On the Specify Name and Location page, specify the following details, and then click Next:

o Name: LON-GUEST1.vhd

o Location: E:\Program Files\Microsoft Learning\20740\Drives\LON-GUEST1\

8. On the Configure Disk page, type E:\Program Files\Microsoft Learning\20740\Drives


\20740A-BASE.vhd as the location, and then click Finish.
9. Click Start, and then click the Windows PowerShell icon.

10. At the Windows PowerShell prompt, enter the following command to create a new virtual machine
named LON-GUEST1:

New-VM –Name LON-GUEST1 –MemoryStartupBytes 1024MB –VHDPath “E:\Program


Files\Microsoft Learning\20740\Drives\LON-GUEST1\LON-GUEST1.vhd” –SwitchName
“Isolated Network”

11. Close the Windows PowerShell window.

 Task 3: Configure virtual machines


1. On LON-HOST1, in Hyper-V Manager, right-click LON-GUEST1, and then click Settings.

2. In the Settings for LON-GUEST1 on LON-HOST1 window, note the list of hardware for
LON-GUEST1.

3. In the Hardware area, click Memory.

4. Select the Enable Dynamic Memory check box.

5. In the Maximum RAM box, type 4096.


6. In the Hardware area, click Processor.

7. In the Number of virtual processors box, type 2.

8. In the Hardware area, click Network Adapter.


9. In the Bandwidth Management area, select the Enable bandwidth management check box.

10. In the Minimum bandwidth text box, type 10.


MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage, and Compute with Windows Server 2016 L5-33

11. In the Maximum bandwidth text box, type 100.

12. In the Management area, click Integration Services.

13. Select the Guest services check box, and then click OK.

Note: You must have completed the previous tasks in this exercise before you can
continue. This includes shutting down LON-GUEST2.

14. In Hyper-V Manager, right-click LON-GUEST2, and then click Settings.

15. In the Settings for LON-GUEST2 on LON-HOST1 window, note the list of hardware for
LON-GUEST2. Note the differences from LON-GUEST1.
16. In the Hardware area, click Security, and then read the settings that are available.

17. In the Hardware area, click Memory.

18. Verify that the Enable dynamic memory check box is not selected.
19. In the Hardware area, click Processor.

20. In the Number of virtual processors text box, type 2.

21. In the Hardware area, expand Hard Drive, and then click Quality of Service.
22. Select the Enable Quality of Service management check box.

23. In the Minimum text box, type 10.

24. In the Management area, click Integration Services.

25. Select the Guest services check box, and then click OK.

 Task 4: Create checkpoints


1. On LON-HOST1, in Hyper-V Manager, right-click LON-GUEST2, and then click Checkpoint.

2. Right-click LON-GUEST2, and then click Start.


3. Right-click LON-GUEST2, and then click Connect.

4. On LON-GUEST2, sign in as Administrator by using Pa$$w0rd as the password.

5. In Server Manager, click Local Server and notice that there is only one network adapter.

6. On LON-HOST1, in Hyper-V Manager, right-click LON-GUEST2, and then click Settings.

7. In the Settings for LON-GUEST2 on LON-HOST1 window, in the Hardware area, click Add
Hardware.

8. In the Add Hardware area, click Network Adapter, and then click Add.

9. In the Network adapter area, in the Virtual switch box, select Host Internal Network, and then
click OK.

10. On LON-GUEST2, in Server Manager, refresh the view and verify that a second network adapter has
been added.

11. On LON-HOST1, in Hyper-V Manager, right-click LON-GUEST2, and then click Checkpoint.
12. Read the information in the Virtual Machine Checkpoint window, and then click OK.

13. Right-click the most recent checkpoint, and then click Apply.
MCT USE ONLY. STUDENT USE PROHIBITED
L5-34 Installing and configuring Hyper-V and virtual machines

14. In the Apply Checkpoint dialog box, click Apply.

15. Verify that the Status for LON-GUEST2 is stopped because it was a production checkpoint.

 Task 5: Enable host resource protection


1. On LON-HOST1, click the Start button, and then click Windows PowerShell.

2. At the Windows PowerShell prompt, type the following command, and then press Enter.

Set-VMProcessor LON-GUEST2 -EnableHostResourceProtection $true

3. Close the Windows PowerShell window.

 Task 6: Export a virtual machine


1. On LON-HOST1, in Hyper-V Manager, right-click LON-GUEST2, and then click Export.

2. In the Export Virtual Machine dialog box, in the Location text box, type E:\Program Files
\Microsoft Learning\20740\Drives\Guest2-Bak, and then click Export.

Results: After completing this exercise, you should have successfully created and configured both a
Generation 1 virtual machine and a Generation 2 virtual machine.

Exercise 4: Enabling nested virtualization for a virtual machine


 Task 1: Import LON-NVHOST2

Note: Before beginning this task, verify the location of the base drives and 20740
course drives. You need the drive letter for both locations in this exercise. The exercise
assumes that the drive letter E: is used for both, but substitute the correct drive letter as
necessary.

1. On LON-HOST1, click Start, and then click Windows PowerShell.

2. At the Windows PowerShell prompt, type the following, and then press Enter:

& ‘E:\Program Files\Microsoft Learning\20740\Drives\CreateVirtualSwitches.ps1’

3. At the Windows PowerShell prompt, type the following, and then press Enter:

& ‘E:\Program Files\Microsoft Learning\20740\Drives\LON-HOST1_VM-Pre-Import-


20740A.ps1’

4. Type the drive letter for the base images, and then press Enter.

5. Type the drive letter for the course images, and then press Enter.

6. Press Enter to continue.


MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage, and Compute with Windows Server 2016 L5-35

 Task 2: Enable nested virtualization


1. At the Windows PowerShell prompt, type the following command, and then press Enter:

C:\Labfiles\Mod05\Enable-NestedVm.ps1 -vmName “20740A-LON-NVHOST2”

2. To accept the changes that will be made to the virtual machine, type Y, and then press Enter.

3. To enable MAC address spoofing, type Y, and then press Enter.

4. To set the memory at 4 GB, type Y, and then press Enter.

 Task 3: Enable Hyper-V


1. On LON-HOST1, at the Windows PowerShell prompt, type the following, and then press Enter:

Get-VM | FT Name,Version

2. Type the following, and then press Enter:

Update-VMVersion 20740A-LON-NVHOST2

3. To confirm the change, type Y, and then press Enter:

4. Type the following, and then press Enter:

Start-VM 20740A-LON-NVHOST2

5. To view the activity on LON-NVHOST2, in Hyper-V Manager, right-click 20740A-LON-NVHOST2


and click Connect.

6. Wait until LON-NVHOST2 has started, and then type the following at the Windows PowerShell
prompt, and then press Enter:

Enter-PSSession -VMName 20740A-LON-NVHOST2

7. When you receive a prompt, sign in as Adatum\Administrator by using Pa$$w0rd as the password.

8. Type the following, and then press Enter:

Install-WindowsFeature -Name Hyper-V -IncludeAllSubFeature -IncludeManagementTools -


Restart

9. Wait for LON-NVHOST2 to restart. The virtual machine might restart several times.

10. Sign in to LON-NVHOST2 as Adatum\Administrator by using Pa$$w0rd as the password.


11. Click Start, and then click Server Manager.

12. In Server Manager, click Tools, and then click Hyper-V Manager.

13. Verify that LON-NVHOST2 is listed in Hyper-V Manager, and then close Hyper-V Manager.

Results: After completing this exercise, you should have successfully configured a virtual machine for
nested virtualization.

 Task 4: Prepare for the next module


• Leave your host computer started as LON-HOST1.
MCT USE ONLY. STUDENT USE PROHIBITED
MCT USE ONLY. STUDENT USE PROHIBITED
L7-37

Module 7: Overview of high availability and disaster


recovery
Lab: Planning and implementing a high
availability and disaster recovery solution
Exercise 1: Determining the appropriate high availability and disaster
recovery solution
 Task 1: Design the appropriate high availability and disaster recovery solution
Question:

What actions should you take and which technologies should you consider using?

Answer:

Create a Business Recovery Plan to outline and prioritize the divisional and service requirements, with the
customer facing financial requirements having the most critical requirements
Consider using Live Migration for monthly planned downtime to allow for patching of your virtual
machines.

Consider using Storage Migration to migrate the virtual machine storage off the existing server, to
upgrade the existing servers’ storage, and to migrate back the virtual machine storage to the server
without any virtual machine downtime.

Consider using Hyper-V Recovery Manager solution, integrated with Hyper-V Replica, to provide disaster
recovery for critical VMs in the event of a disaster in any of offices.

Exercise 2: Implementing storage migration


 Task 1: Configure and perform storage migration
1. On LON-HOST1, in Hyper-V Manager, right-click LON-SVR1-B, and then click Settings.

2. In Settings for LON-SVR1, under IDE Controller 0, click Hard Drive. Confirm that it is using the
LON-SVR1-B.vhd that is stored locally, and then click OK.
3. In Hyper-V Manager, right-click 20740A-LON-SVR1-B, and then click Move.

4. In the Move “20740A-LON-SVR1-B” Wizard, on the Before You Begin page, click Next.

5. On the Choose Move Type page, select the Move the virtual machine’s storage option, and then
click Next.

6. On the Choose Options for Moving Storage page, select the Move only the virtual machine’s
virtual hard disks option, and then click Next.

7. On the Select Items to Move page, confirm that only 20740A-LON-SVR1-B-Allfiles.vhd is selected,
and then click Next.

8. On the Choose a new location for attached virtual hard disk page, in the Folder text box, type
C:\VMs\LON-SVR1-B, and then click Next.

9. On the Completing Move Wizard page, click Finish.


MCT USE ONLY. STUDENT USE PROHIBITED
L7-38 Overview of high availability and disaster recovery

Note: Because the VHD is dynamically expanding and is small, the move occurs quickly.

10. In Hyper-V Manager, right-click LON-SVR1-B, and then click Settings.

11. In Settings for LON-SVR1-B, under IDE Controller 0, click Hard Drive. Confirm that
20740A-LON-SVR1-B-Allfiles.vhd is stored on C:\VMs folder structure.

Note: This confirms that the VHD was moved while the virtual machine was running.

Results: After completing this exercise, you should have moved Hyper-V storage and virtual machines.

Exercise 3: Configuring Hyper-V Replicas


 Task 1: Configure a replica on both host machines
1. On LON-NVHOST2, open the Hyper-V Manager console.
2. In Hyper-V Manager, right-click LON-NVHOST2, and then select Hyper-V Settings.

3. In Hyper-V Settings for LON-NVHOST2, click Replication Configuration.

4. In the Replication Configuration pane, click Enable this computer as a Replica server.
5. In the Authentication and ports section, select Use Kerberos (HTTP).

6. In the Authorization and storage section, click Allow replication from any authenticated server,
and then click Browse.
7. Expand This PC, double-click Local Disk (C), and then click New folder. For the folder name, type
VMReplica, and press Enter. Select the C:\VMReplica\ folder, and then click Select Folder.

8. In Hyper-V Settings for LON-NVHOST2, click OK.


9. In the Settings dialog box, read the notice, and then click OK.

10. Click Start, and then click Control Panel.

11. In Control Panel, click System and Security, and then click Windows Firewall.

12. Click Advanced settings.

13. Click Inbound Rules.

14. In the right pane, in the rule list, find and right-click the Hyper-V Replica HTTP Listener (TCP-In)
rule, and then click Enable Rule.

15. Close the Windows Firewall with Advanced Security console, and then close the Windows
Firewall.
16. Repeat steps 1 through 15 on LON-HOST1.

 Task 2: Configure replication for LON-SVR1-B virtual machine


1. On LON-HOST1, open the Hyper-V Manager console. Click 20740A-LON-NVHOST2, and then
right-click 20740A-LON-SVR1-B.

2. Click Enable Replication.

3. On the Before You Begin page, click Next.

4. In the Replica Server box, type LON-NVHOST2 and then click Next.
MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage, and Compute with Windows Server 2016 L7-39

5. On the Specify Connection Parameters page, click Use Kerberos authentication (HTTP), and then
click Next.

6. On the Choose Replication VHDs page, click Next.

7. On the Configure Replication Frequency page, from drop-down list box, select 30 seconds, and
then click Next.

8. On the Configure Additional Recovery Points page, select Maintain only the latest recovery
point, and then click Next.

9. On the Choose Initial Replication Method page, click Send initial copy over the network, select
Start replication immediately, and then click Next.

10. On the Completing the Enable Replication Wizard page, click Finish.

11. At the Replication enabled successfully prompt, click Close.


12. Wait five to seven minutes. You can monitor the progress of the initial replication in the Status
column in the Hyper-V Manager console. When it completes (progress reaches 100 percent), ensure
that 20740A-LON-SVR1-B has appeared on LON-NVHOST2 in Hyper-V Manager.

 Task 3: Validate a planned failover to the replica site


1. On LON-HOST1, in Hyper-V Manager, right-click 20740A-LON-SVR1-B.

2. Select Replication, and then click View Replication Health.

3. Review content of the window that appears, and ensure that there are no errors.

4. Click Close.

5. On LON-NVHOST2, open Hyper-V Manager, and then verify that 20740A-LON-SVR1-B is turned
off.
6. From LON-HOST1, connect to the 20740A-LON-SVR1-B virtual machine.

7. On LON-SVR1-B, click Start, click Power, click Shut down, and then click OK.

8. On LON-HOST1, in Hyper-V Manager, right-click 20740A-LON-SVR1-B, point to Replication, and


then click Planned Failover.

9. In the Planned Failover window, ensure that the option Start the Replica virtual machine after
failover is selected, and then click Fail Over.
10. On LON-NVHOST2, in Hyper-V Manager, ensure that 20740A-LON-SVR1-B is running.

 Task 4: Prepare for the next module


1. Right-click 20740A-LON-SVR1-B on LON-NVHOST2.

2. Click Replication and then click Cancel Failover. Click Yes.


3. Right-click 20740A-LON-SVR1-B, point to Replication, and then click Remove Replication.

4. Click Remove Replication.

5. Repeat step 3 and 4 on LON-HOST1.

6. On LON-HOST1, in Hyper-V Manager, right-click LON-HOST1 and then click Hyper-V Settings.

7. In Replication Configuration, clear the Enable this computer as a Replica server check box and
click OK.

8. Repeat step 6 and 7 on LON-NVHOST2.

9. On LON-HOST1, in Hyper-V Manager, right-click 20740A-LON-SVR1-B, and then click Move.


MCT USE ONLY. STUDENT USE PROHIBITED
L7-40 Overview of high availability and disaster recovery

10. In the Move “20740A-LON-SVR1-B” Wizard, on the Before You Begin page, click Next.

11. On the Choose Move Type page, select the Move the virtual machine’s storage option, and then
click Next.

12. On the Choose Options for Moving Storage page, select the Move only the virtual machine’s
virtual hard disks option, and then click Next.

13. On the Select Items to Move page, confirm that only 20740A-LON-SVR1-B-Allfiles.vhd is selected,
and then click Next.

14. On the Choose a new location for attached virtual hard disk page, in the Folder text box, type
E:\Program Files\Microsoft Learning\20740\Drives\20740A-LON-SVR1-B\Virtual Hard Disks,
and then click Next.

15. On the Completing Move Wizard page, click Finish.

16. Restart the host computer.

17. When you are prompted with the boot menu, select Windows Server 2012, and then press Enter.

18. Sign in to the host machine as directed by your instructor.

Results: After completing this exercise, you will have configured Hyper-V Replica.
MCT USE ONLY. STUDENT USE PROHIBITED
L8-41

Module 8: Implementing failover clustering


Lab A: Implementing failover clustering
Exercise 1: Creating a failover cluster
 Task 1: Connect cluster nodes to iSCSI shared storage

Configure the iSCSI targets


1. On LON-SVR1, on the taskbar, click Start, and then click Server Manager

2. In Server Manager, in the navigation pane, click File and Storage Services.

3. In the File and Storage Services pane, click iSCSI.

4. In the iSCSI VIRTUAL DISKS pane, click TASKS, and then in the TASKS drop-down list, select New
iSCSI Virtual Disk.

5. In the New iSCSI Virtual Disk Wizard, on the Select iSCSI virtual disk location page, under
Storage location, click C:, and then click Next.
6. On the Specify iSCSI virtual disk name page, in the Name text box, type iSCSIDisk1, and then click
Next.

7. On the Specify iSCSI virtual disk size page, in the Size text box, type 5, ensure GB is selected in the
drop-down list, and then click Next.

8. On the Assign iSCSI target page, click New iSCSI target, and then click Next.

9. On the Specify target name page, in the Name text box, type lon-svr1, and then click Next.

10. On the Specify access servers page, click Add.

11. In the Select a method to identify the initiator dialog box, click Enter a value for the selected
type, and in the Type drop-down list, select IP Address. In the Value text box, type 172.16.0.22, and
then click OK.

12. On the Specify access servers page, click Add.

13. In the Select a method to identify the initiator dialog box, click Enter a value for the selected
type, and in the Type drop-down list, select IP Address. In the Value box, type 172.16.0.23, and
then click OK.

14. On the Specify access servers page, click Next.

15. On the Enable Authentication page, click Next.

16. On the Confirm selections page, click Create.

17. On the View results page, wait until creation is complete, and then click Close.
18. In the iSCSI VIRTUAL DISKS pane, click TASKS, and then in the TASKS drop-down list, select New
iSCSI Virtual Disk.

19. In the New iSCSI Virtual Disk Wizard, on the Select iSCSI virtual disk location page, under
Storage location, click C:, and then click Next.

20. On the Specify iSCSI virtual disk name page, in the Name text box, type iSCSIDisk2, and then click
Next.

21. On the Specify iSCSI virtual disk size page, in the Size text box, type 5, ensure GB is selected in the
drop-down list box, and then click Next.
MCT USE ONLY. STUDENT USE PROHIBITED
L8-42 Implementing failover clustering

22. On the Assign iSCSI target page, click lon-svr1, and then click Next.

23. On the Confirm selections page, click Create.

24. On the View results page, wait until the creation is completed, and then click Close.

25. In the iSCSI VIRTUAL DISKS pane, click TASKS, and then in the TASKS drop-down list, select New
iSCSI Virtual Disk.
26. In the New iSCSI Virtual Disk Wizard, on the Select iSCSI virtual disk location page, under
Storage location, click C:, and then click Next.

27. On the Specify iSCSI virtual disk name page, in the Name text box, type iSCSIDisk3, and then click
Next.

28. On the Specify iSCSI virtual disk size page, in the Size text box, type 5, ensure GB is selected in the
drop-down list, and then click Next.

29. On the Assign iSCSI target page, click lon-svr1, and then click Next.

30. On the Confirm selections page, click Create.

31. On the View results page, wait until the creation is complete, and then click Close.

Connect nodes to the iSCSI targets


1. On LON-SVR2, open Server Manager, click Tools, and then click iSCSI Initiator.

2. In the Microsoft iSCSI dialog box, click Yes.


3. In the iSCSI Initiator window, click the Discovery tab, and then click Discover Portal.

4. In the IP address or DNS name text box, type 172.16.0.21, and then click OK.

5. Click the Targets tab, and then click Refresh.


6. In the Targets list, click iqn.1991-05.com.microsoft:lon-svr1-lon-svr1-target, and then click
Connect.

7. Ensure that Add this connection to the list of Favorite Targets is selected, and then click OK two
times.

8. On LON-SVR3, open Server Manager, click Tools, and then click iSCSI Initiator.

9. In the Microsoft iSCSI dialog box, click Yes.


10. In the iSCSI Initiator window, click the Discovery tab, and then click Discover Portal.

11. In the IP address or DNS name text box, type 172.16.0.21, and then click OK.

12. Click the Targets tab, and then click Refresh.

13. In the Targets list, click iqn.1991-05.com.microsoft:lon-svr1-lon-svr1-target, and then click


Connect.

14. Ensure that the Add this connection to the list of Favorite Targets check box is selected, and then
click OK two times.

15. On LON-SVR2, in Server Manager, click Tools, and then click Computer Management.

16. Expand Storage, and then click Disk Management.

17. Right-click Disk 4, and then click Online.

18. Right-click Disk 4, and then click Initialize Disk.

19. In the Initialize Disk dialog box, click OK.


MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage, and Compute with Windows Server 2016 L8-43

20. Right-click the unallocated space next to Disk 4, and then click New Simple Volume.

21. On the Welcome page, click Next.

22. On the Specify Volume Size page, click Next.

23. On the Assign Drive Letter or Path page, click Next.

24. On the Format Partition page, in the Volume Label text box, type Data1. Select the Perform a
quick format check box, and then click Next.

25. Click Finish.

Note: If a dialog box appears with a prompt to format the disk, click Cancel.

26. Repeat steps 17 through 25 for Disk 5 and Disk 6, using Data2 and Data3 respectively for volume
labels.
27. Close the Computer Management window.

28. On LON-SVR3, in Server Manager, click Tools, and then click Computer Management.

29. Expand Storage, and click Disk Management.

30. Select and right-click Disk Management, and then click Refresh.

31. Right-click Disk 3, and then click Online.

32. Right-click Disk 4, and then click Online.

33. Right-click Disk 5, and then click Online.

34. Close the Computer Management window.

 Task 2: Install the Failover Cluster feature


1. On LON-SVR2, if Server Manager is not open, click the Server Manager icon.
2. Click Add roles and features.

3. In the Add roles and features Wizard, on the Before You Begin page, click Next.

4. On the Select installation type page, click Next.


5. On the Select destination server page, ensure that Select a server from the server pool is
selected, and then click Next.

6. On the Select server roles page, click Next.

7. On the Select features page, in the Features list, select Failover Clustering.

8. In the Add features that are required for Failover Clustering window, click Add Features, and
then click Next.

9. On the Confirm installation selections page, click Install.

10. When installation completes and you receive the Installation succeeded on
LON-SVR2.Adatum.com message, click Close.

11. On LON-SVR3, repeat steps 1 through 10.

12. When installation completes and you receive the Installation succeeded on
LON-SVR3.Adatum.com message, click Close.
MCT USE ONLY. STUDENT USE PROHIBITED
L8-44 Implementing failover clustering

 Task 3: Validate the servers for failover clustering


1. On LON-SVR2, in Server Manager, click Tools, and then click Failover Cluster Manager.

2. In Failover Cluster Manager, in the Actions pane, click Validate Configuration.

3. In the Validate a Configuration Wizard, click Next.

4. In the Enter Name text box, type LON-SVR2, and then click Add.

5. In the Enter Name text box, type LON-SVR3.

6. Click Add, and then click Next.

7. Verify that Run all tests (recommended) is selected, and click Next.

8. On the Confirmation page, click Next.


9. Wait for the validation tests to finish, which might take between 5 and 7 minutes, and then on the
Summary page, scroll through the report. Verify that all tests completed without errors. Some
warnings are expected.

10. On the Summary page, click Finish.

 Task 4: Create the failover cluster


1. On LON-SVR2, in the Failover Cluster Manager, in the Actions pane, click Create Cluster.

2. On the Before you begin page, click Next.


3. On the Select Servers page, in the Enter server name box, type LON-SVR2, and then click Add.

4. In the Enter server name box, type LON-SVR3, click Add, and then click Next.

5. On the Access Point for Administering the Cluster page, in the Cluster Name text box, type
Cluster1.

6. In the Address text box, type 172.16.0.125, and then click Next.

7. On the Confirmation page, click Next.

8. On the Summary page, click Finish.

 Task 5: Add the file-server application to the failover cluster


1. On LON-SVR2, in the Failover Cluster Manager console, expand Cluster1.Adatum.com, expand
Storage, and then click Disks.

2. Ensure that three disks named Cluster Disk 1, Cluster Disk 2, and Cluster Disk 3 are present and
online.

3. Right-click Roles, and then click Configure Role.

4. On the Before You Begin page, click Next.

5. On the Select Role page, click File Server, and then click Next.

6. On the File Server Type page, click File Server for general use, and then click Next.
7. On the Client Access Point page, in the Name text box, type AdatumFS, in the Address text box,
type 172.16.0.130, and then click Next.

8. On the Select Storage page, select the Cluster Disk 2 check box, and then click Next.

9. On the Confirmation page, click Next.

10. On the Summary page, click Finish.


MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage, and Compute with Windows Server 2016 L8-45

 Task 6: Add a shared folder to a highly-available file server


1. On LON-SVR3, in the Server Manager console, click Tools, and then click Failover Cluster
Manager.

2. Expand Cluster1.Adatum.com, click Roles, right-click AdatumFS, and then click Add File Share.

3. In the New Share Wizard, on the Select the profile for this share page, click SMB Share – Quick,
and then click Next.

4. On the Select the server and the path for this share page, click Next.

5. On the Specify share name page, in the Share name text box, type Docs, and then click Next.

6. On the Configure share settings page, review the available options but do not make any changes,
and then click Next.

7. On the Specify permissions to control access page, click Next.

8. On the Confirm selections page, click Create.

9. On the View results page, click Close.

 Task 7: Configure failover and failback settings


1. On LON-SVR3, in the Failover Cluster Manager console, click Roles, right-click AdatumFS, and
then click Properties.

2. In the AdatumFS Properties dialog box, click the Failover tab, and then click Allow failback.

3. Click Failback between, and set the values to 4 and 5 hours.

4. Click the General tab.

5. Select both LON-SVR2 and LON-SVR3 as preferred owners.

6. Select LON-SVR3, and click Up so that it is first in the preferred owners list.

7. To close the AdatumFS Properties dialog box, click OK.

 Task 8: Validate the highly available file-server deployment


1. On LON-DC1, open File Explorer, and in the address bar, type \\AdatumFS\, and then press Enter.

2. Verify that you can access the location and that you can open the Docs folder.

3. Create a text document inside this folder named test.txt.

4. On LON-SVR2, switch to Failover Cluster Manager.

5. In the Failover Cluster Manager console, expand Cluster1.Adatum.com, and then click Roles.

6. In the Owner Node column, note the current owner of AdatumFS.

Note: The owner will be LON-SVR2 or LON-SVR3.

7. Right-click AdatumFS, click Move, and then click Select Node.

8. In the Move Clustered Role dialog box, select the cluster node (it will be either LON-SVR2 or
LON-SVR3), and then click OK.

9. Verify that AdatumFS has moved to a new owner.


MCT USE ONLY. STUDENT USE PROHIBITED
L8-46 Implementing failover clustering

10. Switch to LON-DC1.

11. To verify that you can still access the \\AdatumFS\ location, open File Explorer, and in the address
bar, type \\AdatumFS\, and then press Enter.

 Task 9: Validate the failover and quorum configuration for the File Server role
1. On LON-SVR2, in the Failover Cluster Manager console, click Roles.

2. In the Owner Node column, verify the current owner for the AdatumFS role.

Note: The owner will be LON-SVR2 or LON-SVR3.

3. Click Nodes, and then select the node that is the current owner of the AdatumFS role.

4. Right-click the node, click More Actions, and then click Stop Cluster Service.

5. In the Failover Cluster Manager console, click Roles, and verify that AdatumFS is running.

Note: This confirms that AdatumFS has moved to another node.

6. Switch to LON-DC1.
7. On LON-DC1, to verify that you can still access the \\AdatumFS\ location, open File Explorer, and in
the address bar, type \\AdatumFS\, and then press Enter.

8. Switch to LON-SVR2.
9. In the Failover Cluster Manager console, click Nodes, right-click the stopped node, click More
Actions, and then click Start Cluster Service.

10. Expand Storage, and then click Disks.


11. In the center pane, find the disk that is assigned to Disk Witness in Quorum.

Note: You can view this in the Assigned To column.

12. Right-click the disk, click Take Offline, and then click Yes.

13. Switch to LON-DC1.

14. On LON-DC1, to verify that you can still access the \\AdatumFS\ location, open File Explorer, and in
the address bar, type \\AdatumFS\, and then press Enter.

Note: This verifies that the cluster is running even if the witness disk is offline.

15. Switch to LON-SVR2.

16. In the Failover Cluster Manager console, expand Storage, click Disks, right-click the disk that is in
Offline status, and then click Bring Online.

17. Right-click Cluster1.Adatum.com, click More Actions, and then click Configure Cluster Quorum
Settings.

18. On the Before You Begin page, click Next.


MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage, and Compute with Windows Server 2016 L8-47

19. On the Select Quorum Configuration Option page, click Advanced quorum configuration, and
then click Next.

20. On the Select Voting Configuration page, review the available settings.

Note: Notice that you can select a node or nodes that will, or will not, have a vote in
the cluster.

21. Do not make any changes, and then click Next.

22. On the Select Quorum Witness page, ensure that Configure a disk witness is selected, and then
click Next.

23. On the Configure Storage Witness page, click Cluster Disk 3, and then click Next.

24. On the Confirmation page, click Next.

25. On the Summary page, click Finish.

Results: After completing this exercise, you should have created a failover cluster successfully, configured
a highly available file server, and tested the failover scenarios.

Exercise 2: Verifying quorum settings and adding a node


 Task 1: Remotely connect to a cluster
1. If necessary, sign in to LON-CL1 with username Administrator and password Pa$$w0rd.

2. Click Start, click All apps, and then click Windows Administrative Tools.
3. Click Failover Cluster Manager.

4. In Failover Cluster Manager, right-click Failover Cluster Manager, and then click Connect to
Cluster.

5. In the Select Cluster dialog box, in the Cluster name box, type Cluster1.Adatum.com, and click OK.

6. Expand Cluster1.Adatum.com, and then click Roles.

 Task 2: Check the assigned votes in the Nodes section


1. On LON-SVR2, right-click Start, and then click Windows PowerShell (Admin).

2. In Windows PowerShell console, run following cmdlet to check the assigned votes:

Get-ClusterNode | select name, nodeweight, ID, state

3. Verify that NodeWeight property of a cluster node has value 1, which means that the quorum vote
of the node is assigned and that the cluster is managing it.

 Task 3: Verify the status of the disk witness


• On LON-SVR2, in the Windows PowerShell console, type the following command, and then press
Enter:

Get-ClusterQuorum | Select Cluster, QuorumResource, QuorumType


MCT USE ONLY. STUDENT USE PROHIBITED
L8-48 Implementing failover clustering

 Task 4: Add a node in the cluster


1. On LON-SVR2, in the Failover Cluster Manager, click Nodes.

2. In the Actions pane, click Add Node.

3. On the Before You Begin page, click Next.

4. On the Select Servers page, in the Enter server name box, type LON-SVR5, click Add, and then
click Next.
5. On the Validation Warning page, click Next.

6. Complete the validation by using the defaults.

7. On the Summary page of the Validate a Configuration Wizard, click Finish.

8. In the Add Node Wizard, on the Confirmation page, click Next.

9. On the Summary page, click Finish.

 Task 5: Verify the assigned votes


1. On LON-SVR2, in Windows PowerShell console, type following cmdlet, and then press Enter:

Get-ClusterNode | select name, nodeweight, ID, state

2. Verify that NodeWeight property of a cluster node has value 1, which means that the quorum vote
of the node is assigned and that the cluster is managing it.

Results: After completing this exercise, you should have added another node in the cluster successfully,
and changed the quorum to the witness disk.

 Task 6: Prepare for the next lab


• When you finish the lab, leave the virtual machines running for the subsequent lab.
MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage, and Compute with Windows Server 2016 L8-49

Lab B: Managing a failover cluster


Exercise 1: Evicting a node and verifying quorum settings
 Task 1: Evict node LON-SVR5
1. On LON-SVR3, if necessary, open Failover Cluster Manager.

2. Expand the Cluster 1.Adatum.com cluster, and then click Nodes.

3. Right-click the LON-SVR5 node, click More Actions, and then click Evict.
4. In the Evict node LON-SVR5 dialog box, click Yes to evict the node.

 Task 2: Verify changes in quorum settings and the witness disk


1. On LON-SVR2, in the Windows PowerShell console, type following cmdlet, and then press Enter:

Get-ClusterNode | select name, nodeweight, ID, state

2. Verify that NodeWeight property of a cluster node has value 1, which means that the quorum vote
of the node is assigned and is managed by the cluster.

Results: After completing this exercise, you should have evicted a node from the cluster, and verified the
changes in quorum settings and witness disk.

Exercise 2: Changing the quorum from disk witness to file-share witness,


and defining node voting
 Task 1: Get the current quorum model
• On LON-SVR2, in the Windows PowerShell console, type the following command, and then press
Enter:

Get-ClusterQuorum | Select Cluster, QuorumResource, QuorumType

 Task 2: Create a file share on LON-SVR1


1. On LON-SVR1, on the Taskbar, click File Explorer, right-click the disk Local Disk (C:), click New,
and then click Folder.

2. Type FSW, and press Enter.

3. Right-click FSW, click Share with, and then click Specific people.

4. In the File Sharing dialog box, type Everyone, and then click Add.

5. In the Read list, click Read/Write.


6. Click Share, and then click Done.

 Task 3: Change the current quorum model to a file-share witness


• On LON-SVR2, in the Windows PowerShell console, type the following command, and then press
Enter:

Set-ClusterQuorum -NodeAndFileShareMajority "\\LON-SVR1\FSW"


MCT USE ONLY. STUDENT USE PROHIBITED
L8-50 Implementing failover clustering

 Task 4: Verify that the current quorum model is a file share witness
• On LON-SVR2, in the Windows PowerShell console, type the following command, and then press
Enter:

Get-ClusterQuorum | Select Cluster, QuorumResource, QuorumType

Results: After completing this exercise, you should have changed the quorum from disk witness to file
share witness and defined node voting.

Exercise 3: Verifying high availability


 Task 1: Simulate server failure
1. On LON-SVR2, in the Failover Cluster Manager console, expand Cluster1.Adatum.com, and then
click Roles.

2. In the Owner Node column, note the current owner of AdatumFS.

Note: The owner will be LON-SVR2 or LON-SVR3.

3. If LON-SVR3 is not the owner, right click AdatumFS, click Move, click Select Node, click LON-SVR3,
and then click OK.

4. Shut down LON-SVR3.

 Task 2: Verify functionality in Cluster1, and verify file availability


1. On LON-DC1, open File Explorer, and in the address bar, type \\AdatumFS\, and then press Enter.

2. Verify that you can access the location and that you can open the Docs folder.

3. Create a test text document named test2.txt inside this folder.

 Task 3: Validate whether the file is still available


1. Start LON-SVR3 virtual machine.

2. On LON-SVR2, In the Failover Cluster Manager console, expand Cluster1.Adatum.com, and then
click Roles.

3. Right-click AdatumFS, click Move, click Select Node, click LON-SVR3, and then click OK.

4. On LON-DC1, open File Explorer, and in the address bar, type \\AdatumFS\, and then press Enter.

5. Verify that you can access the location and that you can open the Docs folder.

6. Create a test text document named test3.txt inside this folder.

Results: After completing this exercise, you should have tested failover cluster high availability
successfully by taking a server offline and then bringing it back online.
MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage, and Compute with Windows Server 2016 L8-51

 Task 4: Prepare for the next module


When you finish the lab, revert the VMs to their initial state. To do this, perform the following steps:

1. On the host computer, start Hyper-V Manager.

2. In the Virtual Machines list, right-click 20740A-LON-DC1, and then click Revert.

3. In the Revert Virtual Machines dialog box, click Revert.

4. Repeat steps 2 and 3 for 20740A-LON-SVR1, 20740A-LON-SVR2, 20740A-LON-SVR3,


20740A-LON-SVR5, and 20740A-LON-CL1.
MCT USE ONLY. STUDENT USE PROHIBITED
MCT USE ONLY. STUDENT USE PROHIBITED
L9-53

Module 9: Implementing failover clustering with Windows


Server 2016 Hyper-V
Lab: Implementing failover clustering with
Windows Server 2016 Hyper-V
Exercise 1: Configuring iSCSI storage
 Task 1: Configure iSCSI targets
1. On LON-SVR1, sign in as Adatum\Administrator with the password Pa$$w0rd.

2. On the taskbar, click the Windows button, and then click Server Manager.

3. In Server Manager, in the navigation pane, click File and Storage Services.

4. In the File and Storage Services pane, click iSCSI.


5. In the iSCSI VIRTUAL DISKS pane, click TASKS, and then in the TASKS drop-down list box, click
New iSCSI Virtual Disk.

6. In the New iSCSI Virtual Disk Wizard, on the Select iSCSI virtual disk location page, under
Storage location, click C:, and then click Next.

7. On the Specify iSCSI virtual disk name page, in the Name box, type iSCSIDisk1, and then click
Next.
8. On the Specify iSCSI virtual disk size page, in the Size box, type 20, ensure that GB is selected in
the drop-down list box, and then click Next.

9. On the Assign iSCSI target page, click New iSCSI target, and then click Next.

10. On the Specify target name page, in the Name box, type lon-svr1, and then click Next.

11. On the Specify access servers page, click Add.

12. In the Select a method to identify the initiator dialog box, click Enter a value for the selected
type, and then in the Type drop-down list box, click IP Address. In the Value box, type 172.16.0.32,
and then click OK.

13. On the Specify access servers page, click Add.

14. In the Select a method to identify the initiator dialog box, click Enter a value for the selected
type, and then in the Type drop-down list box, select IP Address. In the Value box, type
172.16.0.160, and then click OK.

15. On the Specify access servers page, click Next.

16. On the Enable Authentication page, click Next.

17. On the Confirm selections page, click Create.


18. On the View results page, wait until the creation completes, and then click Close.

19. In the iSCSI VIRTUAL DISKS pane, click TASKS, and then in the TASKS drop-down list box, select
New iSCSI Virtual Disk.

20. In the New iSCSI Virtual Disk Wizard, on the Select iSCSI virtual disk location page, under
Storage location, click C:, and then click Next.

21. On the Specify iSCSI virtual disk name page, in the Name box, type iSCSIDisk2, and then click
Next.
MCT USE ONLY. STUDENT USE PROHIBITED
L9-54 Implementing failover clustering with Windows Server 2016 Hyper-V

22. On the Specify iSCSI virtual disk size page, in the Size box, type 20, ensure that GB is selected in
the drop-down list box, and then click Next.

23. On the Assign iSCSI target page, click lon-svr1, and then click Next.

24. On the Confirm selections page, click Create.

25. On the View results page, wait until the creation completes, and then click Close.
26. In the iSCSI VIRTUAL DISKS pane, click TASKS, and then in the TASKS drop-down list box, select
New iSCSI Virtual Disk.

27. In the New iSCSI Virtual Disk Wizard, on the Select iSCSI virtual disk location page, under
Storage location, click C:, and then click Next.

28. On the Specify iSCSI virtual disk name page, in the Name box, type iSCSIDisk3, and then click
Next.

29. On the Specify iSCSI virtual disk size page, in the Size box, type 20, ensure that GB is selected in
the drop-down list box, and then click Next.

30. On the Assign iSCSI target page, click lon-svr1, and then click Next.
31. On the Confirm selections page, click Create.

32. On the View results page, wait until the creation completes, and then click Close.

Results: After completing this exercise, you should have successfully installed an iSCSI Target Server.

Exercise 2: Configuring a failover cluster for Hyper-V


 Task 1: Connect to the iSCSI target from both host machines
1. On LON-HOST1, click Start, click the Server Manager icon, click Tools, and then click iSCSI
Initiator.

2. In the Microsoft iSCSI dialog box, click Yes.

3. Click the Discovery tab.

4. On the Discovery tab, click Discover Portal.

5. In the IP address or DNS name text box, type 172.16.0.21, and then click OK.

6. Click the Targets tab, and then click Refresh.

7. In the Discovered targets list, click iqn.1991-05.com.microsoft:lon-svr1-lon-svr1-target, and


then click Connect.

8. Ensure Add this connection to the list of Favorite Targets is selected and click OK.

9. To close the iSCSI Initiator Properties dialog box, click OK.

10. Switch to LON-NVHOST2.

11. On LON-NVHOST2, open Server Manager, click Tools, and then click iSCSI Initiator.
12. In the Microsoft iSCSI dialog box, click Yes.

13. In the iSCSI Initiator dialog box, click the Discovery tab.

14. On the Discovery tab, click Discover Portal.


MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage and Compute with Windows Server 2016 L9-55

15. In the IP address or DNS name text box, type 172.16.0.21, and then click OK.

16. Click the Targets tab, and then click Refresh.

17. In the Discovered targets list, click iqn.1991-05.com.microsoft:lon-svr1-lon-svr1-target, and


then click Connect.

18. Ensure Add this connection to the list of Favorite Targets is selected and then click OK. To close
the iSCSI Initiator Properties dialog box, click OK.

19. On LON-NVHOST2, in Server Manager, click Tools, and then click Computer Management.

20. Expand Storage, and click Disk Management.

21. Right-click Disk 1, and then click Online. (This is the first disk that is 20 GB in size. Your disk number
might be different.)

22. Right-click Disk 1, and click Initialize Disk.

23. In the Initialize Disk dialog box, click OK.

24. Right-click the unallocated space next to Disk 1, and click New Simple Volume.

25. On the Welcome page, click Next.


26. On the Specify Volume Size page, click Next.

27. On the Assign Drive Letter or Path page, click Next.

Note: Note the drive letters used on LON-HOST1, while creating new Disks in
LON-NVHOST2 make sure to use an unused letter.

28. On the Format Partition page, in the Volume label text box, type ClusterDisk. Select the Perform a
quick format check box, and then click Next.

29. Click Finish.

30. Close the dialog box asking to again format the disk.

31. Repeat steps 21 through 30 for Disk 2 and Disk 3. In step 28, use the following settings:
o Disk 2 name: ClusterVMs

o Disk 3 name: Quorum

32. Switch back to LON-HOST1.


33. On LON-HOST1 in Server Manager, click Tools, and then click Computer Management.

34. Expand Storage, and click Disk Management.

35. Right-click Disk Management, and then click Refresh.

36. Right-click Disk 2, and then click Online.

37. Right-click Disk 3, and then click Online.

38. Right-click Disk 4, and then click Online.

Note: Disk numbers might vary based on the number of physical disks in the host
computer. Choose the disks that are 20 GB in size.
MCT USE ONLY. STUDENT USE PROHIBITED
L9-56 Implementing failover clustering with Windows Server 2016 Hyper-V

 Task 2: Configure failover clustering on both host machines


1. On LON-HOST1, in Server Manager, on the Dashboard, click Add roles and features.

2. On the Before You Begin page, click Next.

3. On the Select installation type page, click Next.

4. On the Select destination server page, ensure that Select server from the server pool is selected,
and then click Next.
5. On the Select server roles page, click Next.

6. On the Select features page, in the Features list, click Failover Clustering. At the Add features
that are required for failover clustering prompt, click Add Features, and then click Next.
7. On the Confirm installation selections page, click Install.

8. When installation is complete, click Close.

9. Switch to LON-NVHOST2.
10. Repeat steps 1 through 8 on LON-NVHOST2.

11. Switch back to LON-HOST1.

12. On LON-HOST1, in Server Manager, click Tools, and then click Failover Cluster Manager.

13. In Failover Cluster Manager, in the center pane, under Management, click Create Cluster.

14. On the Before You Begin page of the Create Cluster Wizard, read the information, and then click
Next.
15. On the Select Servers page, in the Enter server name text box, type LON-HOST1, and then click
Add. Again in the Enter server name text box, type LON-NVHOST2, and then click Add.

16. Verify the entries, and then click Next.


17. On the Validation Warning page, click No. I do not require support from Microsoft for this
cluster, and then click Next.

18. On the Access Point for Administering the Cluster page, in the Cluster Name text box, type
VMCluster.

19. In the Address text box, type 172.16.0.126, and then click Next.

20. In the Confirmation dialog box, verify the information, clear the Add all eligible storage to the
cluster option check box, and then click Next.

21. On the Summary page, click Finish.

 Task 3: Configure disks for a failover cluster


1. On LON-HOST1, in the Failover Cluster Manager console, expand VMCluster.Adatum.com,
expand Storage, right-click Disks, and then click Add Disk.

2. In the Add Disks to Cluster dialog box, verify that all disks are selected, and then click OK.

3. Click Disks, and then verify that all disks display as available for cluster storage in Failover Cluster
Manager.

4. Click Cluster Disk 1. Right-click that disk, and then click Add to Cluster Shared Volumes.

5. Right-click VMCluster.Adatum.com, click More Actions, click Configure Cluster Quorum Settings,
and then click Next.
MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage and Compute with Windows Server 2016 L9-57

6. On the Select Quorum Configuration Option page, click Use default quorum configuration, and
then click Next.

7. On the Confirmation page, click Next.

8. On the Summary page, click Finish.

Results: After completing this exercise, you should have successfully configured the failover clustering
infrastructure for Hyper-V.

Exercise 3: Configuring a highly available VM


 Task 1: Move VM storage to the iSCSI target
1. Ensure that LON-HOST1 is the owner of the disk that you just assigned to Cluster Shared Volume.
You can read owner value in the Owner node column. If that is not the case, then move the disk to
LON-HOST1 before proceeding to step two.

Note: To move the disk:

• Right-click the disk and then click Move.

• Click Select Node, click LON-HOST1, and then click OK.

2. On LON-HOST1, on the desktop, on the taskbar, click the File Explorer icon.

3. In File Explorer, expand drive E:, expand Program Files, expand Microsoft Learning, expand
20740, expand Drives.

Note: The drive letter might be different depending on the physical machine.

4. Copy the 20740A-BASE.vhd virtual hard disk file to the C:\ClusterStorage\Volume1 location.

5. In File Explorer, expand drive E: expand Program Files, expand Microsoft Learning, expand Base.
6. Copy the Base16D-WS16-TP5.vhd virtual hard disk file to the C:\ClusterStorage\Volume1 location.

7. Click Start, select Windows PowerShell.

8. Run the following command:

Set-VHD -Path C:\ClusterStorage\Volume1\20740A-BASE.vhd -ParentPath


C:\ClusterStorage\Volume1\Base16D-WS16-TP5.vhd

 Task 2: Configure the VM as highly available


1. On LON-HOST1, in Failover Cluster Manager, click Roles, and then in the Actions pane, click
Virtual Machines.

2. Click New Virtual Machine.

3. Select LON-HOST1 as the cluster node, and then click OK.

4. In the New Virtual Machine Wizard, on the Before You Begin page, click Next.
MCT USE ONLY. STUDENT USE PROHIBITED
L9-58 Implementing failover clustering with Windows Server 2016 Hyper-V

5. On the Specify Name and Location page, in the Name text box, type TestClusterVM, click Store
the virtual machine in a different location, and then click Browse.

6. Browse to and select C:\ClusterStorage\Volume1, click Select Folder, and then click Next.

7. On the Specify Generation page, click Generation 1, and then click Next.

8. On the Assign Memory page, type 1536, and then click Next.
9. On the Configure Networking page, click Next.

10. On the Connect Virtual Hard Disk page, click Use an existing virtual hard disk, and then click
Browse.

11. Browse to C:\ClusterStorage\Volume1, click 20740A-BASE.vhd, and then click Open.

12. Click Next, and then click Finish. If an error occurs informing you that the Microsoft Management
has stopped working, restart this task from step 1.

13. On the Summary page of the High Availability Wizard, click Finish.

14. Right-click the TestClusterVM, and then click Settings.

15. On LON-HOST1, in the Settings for TestClusterVM, in the left navigation pane, expand Processor,
and then click Compatibility.

16. In the right pane, select the Migrate to a physical computer with a different processor version
check box, and then click OK.
17. Right-click TestClusterVM, and then click Start.

18. Ensure that the VM starts successfully.

 Task 3: Failover VM
1. On LON-NVHOST2, open Failover Cluster Manager.
2. Expand VMCluster.Adatum.com, and then click Roles.

3. Right-click TestClusterVM, click Move, click Live Migration, and then click Select Node.

4. Click LON-NVHOST2, and then click OK. Wait until the VM is migrated. You will see that the Owner
Node column will change the value when migration completes.

5. Right-click TestClusterVM, and then click Connect.

6. Ensure that you can access and operate the VM when it migrated to another host.

 Task 4: Configure drain on shutdown


1. On LON-HOST1, select Windows Start, and then launch Windows PowerShell.

2. At the Windows PowerShell command prompt, type the following command, and then press Enter:

(Get-Cluster).DrainOnShutdown

Note: This should return a value of “1”.

3. On LON-HOST1 launch Server Manager.

4. Select Tools, and then Failover Cluster Manager.

5. Select Roles in Failover Cluster Manager.

6. On LON-NVHOST2 click on Windows Start, select Power, and then select Shut down.
MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage and Compute with Windows Server 2016 L9-59

7. On the popup dialog select Continue.

8. On LON-HOST1 observe TestClusterVM live migrate to LON-HOST1 from LON-NVHOST2 before


shutting down.

 Task 5: Prepare for the next module


When you are finished with the lab, revert all VMs to their initial state:

1. On the host computer, start Hyper-V Manager.

2. Shut down all Virtual Machines.

3. Restart your computer, and when prompted, choose Windows Server 2012 R2.

Results: After completing this exercise, you should have successfully configured the VM as highly
available.
MCT USE ONLY. STUDENT USE PROHIBITED
MCT USE ONLY. STUDENT USE PROHIBITED
L10-61

Module 10: Implementing Network Load Balancing


Lab: Implementing NLB
Exercise 1: Implementing a Network Load Balancing (NLB) cluster
 Task 1: Verify website functionality for standalone servers
1. On LON-SVR1, on the taskbar, click the File Explorer icon.

2. In the File Explorer address bar, browse to c:\inetpub\wwwroot.

3. Double-click the file iisstart.png to open it in Microsoft Paint.

4. Ensure that the Paintbrush tool is selected.

5. Create a circle around the IIS logo.

6. Save the changes that you made to iisstart.png, and then close Microsoft Paint.

7. Close File Explorer.

8. Switch to LON-DC1.
9. Click Start, click All Apps, click Windows Accessories, and then click Internet Explorer.

10. In the Microsoft Internet Explorer Address Bar, type the address http://LON-SVR1, and then press
Enter.
11. Verify that the webpage displays the IIS logo with the circle that you just added.

12. In the Internet Explorer Address Bar, type the address http://LON-SVR2, and then press Enter.

13. Verify that the webpage does not display the IIS logo with the circle.

 Task 2: Install NLB


1. Switch to LON-SVR1.

2. Click Start, and then click Server Manager.

3. In the Server Manager console, click Tools, and then click Windows PowerShell ISE.

4. In the Windows PowerShell ISE window, type the following command to install NLB on LON-SRV1
and LON-SVR2, and then press Enter:

Invoke-Command -Computername LON-SVR1,LON-SVR2 -command {Install-WindowsFeature


NLB,RSAT-NLB}

Note: If you receive warnings about the network connection to each server, ignore
these.
MCT USE ONLY. STUDENT USE PROHIBITED
L10-62 Implementing Network Load Balancing

 Task 3: Create a new Windows Server 2016 NLB cluster


1. On LON-SVR1, in the Windows PowerShell ISE window, type the following command to create the
new NLB cluster, and then press Enter:

New-NlbCluster -InterfaceName "Ethernet" -OperationMode Multicast -ClusterPrimaryIP


172.16.0.42 -ClusterName LON-NLB

2. In the Windows PowerShell ISE window, type the following command to add the NLB cluster to
Domain Name System (DNS), and then press Enter:

Invoke-Command -Computername LON-DC1 -command {Add-DNSServerResourceRecordA –zonename


adatum.com –name LON-NLB –Ipv4Address 172.16.0.42}

 Task 4: Add a second host to the cluster


• On LON-SVR1, in the Windows PowerShell ISE window, type the following command to add a
second host to the cluster, and then press Enter:

Add-NlbClusterNode -InterfaceName "Ethernet" -NewNodeName "LON-SVR2" -


NewNodeInterface "Ethernet"

 Task 5: Validate the NLB cluster


1. On LON-SVR1, in Server Manager, click Tools, and then click Network Load Balancing Manager.

2. Click OK to dismiss the Warning message box.


3. In the Network Load Balancing Manager window, click LON-NLB (172.16.0.42).

4. In the Host configuration information for hosts in cluster LON-NLB (172.16.0.42) pane, verify
that the nodes LON-SVR1 and LON-SVR2 display with the status Converged.
5. Right-click the LON-NLB (172.16.0.42) cluster, and then click Cluster properties.

6. In the LON-NLB(172.16.0.42) Properties dialog box, on the Cluster Parameters tab, verify that the
cluster is set to use the Multicast operations mode.
7. On the Port Rules tab, verify that there is a single port rule with a Cluster IP address of All that starts
at port 0 and ends at port 65535 for both TCP and UDP protocols, and that it uses Single affinity.

8. Click OK to close the LON-NLB(172.16.0.42) Properties dialog box.

Results: After completing this exercise, you should have successfully implemented an NLB cluster.

Exercise 2: Configuring and managing the NLB cluster


 Task 1: Configure port rules and affinity

Configure affinity for NLB cluster nodes


1. On LON-SVR2, click Start, and then click Windows PowerShell.

2. In the Windows PowerShell window, type the following commands and then press Enter:

Mkdir c:\porttest
MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage and Compute with Windows Server 2016 L10-63

3. In the Windows PowerShell window, type the following commands and then press Enter:

Xcopy /s c:\inetpub\wwwroot c:\porttest

4. In the Windows PowerShell window, type the following commands and then press Enter:

New-Website –Name PortTest –PhysicalPath “C:\porttest” –Port 5678

5. In the Windows PowerShell window, type the following commands and then press Enter:

New-NetFirewallRule –DisplayName PortTest –Protocol TCP –LocalPort 5678

Configure NLB port rules


1. On the Taskbar, click the File Explorer icon.

2. In File Explorer, click drive C, double-click the porttest folder, and then double-click iisstart.png to
open the file in Microsoft Paint.

3. Use the paintbrush to place a line across the IIS logo.


4. Save the changes to iisstart.png, and then close Microsoft Paint.

5. Switch to LON-DC1.

6. In the Internet Explorer Address Bar, type http://LON-SVR2:5678, and then press Enter.

7. Verify that the IIS Start page displays the IIS logo with a line across it.

8. Switch to LON-SVR1.

9. On LON-SVR1, switch to Network Load Balancing Manager.


10. In the Network Load Balancing Manager console, right-click LON-NLB(172.16.0.42), and then
click Cluster Properties.

11. In the LON-NLB (172.16.0.42) Properties dialog box, on the Port Rules tab, select the All port rule,
and then click Remove.

12. On the Port Rules tab, click Add.

13. In the Add/Edit Port Rule dialog box, type the following information, and then click OK:
o Port range: 80 to 80

o Protocols: Both

o Filtering mode: Multiple host

o Affinity: None

14. On the Port Rules tab, click Add.

15. In the Add/Edit Port Rule dialog box, type the following information, and then click OK:

o Port range: 5678 to 5678

o Protocols: Both

o Filtering mode: Single host

16. Click OK to close the LON-NLB(172.16.0.42) Properties dialog box.

17. In the Network Load Balancing Manager console, right-click LON-SVR1 (Ethernet), and then click
Host Properties.
MCT USE ONLY. STUDENT USE PROHIBITED
L10-64 Implementing Network Load Balancing

18. On the Port Rules tab, click the port rule that has 5678 as the Start and End value, and then click
Edit.

19. In the Handling priority list, click 10.

20. Click OK twice to close both the Add/Edit Port Rule dialog box and the LON-SVR1 (Ethernet)
Properties dialog box.

 Task 2: Validate port rules


1. Switch to LON-DC1.

2. In the Internet Explorer Address Bar, type http://lon-nlb, and then press Enter.

3. Click the Refresh icon 20 times.


4. Verify that you see web pages both with and without the circle you added.

5. In the Internet Explorer Address Bar, type the address http://LON-NLB:5678, and then press Enter.

6. Click the Refresh icon 20 times.

7. Verify that now only the web page with the distinctive line displays.

Note: It is possible that you will need to refresh your browser more than 20 times to
see the different logos on http://lon-nlb.

 Task 3: Manage host availability in the NLB cluster


1. Switch to LON-SVR1.

2. In the Network Load Balancing Manager console, right-click LON-SVR1 (Ethernet), click Control
Host, and then click Suspend.

3. Click the LON-NLB (172.16.0.42) node. Verify that the node LON-SVR1 displays as Suspended, and
that the node LON-SVR2 displays as Converged.

4. Right-click LON-SVR1(Ethernet), click Control Host, and then click Resume.


5. Right-click LON-SVR1(Ethernet), click Control Host, and then click Start.

6. Click the LON-NLB (172.16.0.42) node. Verify that both the nodes LON-SVR1 and LON-SVR2 now
display as Converged.

Note: You might have to refresh the view.

Results: After completing this exercise, you should have successfully configured and managed an NLB
cluster.
MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage and Compute with Windows Server 2016 L10-65

Exercise 3: Validating high availability for the NLB cluster


 Task 1: Validate website availability when the host is unavailable
1. On LON-SVR1, click Start, and then click Windows PowerShell.

2. In the Windows PowerShell window, type the following command, and then press Enter:

restart-computer

3. Switch to LON-DC1.

4. In the Internet Explorer Address Bar, type http://LON-NLB, and then press Enter.

5. Refresh the website 20 times.

6. Verify that the website is available while LON-SVR1 reboots, and verify that it does not display the IIS
logo with the circle until LON-SVR1 restarts.

 Task 2: Configure and validate Drainstop


1. Sign in to LON-SVR1 with the username Adatum\Administrator and the password Pa$$word.

2. Click Start, and then click the Server Manager tile.


3. In Server Manager, click Tools, and then click Network Load Balancing Manager.

4. Click OK to dismiss the Warning message box.

5. In the Network Load Balancing Manager console, right-click LON-SVR2(Ethernet), click Control
Host, and then click Drainstop.

6. Switch to LON-DC1.

7. In the Internet Explorer Address Bar, type http://lon-nlb, and then press Enter.

8. Refresh the site 20 times, and then verify that only the Welcome page with the circled IIS logo
displays.

Results: After completing this exercise, you should have successfully validated high availability for the NLB
cluster.

 Task 3: Prepare for the next module


When you finish the lab, revert the virtual machines to their initial state.

1. On the host computer, start Hyper-V Manager.


2. In the Virtual Machines list, right-click 20740A-LON-DC1, and then click Revert.

3. In the Revert Virtual Machine dialog box, click Revert.

4. Repeat steps two and three for 20740A-LON-SVR1 and 20740A-LON-SVR2.


MCT USE ONLY. STUDENT USE PROHIBITED
MCT USE ONLY. STUDENT USE PROHIBITED
L11-67

Module 11: Creating and managing deployment images


Lab: Using MDT to deploy Windows Server
2016
Exercise 1: Configuring MDT
 Task 1: Configure the deployment share
1. On LON-SVR1, click the Start button, click All Apps, scroll down the list of apps, expand Microsoft
Deployment Toolkit, and then click the Deployment Workbench item.

2. In the Deployment Workbench console, click the Deployment Shares node.

3. Right-click the Deployment Shares node, and then click New Deployment Share.

4. In the New Deployment Share Wizard, on the Path page, in the Deployment share path field,
ensure that C:\DeploymentShare is listed in the Deployment share path text box. If it is not, enter
it into the text box, and then click Next.

5. On the Share page, notice the name of the deployment share (it is a hidden share), and then click
Next.

6. On the Descriptive Name page, note that this name, and not the path, will appear in the
Deployment Workbench, and then click Next.
7. Review the Options page, ensure that the Ask for a product key and Ask to set the local
Administrator password check boxes are cleared, and then click Next.

8. On the Summary page, click Next.


9. On the Confirmation page, click Finish.

Results: After completing this exercise, you should have configured MDT 2013 Update 2 and the MDT
Deployment Share.

Exercise 2: Creating and deploying an image


 Task 1: Add a reference image (Windows Server 2016)
1. On LON-SVR1, in the 20740A-LON-SVR1 on localhost Virtual Machine Connection window, click
Media, point to DVD Drive, and then click Insert Disk.

2. In the Open dialog box, browse to D:\Program files\Microsoft Learning\20740\Drives.

3. Click the WinServer2016_TP5.ISO file, and then click Open.

4. Return to the Deployment Workbench, and expand Deployment Shares, and then expand MDT
Deployment Share (C:\DeploymentShare).

5. Under the MDT Deployment Share (C:\DeploymentShare) node, right-click the Operating
Systems folder, and then click Import Operating System.

6. In the Import Operating System Wizard, on the OS Type page, select the Full set of source files
option, and then click Next.
7. On the Source page, in the Source directory text box, type D:\, and then click Next.
MCT USE ONLY. STUDENT USE PROHIBITED
L11-68 Creating and managing deployment images

8. On the Destination page, in the Destination directory name text box, type
WindowsServer2016x64, and then click Next.

9. On the Summary page, click Next.

10. The operating system import will take about 5 minutes. On the Confirmation page, click Finish.

 Task 2: Add an application to the image


1. Return to the Deployment Workbench console.

2. Right-click Applications, and then select New Application.

3. In the New Application Wizard, on the Application Type page, ensure the Application with
source files option is selected, and then click Next.

4. On the Details page, in the Publisher text box, type Microsoft and in the Application Name text
box, type ExcelViewer, and then click Next.

5. On the Source page, in the Source directory text box, type E:\Labfiles\Mod11, and then click Next.
6. On the Destination page, in the Specify the name of the directory that should be created text
box, type ExcelViewer, and then click Next.

7. On the Command Details page, in the Command line text box, type excelviewer.exe /quiet
/norestart, and then click Next.

8. On the Summary page, click Next.

9. On the Confirmation page, click Finish.

 Task 3: Create the deployment task sequence


1. Click Task Sequences.

2. Right-click Task Sequences, and then select New Task Sequence.

3. The New Task Sequence Wizard opens to the General Settings page. In the General Settings
page, in the Task sequence ID text box, type 11-01, and in the Task sequence name text box, type
Lab 11-01, and in the Task sequence comments, type Windows Server 2016 Deployment to
LON-SVR6 task sequence for Module 11 lab, and then click Next.

4. On the Select Template page, in the drop-down list, select the Standard Server Task Sequence,
and then click Next.

5. On the Select OS page, in the Operating Systems list, click Windows Server 2016 Technical
Preview 5 SERVERDATACENTER in WindowsServer 2016x64 install.wim, and then click Next.

6. On the Specify a Product Key page, ensure the Do not specify a product key at this time option is
selected, and then click Next.
7. On the OS Settings page, in the Full Name text box, type Administrator, and in the Organization
text box, type A. Datum Corporation, and then click Next.

8. On the Admin Password page, select the Use the specified Administrator password option, and
in the Administrator Password and Please confirm Administrator Password text boxes, type
Pa$$w0rd, and then click Next.

9. On the Summary page, review the selected options, and then click Next.

10. On the Confirmation page, click Finish.

11. In the details pane of the Task Sequences node in the Deployment Workbench, double-click the
Lab11-01 task sequence.
MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage, and Compute with Windows Server 2016 L11-69

12. In the Lab 11-01 Properties window, select the Task Sequence tab.

13. In the console tree, expand the State Restore node, and below it, select the Install Applications
node.

14. In the details pane of Install Applications, select the Install a single application option, and then
click Browse.

15. In the Select an item window, select the Microsoft ExcelViewer item, and then click OK.

16. To close the Lab 11-01 Properties window, click OK.

17. In the console tree of the Deployment Workbench, select and then right-click the MDT
Deployment Share (C:\DeploymentShare) node, and then select Update Deployment Share.

18. The Update Deployment Share Wizard will start. On the Options page, click Next.

19. On the Summary page, click Next.

20. The boot image will be made, and the deployment will be completed. This could take several
minutes.

21. On the Confirmation page, click Finish.

22. Right-click the MDT Deployment Share (C:\DeploymentShare) node, and select Properties, and
then select the Monitoring tab.

23. Check the box that says Enable Monitoring for this Deployment Share, and then click OK.

 Task 4: Deploy the Image to LON-SVR6


1. In Hyper-V Manager on the HOST computer, double-click 20740A-LON-SVR6.

2. In the 20740A-LON-SVR6 on HOST-Virtual Machine Connection, select Media, and in the context
menu, select DVD Drive, and then select Insert Disk.
3. In the Open window, expand This PC, navigate to D:\Program Files\Microsoft Learning\20740
\Drives, select LiteTouchPE_x64.iso, and then click Open.

4. Start the 20740A-LON-SVR6 virtual machine.


5. The Microsoft Deployment Toolkit splash screen will appear as it loads the deployment task.

6. The Microsoft Deployment Toolkit wizard will start. On the Welcome page, select the Run the
Deployment Wizard to install a new Operating system item.

7. On the User Credentials page, in the User Name text box, type Administrator, in the Password
text box, type Pa$$w0rd, and in the Domain text box, type Adatum.com, and then click OK.

8. On the Task Sequence page, select the Lab 11-01 task sequence item, and then click Next.

9. On the Computer Details page, in the Computer name text box, type LON-SVR6, and then click the
Join a domain option.

10. In the Domain to join text box, type Adatum.com, and then click Next.

11. On the Locale and Time page, click Next.

12. On the BitLocker page, ensure the Do not enable BitLocker for this computer option is selected,
and then click Next.

13. On the Ready page, click Begin.

14. An Installation Progress window appears that allows you to monitor the progress of the
deployment.
MCT USE ONLY. STUDENT USE PROHIBITED
L11-70 Creating and managing deployment images

15. Switch to LON-SVR1. In the Deployment Workbench, expand the MDT Deployment Share
(C:\DeploymentShare) node, and then select the Monitoring node. Right-click it, and then select
Refresh. You will see updating information for the Lab 11-01 task sequence in the details pane.

16. After approximately 5–10 minutes, LON-SVR6 will reboot and stop at Product Key page. Click the
Do this later hyperlink.

17. After a few moments, LON-SVR6 will restart and finalize the settings.

18. The Windows Server 2016 desktop will appear. Wait until the Installation Progress window appears,
and you should see the installation take place within this window.

19. You will see the Installing Microsoft Excel Viewer progress bar appear under the Running Action:
Install Applications progress bar. The Installation Progress window will then close after a few
minutes.

20. A Deployment Summary page appears, stating Operating system deployment completed
successfully. Click Finish.

21. In the Server Manager console tree, select Local server. In the details pane of local server, examine
the Computer Name and Domain status. If the Domain status shows as Unknown, click the
Refresh icon. It should be named LON-SVR6 and be in the Adatum.com domain.

22. Click the Start menu icon and then click All Apps.
23. In the returned list, observe the Microsoft Office Excel Viewer app is listed.

24. Close all open windows and sign out of all virtual machines.

Results: After completing this exercise, you should have used MDT 2013 Update 2 to deploy Windows
Server 2016 to LON-SVR6, and then you should have tested the deployment of an application.

 Task 5: Prepare for the next module


After you finish the lab, revert the virtual machines to their initial state. To do this, complete the following
steps:

1. On the host computer, start Hyper V Manager.

2. In the Virtual Machines list, right-click 20740A-LON-DC1, and then click Revert.

3. In the Revert Virtual Machine dialog box, click Revert.

4. Repeat steps 2 and 3 for 20740A-LON-SVR1 and 20740A-LON-SVR6.


MCT USE ONLY. STUDENT USE PROHIBITED
L12-71

Module 12: Managing, monitoring, and maintaining virtual


machine installations
Lab A: Implementing WSUS and deploying
updates
Exercise 1: Implementing WSUS
 Task 1: Install the WSUS server role
1. Sign in to LON-SVR4 as Adatum\Administrator with the password Pa$$w0rd.

2. On LON-SVR4, if necessary, open Server Manager, click Manage, and then click Add Roles and
Features.

3. In the Add Roles and Features Wizard, click Next.


4. On the Select installation type page, ensure that Role-based or feature-based installation is
selected, and then click Next.

5. On the Select destination server page, click Next.


6. On the Select server roles page, select the Windows Server Update Services check box.

7. In the pop-up window, click Add Features.

8. On the Select server roles page, click Next.

9. On the Select features page, click Next.

10. On the Web Server Role (IIS) page, click Next.

11. On the Select role services page, click Next.


12. On the Windows Server Update Services page, click Next.

13. On the Select role services page, confirm that both WID Connectivity and WSUS Services are
selected, and then click Next.

14. On the Content location selection page, in the text box, type C:\WSUSUpdates, and then click
Next.

15. On the Confirm installation selections page, click Install.

16. When the installation completes, click Close.

17. In Server Manager, click Tools, and then click Windows Server Update Services.

18. In the Complete WSUS Installation dialog box, click Run, and wait for the task to complete. Click
Close.

19. Do not close the Windows Server Update Services (WSUS) Configuration Wizard:LON-SVR4
window.

 Task 2: Configure WSUS to synchronize with an upstream WSUS server


1. In the Windows Server Update Services Configuration Wizard:LON-SVR4 window, click Next
twice.

2. On the Choose Upstream Server page, click Synchronize from another Windows Server Update
Services server, in the Server name text box, type LON-SVR2.Adatum.com, and then click Next.

3. On the Specify Proxy Server page, click Next.


MCT USE ONLY. STUDENT USE PROHIBITED
L12-72 Managing, monitoring, and maintaining virtual machine installations

4. On the Connect to Upstream Server page, click Start Connecting. Wait for the upstream server
settings to be applied, and then click Next.

5. On the Choose Languages page, click Next.

6. On the Set Sync Schedule page, click Next.

7. On the Finished page, select the Begin initial synchronization check box, and then click Finish.
8. In the Windows Server Update Services console, in the navigation pane, double-click LON-SVR4,
and then click Options.

9. In the Options pane, click Computers.

10. In the Computers dialog box, select Use Group Policy or registry settings on computers. Click OK.

Note: You might need to wait until synchronization is complete before you can
click OK.

Results: After completing this exercise, you should have implemented the WSUS server role.

Exercise 2: Configuring update settings


 Task 1: Configure WSUS groups
1. On LON-SVR4, in the WSUS console, in the navigation pane, double-click Computers.
2. Click All Computers, and then, in the Actions pane, click Add Computer Group.

3. In the Add Computer Group dialog box, in the Name text box, type Research, and then click Add.

 Task 2: Configure Group Policy to deploy WSUS settings


1. Switch to LON-DC1.
2. In Server Manager, click Tools, and then click Group Policy Management.

3. In the Group Policy Management console, double-click Forest: Adatum.com, double-click


Domains, and then double-click Adatum.com.
4. Right-click the Research organizational unit (OU), and then click Create a GPO in this domain, and
Link it here.

5. In the New GPO dialog box, in the Name text box, type WSUS Research, and then click OK.

6. Double-click the Research OU, right-click WSUS Research, and then click Edit.

Note: If the Group Policy Management Console dialog box appears, click OK to
continue.

7. In the Group Policy Management Editor, under Computer Configuration, double-click Policies,
double-click Administrative Templates, double-click Windows Components, and then click
Windows Update.

8. In the Settings pane, double-click Configure Automatic Updates, and then click the Enabled
option.
MCT USE ONLY. STUDENT USE PROHIBITED
Installation, Storage, and Compute with Windows Server 2016 L12-73

9. In the Configure automatic updating field, click and select 4 – Auto download and schedule the
install, and then click OK.

10. In the Settings pane, double-click Specify intranet Microsoft update service location, and then
click the Enabled option.

11. In the Set the intranet update service for detecting updates and the Set the intranet statistics
server text boxes, type http://LON-SVR4.Adatum.com:8530, and then click OK.

12. In the Settings pane, double-click Enable client-side targeting.

13. In the Enable client-side targeting dialog box, click the Enabled option, in the Target group name
for this computer text box, type Research, and then click OK.

14. Close the Group Policy Management Editor and the Group Policy Management console.

15. In Server Manager, click Tools, and then click Active Directory Users and Computers.

16. In Active Directory Users and Computers, double-click Adatum.com, click Computers, right-click
LON-CL1, and then click Move.

17. In the Move dialog box, click the Research OU, and then click OK.
18. Close Active Directory Users and Computers.

 Task 3: Verify the application of Group Policy settings


1. Switch to LON-CL1.

2. On LON-CL1, click the Start button, click Power, and then click Restart.
3. After LON-CL1 restarts, sign in as Adatum\Administrator with the password Pa$$w0rd.

4. In Cortana’s search box, type cmd, right-click the Command Prompt tile, and then click Run as
administrator.
5. At the command prompt, type the following command, and then press Enter:

Gpresult /r

6. In the output of the command, confirm that, under Computer Settings, WSUS Research is listed
under Applied Group Policy Objects.

 Task 4: Initialize Windows Update


1. On LON-CL1, at the command prompt, type the following command, and then press Enter:

Wuauclt.exe /detectnow /reportnow

2. Switch to LON-SVR4.

3. In the Update Services console, expand Computers, expand All Computers, and then click
Research.

4. Verify that LON-CL1 appears in the Research group. If it does not, then repeat steps 1 through 3. It
might take several minutes for LON-CL1 to display.
5. Verify that updates are reported as needed. If updates are not reported, repeat steps 1-3. It might
take 10 to 15 minutes for updates to register.

Results: After completing this exercise, you should have configured update settings for client computers.
MCT USE ONLY. STUDENT USE PROHIBITED
L12-74 Managing, monitoring, and maintaining virtual machine installations

Exercise 3: Approving and deploying an update by using WSUS


 Task 1: Approve WSUS updates for the Research computer group
1. On LON-SVR4, in Windows Server Update Services, under Updates, click All Updates, right-click
Update for Windows 10 Version 1511 for x64-based Systems (KB3140741), and then click
Approve.

2. In the Approve Updates window, in the Research drop-down list box, select Approved for Install.

3. Click OK, and then click Close.

 Task 2: Deploy updates to LON-CL1


1. On LON-CL1, at the command prompt, type the following command, and then press Enter:

Wuauclt.exe /detectnow

2. In the I’m Cortana. Ask me anything box of the Start screen, type Windows Update.

3. In the Best match list, click Check for updates.

4. Click Check for updates.


5. The update begins to download.

6. Close the Windows Update window when the installation is complete.

 Task 3: Verify update deployment to LON-CL1


1. On LON-CL1, in Cortana’s search box, type Event Viewer, and then click View event logs.
2. In Event Viewer, expand Applications and Services Logs, expand Microsoft, expand Windows,
expand WindowsUpdateClient and then click Operational to view events.

3. Confirm that events are logged in relation to the update.

Results: After completing this exercise, you should have approved and deployed an update by using
WSUS.

 Task 4: Prepare for the next lab


When you finish the lab, revert all virtual machines back to their initial state. To do this, perform the
following steps:

1. On the host computer, start Microsoft Hyper-V Manager.

2. In the Virtual Machines list, right-click 20740A-LON-DC1, and then click Revert.

3. In the Revert Virtual Machines dialog box, click Revert.

4. Repeat steps 2 to 3 for 20740A-LON-SVR2, 20740A-LON-SVR4, and 20740A-LON-CL1.

You might also like