MCT USE ONLY. STUDENT USE PROHIBITED L1-1
Module 1: Fundamental Storage Technologies and Components
Lab: Planning and Configuring Storage Technologies and Components Exercise 1: Planning Storage Requirements Task 1: Read the supporting documentation •
Read the supporting documentation in the lab exercise scenario.
Task 2: Record your planned course of action •
Record your answers to the questions in the Student Manual.
Task 3: Examine the suggested proposals in the Lab Answer Key 1.
You plan to evaluate iSCSI, Fibre Channel, and InfiniBand solutions to meet the requirements. Which solution do you expect to select? You would not use InfiniBand because the requirements call for reasonable performance and low cost. InfiniBand is designed for high performance solutions and is expensive. Of the two choices remaining, iSCSI and Fibre Channel, iSCSI most closely matches the low cost and reasonable performance requirements. You should deploy an iSCSI solution to each of the geographic locations that has Information Technology (IT) infrastructure and requires storage.
2.
Which storage—block-level storage or file-level storage—do you plan to implement for the SQL databases?
Based on the requirements alone, you could use either type because each has advantages and disadvantages. SQL databases can run Server Message Block (SMB) file shares since the release of SMB 3.0, and the overall performance is similar to that of block-level storage. The answer might depend on whether you have an existing highly available SMB file server infrastructure and whether the server team or the storage team will manage the storage. 3.
How will your solution minimize administrative overhead for the storage administrators?
By selecting iSCSI, you avoid the complexities of Fibre Channel and InfiniBand solutions. In addition, an iSCSI solution requires less hardware and less software. All of these choices reduce the administrative overhead for the storage administrators. 4.
Which server role(s) do you plan to use for the provisioning of VMWare ESX/ESXi virtual machines?
You can use the Server for NFS role to create network file system (NFS) file shares that are supported for VMWare ESX/ESXi virtual machines. 5.
Will you run the Hyper-V in Windows Server 2012 virtual machines on NFS or SMB?
The Hyper-V virtual machines can run on SMB but are not supported on NFS. As a result, you will need to run the virtual machines on SMB. 6.
Which file sharing protocol will you use for UNIX clients that require access?
Historically, NFS was the protocol of choice for UNIX clients to access file shares. However, today most UNIX clients equally support NFS and SMB natively. So you can use either of the technologies. If you have an existing NFS file sharing deployment, you would likely choose NFS. If you have an existing SMB file sharing deployment, you would likely choose SMB.
7.
How do you plan to disable legacy SMB access for existing SMB file shares? a.
MCT USE ONLY. STUDENT USE PROHIBITED
L1-2 Fundamental Storage Technologies and Components
First, you need to locate all the existing file servers that have legacy SMB shares. You can check for legacy shares on the current host by using the following command: Get-SmbServerConfiguration | Select EnableSMB1Protocol
You can also create a Windows PowerShell script to check for legacy shares on all the file servers. b.
After you have located all of the existing file servers that have legacy SMB shares, you need to disable the SMB access. You can disable the SMB 1 protocol on each server, by using the following command: Set-SmbServerConfiguration -EnableSMB1Protocol $false
You can also create a Windows PowerShell script to disable legacy SMB access across all of the servers.
Results: After completing this lab exercise, you will have successfully planned a storage solution to meet the requirements.
Exercise 2: Configuring iSCSI Storage ď ľ Task 1: Install the iSCSI Target Server feature 1.
On LON-DC1, in Server Manager, click Add roles and features.
2.
In the Add Roles and Features Wizard, 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, expand File and Storage Services (2 of 12 Installed), expand File and iSCSI Services (1 of 11 Installed), select the iSCSI Target Server check box, and then click Next.
6.
On the Select features page, click Next.
7.
On the Confirm installation selections page, click Install.
8.
When the installation completes, click Close.
ď ľ Task 2: Configure iSCSI targets 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.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L1-3
7.
On the Assign iSCSI target page, ensure that the New iSCSI target radio button 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 172.16.0.22, 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 172.16.0.12, 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. 24. In the iSCSI VIRTUAL DISKS pane, click TASKS, and then click New iSCSI Virtual Disk.
25. 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. 26. On the Specify iSCSI virtual disk name page, in the Name text box, type iSCSIDisk3, and then click Next.
27. On the Specify iSCSI virtual disk size page, in the Size text box, type 5, ensure that GB is selected, and then click Next. 28. On the Assign iSCSI target page, click lon-dc1, and then click Next. 29. On the Confirm selection page, click Create. 30. On the View results page, wait until the virtual disk is created, and then click Close.
ď ľ Task 3: Configure MPIO 1.
Switch to LON-SVR2.
2.
In Server Manager, 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
L1-4 Fundamental Storage Technologies and Components
5.
On the Select destination server page, ensure that Select 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. In Server Manager, on the menu bar, click Tools, and then, in the Tools list, select iSCSI Initiator. 11. In the Microsoft iSCSI dialog box, click Yes.
12. In the iSCSI Initiator Properties dialog box, on the Targets tab, in the Target box, type LON-DC1, and then click Quick Connect. 13. In the Quick Connect box, click Done. 14. In the iSCSI Initiator Properties dialog box, click OK to close the dialog box. 15. In Server Manager, on the menu bar, click Tools, and then, in the Tools list, click MPIO.
16. In the MPIO Properties dialog box, on the Discover Multi-Paths tab, select Add support for iSCSI devices, and then click Add. 17. When you are prompted to restart the computer, click Yes. 18. After the computer restarts, sign in to LON-SVR2 as Adatum\Administrator with the password Pa$$w0rd. 19. In Server Manager, on the menu bar, click Tools, and then, in the Tools list, click MPIO. 20. In the MPIO Properties dialog box, on the MPIO Devices tab, notice that Device Hardware Id MSFT2005iSCSIBusType_0x9 has been added to the list. 21. In the MPIO Properties dialog box, click OK to close the dialog box.
ď ľ Task 4: Connect to and configure the iSCSI targets 1.
On LON-SVR2, in Server Manager, on the menu bar, click Tools, and then, in the Tools list, 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, click Enable multi-path, 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, click 172.16.0.22, and, in the Target Portal IP list, click 172.16.0.10 / 3260.
8.
In the Advanced Settings dialog box, click OK.
9.
In the Connect to Target dialog box, click OK.
10. In the iSCSI Initiator Properties dialog box, on the Targets tab, click Connect.
11. 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.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L1-5
12. In the Advanced Settings dialog box, on the General tab, change the Local Adapter from Default to Microsoft iSCSI Initiator.
13. In the Initiator IP list, select 172.16.0.12, and, in the Target Portal IP list, select 172.16.0.11 / 3260. 14. In the Advanced Settings dialog box, click OK. 15. In the Connect to Target dialog box, click OK. 16. In the iSCSI Initiator Properties dialog box, on the Volumes and Devices tab, click Auto Configure. 17. 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. 18. In the Devices dialog box, click MPIO. 19. Verify that, in Load balance policy, Round Robin is selected.
Under This device has the following paths, notice that two paths are listed. Select the first path, and then click Details. 20. Note the IP address of the Source and Target portals, and then click OK. 21. Select the second path, and then click Details. 22. Verify that the Source IP address is of the second network adapter, and then click OK. 23. In the Device Details dialog box, click OK. 24. In the Devices dialog box, click OK. 25. In the iSCSI Initiator Properties dialog box, click OK.
ď ľ Task 5: Initialize the iSCSI disks 1.
On LON-SVR2, in Server Manager, click File and Storage Services. 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, accept the default drive letter or select an available drive letter as the drive letter, and then click Next.
10. On the Select file system settings page, erase the existing text in the Volume label text box, type iSCSI Volume, and then click Next. 11. On the Confirm selections page, to finish creating the volume, click Create. 12. After the volume is created, on the Completion page, click Close. 13. On the taskbar, click the File Explorer icon, and verify that the iSCSI Volume drive is displayed. 14. Repeat steps 2 through 13 for the other two offline iSCSI disks.
MCT USE ONLY. STUDENT USE PROHIBITED
L1-6 Fundamental Storage Technologies and Components
Results: After completing this exercise, you will have installed the iSCSI Target Server feature, configured iSCSI targets, installed and configured the Multipath I/O feature, connected to the iSCSI targets, and initialized the iSCSI disks.
Exercise 3: Enabling BitLocker Drive Encryption to Secure a Drive ď ľ Task 1: Enable BitLocker 1.
On LON-SVR1, in Server Manager, click Manage, and then 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, click Next.
5.
On the Select server roles page, click Next.
6.
On the Select features page, click BitLocker Drive Encryption. On the Add features that are required for BitLocker Drive Encryption page, click Add Features, and then click Next.
7.
On the Confirm installation selections page, click Restart the destination server automatically if required, click Yes in the warning dialog box, and then click Install.
8.
After the automatic restart, sign in to LON-SVR1 as Adatum\Administrator with the password Pa$$w0rd. The Add Roles and Features Wizard will show that the BitLocker Drive Encryption installation succeeded within a couple of minutes. If the Add Roles and Features Wizard is not displayed then restart LON-SVR1. Click Close after the installation succeeds.
9.
Open the Control Panel, and then, in the Search Control Panel search box, type BitLocker.
10. In the search results, click BitLocker Drive Encryption. If you do not see BitLocker Drive Encryption, then restart LON-SVR1 and then go back to step 9 to search from Control Panel. 11. In the BitLocker Drive Encryption window, next to volume F, click the Down Arrow, and then click Turn on BitLocker.
12. On the Choose how you want to unlock this drive page, click Use a password to unlock the drive, type the password Pa$$w0rd into both the Enter your password text box and the Reenter your password text box, and then click Next. 13. On the How do you want to back up your recovery key page, click Save to a file. 14. In the Save BitLocker recovery key as dialog box, browse to E:\Labfiles\Mod01, and then click Save.
15. In the BitLocker Drive Encryption dialog box, to save the recovery key to the computer, click Yes. 16. After the recovery key is saved to the file, click Next. 17. On the Are you ready to encrypt this drive page, click Start encrypting.
18. When the encryption is complete, close any dialog boxes and the BitLocker Drive Encryption window.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L1-7
Task 2: Verify that BitLocker is enabled 1.
On the taskbar, click the Windows PowerShell icon.
2.
At the Windows PowerShell prompt, to view the current status, run the following command: manage-bde -status
The F: volume should show "Protection On" as the protection status.
Task 3: Add data to the encrypted volume 1.
On the taskbar, click the File Explorer icon.
2.
In File Explorer, browse to Allfiles E:/Labfiles/Mod01.
3.
In the Mod01 folder, right-click the readme.txt file, and then, on the menu, click Copy.
4.
In the left pane, double-click the F: volume.
5.
In the right pane, right-click an empty area, and then, to copy the readme.txt file to the F: volume, click Paste.
Task 4: Move the F: volume to another server 1.
In the Virtual Machine Connection window for LON-SVR1, click File, and then click Settings.
2.
In the left pane, under SCSI Controller, click the SCSI hard drive named 10971B-LON-SVR1Encrypted_{serial number}.avhdx.
3.
In the right pane, click Remove, and then click OK. If a Settings dialog box appears, to remove the virtual hard disk, click Continue.
4.
Switch to LON-DC1.
5.
In the Virtual Machine Connection window for LON-DC1, click File, and then click Settings.
6.
In the left pane of the Settings window, click SCSI Controller.
7.
In the right pane, click Hard Drive, and then click Add.
8.
In the right pane, click Browse, browse to D:\Program Files\Microsoft Learning\10971\Drives \10971B-LON-SVR1\Virtual Hard Disks\, click the avhdx file, and then click Open.
9.
Click OK. If a Settings dialog box appears, click Continue.
10. On LON-DC1, right-click the Start menu, and then click Disk Management. 11. In the list of disks, right-click Disk 2, and then click Online.
Task 5: Recover the data 1.
On LON-DC1, switch to Server Manager, click Manage, and then 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, click Next.
5.
On the Select server roles page, click Next.
6.
On the Select features page, click BitLocker Drive Encryption. On the Add features that are required for BitLocker Drive Encryption page, click Add Features, and then click Next.
7.
On the Confirm installation selections page, click Restart the destination server automatically if required. In the warning dialog box, click Yes, and then click Install.
8.
After restarting, sign in to LON-DC1 as Adatum\Administrator with the password Pa$$w0rd.
MCT USE ONLY. STUDENT USE PROHIBITED
L1-8 Fundamental Storage Technologies and Components
The BitLocker Drive Encryption installation progress might show that the installation succeeded within a couple of minutes. If so, after the installation succeeds, click Close. If not, close the BitLocker Drive Encryption window, if applicable. Otherwise, move to the next step. 9.
On LON-DC1, on the taskbar, click the File Explorer icon.
Note that Local Disk (F:) is shown with a lock icon to indicate that the volume is locked with BitLocker. 10. Right-click Start, click Run, and then type \\lon svr1\e$\Labfiles\Mod01. Click OK. Double-click the BitLocker Recovery Key text file. Copy the 48 digit recovery key into the clipboard. 11. Double-click the Local Disk (F:) volume. 12. In the BitLocker (F:) window, click More options. Note the option for entering a recovery key. Paste the recovery key into the recovery key field, and then click Unlock. 13. Double-click F:, and then double-click readme.txt. Validate that you can read the text “This is a test.”
Results: After completing this exercise, you will have enabled BitLocker, added data to the protected volume, moved the volume to another server, unlocked the volume on the other server, and validated access to the protected data.
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, start Hyper-V Manager.
2.
In the Virtual Machines list, right-click 10971B-LON-DC1, and then click Revert.
3.
In the Revert Virtual Machine dialog box, click Revert.
4.
Repeat steps 2 and 3 for 10971B-LON-SVR1 and 10971B-LON-SVR2.
MCT USE ONLY. STUDENT USE PROHIBITED L2-9
Module 2: Implementing Storage Spaces and Data Deduplication
Lab A: Implementing Storage Spaces Exercise 1: Creating a Storage Space ď ľ Task 1: Create a storage pool from five disks that are attached to the server 1.
On LON-SVR1, in Server Manager, in the left pane, click File and Storage Services, and then in the Servers pane, click Storage Pools.
2.
In the STORAGE POOLS pane, click TASKS, and then in the TASKS drop-down list, click New Storage Pool.
3.
In the New Storage Pool Wizard window, on the Before you begin page, click Next.
4.
On the Specify a storage pool name and subsystem page, in the Name text box, type StoragePool1, and then click Next.
5.
On the Select physical disks for the storage pool page, select the following physical disks, and then click Next: o
PhysicalDisk3
o
PhysicalDisk4
o
PhysicalDisk5
o
PhysicalDisk6
o
PhysicalDisk7
6.
On the Confirm selections page, click Create.
7.
On the View results page, wait until the task completes, and then click Close.
ď ľ Task 2: Create a three-way mirrored virtual disk 1.
On LON-SVR1, in Server Manager, in the Storage Spaces 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 window, 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 Select the storage layout page, in the Layout list, click Mirror, and then click Next.
7.
On the Configure the resiliency settings page, click Three-way mirror, and then click Next.
8.
On the Specify the provisioning type page, click Thin, and then click Next.
9.
On the Specify the size of the virtual disk page, in the Specify Size text box, type 10, and then click Next.
10. On the Confirm selections page, click Create. 11. On the View results page, wait until the task completes.
12. Ensure that the Create a volume when this wizard closes check box is selected, and then click Close. 13. In the New Volume Wizard window, on the Before you begin page, click Next.
MCT USE ONLY. STUDENT USE PROHIBITED
L2-10 Implementing Storage Spaces and Data Deduplication
14. On the Select the server and disk page, in the Disk pane, click the Mirrored Disk virtual disk, and then click Next. 15. On the Specify the size of the volume page, click Next to confirm the default selection. 16. 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. 17. 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. 18. On the Confirm selections page, click Create. 19. On the Completion page, wait until the creation completes, and then click Close.
Task 3: Copy a file to the volume, and verify that it is visible in File Explorer 1.
Click Start, on the Start screen, type command prompt, and then press Enter.
2.
At the command prompt, type the following command, and then press Enter: Copy C:\windows\system32\write.exe H:\
3.
Close the Command Prompt window.
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 1.
On the host computer, start Hyper-V Manager.
2.
In the Virtual Machines pane, right-click 10971B-LON-SVR1, and then click Settings.
3.
In Settings for 10971B-LON-SVR1, in the Hardware pane, click the hard drive that begins with 10971B-LON-SVR1-Disk5.
4.
In the Hard Drive pane, click Remove, click OK, and then click Continue.
Task 5: Verify that the write.exe file is still accessible 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 the Refresh “Storage Pools” button. Note: Notice the warning that is visible next to Mirrored Disk.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L2-11
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 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 a broken disk 1.
On LON-SVR1, in Server Manager, in the STORAGE POOLS pane, on the menu bar, click the Refresh “Storage Pools” button.
2.
In the STORAGE POOLS pane, right-click StoragePool1, and then click Add Physical Disk.
3.
In the Add Physical Disk window, click PhysicalDisk8 (LON-SVR1), and then click OK.
4.
On the taskbar, click the Windows PowerShell icon.
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. If you get an error message that the disk cannot be removed, wait five minutes, and then run the last command again. It can take some time for the mirrored disk to resynchronize after a disk is removed and another is added. If you cannot remove the disk after five minutes, restart LON-SVR1, sign in as Adatum\Administrator using the password Pa$$w0rd, and then repeat steps 4 through 9. 11. 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 should have 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.
Exercise 2: Enabling and Configuring Storage Tiering Task 1: Create a new storage pool
MCT USE ONLY. STUDENT USE PROHIBITED
L2-12 Implementing Storage Spaces and Data Deduplication
1.
Switch to LON-SVR1, and then switch to Windows PowerShell. If necessary, open Windows PowerShell from the taskbar.
2.
At the Windows PowerShell command prompt, type the following command, and then press Enter: $canpool = get-physicaldisk –canpool $true
3.
At the Windows PowerShell command prompt, type the following command, and then press Enter: New-StoragePool -FriendlyName "TieredPool" -StorageSubsystemFriendlyName "Storage Spaces*" -PhysicalDisks $canpool
Task 2: View and specify media types 1.
On LON-SVR1, at the Windows PowerShell command prompt, type the following command, and then press Enter: Get-StoragePool –FriendlyName TieredPool | get-PhysicalDisk | select FriendlyName, mediatype, Usage, BusType
2.
At the Windows PowerShell command prompt, type the following command and then press Enter, where “#” is the number of the first disk identified as available on your computer: Set-PhysicalDisk –friendlyName PhysicalDisk# –MediaType SSD
3.
At the Windows PowerShell command prompt, type the following command and then press Enter, where “#” is the number of the second disk identified as available on your computer: Set-PhysicalDisk –friendlyName PhysicalDisk# –MediaType HDD
4.
At the Windows PowerShell command prompt, type the following command, and then press Enter: Get-physicalDisk | select FriendlyName, Mediatype, usage, BusType
Task 3: Create pool-level storage tiers 1.
On LON-SVR1, at the Windows PowerShell command prompt, type the following command, and then press Enter: New-StorageTier –StoragePoolFriendlyName TieredPool -FriendlyName HDD_Tier –MediaType HDD
2.
At the Windows PowerShell command prompt, type the following command, and then press Enter:
New-StorageTier –StoragePoolFriendlyName TieredPool -FriendlyName SSD_Tier –MediaType SSD
Task 4: Create a new virtual disk with storage tiering 1.
On LON-SVR1, in Server Manager, in the Storage Spaces pane, click Refresh, and then click TieredPool.
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 window, on the Before you begin page, click Next.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L2-13
4.
On the Select the storage pool page, click TieredPool, and then click Next.
5.
On the Specify the virtual disk name page, in the Name text box, type Tiered Disk, select the Create storage tiers on this virtual disk check box, and then click Next.
6.
On the Select the storage layout page, in the Layout list, click Simple, and then click Next.
7.
On the Specify the provisioning type page, click Next.
8.
On the Specify the size of the virtual disk page, in both of the Specify size text boxes, type 2, and then click Next.
9.
On the Confirm selections page, click Create.
10. On the View results page, wait until the task completes. 11. Ensure that the Create a volume when this wizard closes check box is selected, and then click Close. 12. In the New Volume Wizard window, on the Before you begin page, click Next.
13. On the Select the server and disk page, in the Disk pane, click the Tiered Disk virtual disk, and then click Next. 14. On the Specify the size of the volume page, click Next to confirm the default selection.
15. On the Assign to a drive letter or folder page, in the Drive letter drop-down list, ensure that R is selected, and then click Next. 16. On the Select file system settings page, in the File system drop-down list, click ReFS. In the Volume label text box, type Tiered Volume, and then click Next. 17. On the Confirm selections page, click Create. 18. On the Completion page, wait until the creation completes, and then click Close.
Results: After completing this exercise, you will have created storage tiering.
ď ľ Prepare for the next lab When you complete the lab, leave the virtual machines running for the next lab.
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 (3 of 12 installed).
7.
Expand File and iSCSI Services (2 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.
MCT USE ONLY. STUDENT USE PROHIBITED
L2-14 Implementing Storage Spaces and Data Deduplication
Results: After completing this exercise, you should have successfully installed the Data Deduplication role service.
Exercise 2: Configuring Data Deduplication ď ľ Task 1: Enable Data Deduplication 1.
On LON-SVR1, on the taskbar, click the File Explorer icon.
2.
Notice that Allfiles (E:) is running low on free space.
3.
In Server Manager, in the navigation pane, click File and Storage Services, and then click Disks.
4.
In the Disks pane, click 1.
5.
Beneath VOLUMES, click E.
6.
Right-click E, and then click Configure Data Deduplication.
7.
In the Allfiles (E:\) Deduplication Settings dialog box, in the Data deduplication list, click General purpose file server.
8.
In the Deduplicate files older than (in days) text box, type 5.
9.
Click Set Deduplication Schedule.
10. In the LON-SVR1 Deduplication Schedule dialog box, select the Enable throughput optimization check box, and then click OK. 11. In the Allfiles (E:\) Deduplication Settings dialog box, click Add. 12. In the Select Folder dialog box, expand Allfiles (E:), and then expand labfiles.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L2-15
13. Click mod01, and then click Select Folder. 14. In the Allfiles (E:\) Deduplication Settings dialog box, click OK.
Task 2: Check the status of Data Deduplication 1.
Switch to Windows PowerShell.
2.
In the Windows PowerShell command prompt window, type the following command, and then press Enter: Get-DedupStatus
3.
In the Windows PowerShell command prompt window, type the following command, and then press Enter: Get-DedupStatus | fl
4.
In the Windows PowerShell command prompt window, type the following command, and then press Enter: Get-DedupVolume
5.
In the Windows PowerShell command prompt window, type the following command, and then press Enter: Get-DedupVolume |fl
6.
In the Windows PowerShell command prompt window, type the following command, and then press Enter: Start-DedupJob E: -Type Optimization –Memory 50
7.
Repeat steps 2 and 4. If you repeat these steps, you will notice the available space increasing. Notice also that the number of optimized files increases. Note: It might take a few minutes for you to see the available space increasing.
8.
Close all open windows.
Results: After completing this exercise, you should have successfully configured Data Deduplication for the appropriate data volume on LON-SVR1.
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 10971B-LON-SVR1, and then click Revert.
3.
In the Revert Virtual Machine dialog box, click Revert.
4.
Repeat steps 2 and 3 for 10971B-LON-DC1.
MCT USE ONLY. STUDENT USE PROHIBITED
MCT USE ONLY. STUDENT USE PROHIBITED L3-17
Module 3: High Availability in Windows Server
Lab: Planning and Configuring High Availability and Disaster Recovery Solutions Exercise 1: Determining an Appropriate High Availability and Disaster Recovery Solution Task 1: Analyze the requirements and propose a solution
When designing a solution that can fulfill business requirements, you should perform the steps in the second column of the following table. Question
Answer
1.
What should you do before you begin planning how to fulfill specific requirements?
The first thing you should do is create a business recovery plan to outline and prioritize various divisional and service requirements. The customer-facing financial requirements should have the highest priority.
2.
How can you improve SQL Server availability?
You can improve SQL Server availability by implementing failover clustering and high availability technologies that are specific to SQL Server. Also, for SQL Server virtual machines, you can consider live migration.
3.
What needs to be done to fulfill the Finance department’s RTO and RPO requirements?
You must implement a consistent backup and recovery strategy for Finance data. In addition, you should implement replication and high availability for virtual machines that host finance applications.
4.
How can you ensure that you can track the Finance division’s growth?
You should ensure that enough resources are available for virtual machines that are running Finance department applications. Also, you can consider extending some resources to cloud services.
5.
How can you ensure that monthly upgrades are performed without downtime?
Consider using live migration to allocate monthly planned downtime for upgrading your virtual machines.
6.
How can you replace legacy storage without Hyper-V downtime?
Consider using storage migration so that: •
The virtual machine storage can be migrated off the existing server.
•
The existing servers’ storage can be upgraded.
•
The virtual machine storage can be subsequently migrated back to the server without any virtual machine downtime.
Question 7.
Which technology should you use for disaster recovery?
Answer
MCT USE ONLY. STUDENT USE PROHIBITED
L3-18 High Availability in Windows Server
Consider using the Microsoft Azure Site Recovery solution, which is integrated with Hyper-V Replica, a feature of Windows Server 2012 Hyper-V, to provide disaster recovery for critical virtual machines in the event of a disaster at either office.
Results: After completing this exercise, you will have designed a high availability solution.
Exercise 2: Implementing Storage Migration ď ľ Task 1: Prepare a virtual machine for storage migration 1.
On LON-HOST1, open File Explorer, and then browse to the drive:\Program Files \Microsoft Learning\10971\Drives\ folder, where drive represents the drive letter that contains the extracted virtual machines.
2.
In this folder, create a new folder, and name it LON-GUEST1.
3.
Browse to the .\10971B-LON-SoFS1\Virtual Hard Disks folder, and then copy the 10971B-LON-SoFS1.vhd virtual hard disk file to the LON-GUEST1 folder that you created in step 2.
4.
On LON-HOST1, open Server Manager, click Tools, and then click Hyper-V Manager.
5.
In Hyper-V Manager, in the Actions pane, click New, and then click Virtual Machine.
6.
On the Before You Begin page of the New Virtual Machine Wizard, click Next.
7.
On the Specify Name and Location page, select Store the virtual machine in a different location, enter the following values, and then click Next: o
Name: LON-GUEST1
o
Location: drive:\Program Files\Microsoft Learning\10971\Drives\LON-GUEST1
8.
On the Specify Generation page, click Next.
9.
On the Assign Memory page, enter a value of 512 MB, select the Use Dynamic Memory for this virtual machine option, and then click Next.
10. On the Configure Networking page, select External Network from the drop-down list box, and then click Next. 11. On the Connect Virtual Hard Disk page, choose Use an existing virtual hard disk. 12. Click Browse, and then browse to drive:\Program Files\Microsoft Learning\10971\Drives \LON-GUEST1 \10971B-LON-SoFS1.vhd. 13. Click Open, and then click Finish.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L3-19
Task 2: Perform storage migration 1.
In the central pane of Hyper-V Manager, click LON-GUEST1.
2.
In the Actions pane, click Start. Wait until the virtual machine fully starts.
3.
In the Hyper-V Manager console, ensure that LON-GUEST1 is selected, and then, in the Actions pane, click Move.
4.
On the Before You Begin page of the Move “LON-GUEST1” Wizard, click Next.
5.
On the Choose Move Type page, select Move the virtual machine’s storage, and then click Next.
6.
On the Choose Options for Moving Storage page, select Move all of the virtual machine’s data to a single location, and then click Next.
7.
On the Choose a new location for virtual machine page, click Browse.
8.
Browse to drive C, and then create a new folder named Guest1.
9.
Click the Guest1 folder, click Select Folder, and then click Next.
10. On the Summary page, click Finish. 11. Wait for the move process to finish. While the virtual machine is moving, connect to it, and then verify that it is operational. 12. Right-click the LON-GUEST1 machine, and then click Settings.
13. In the Settings window, click Hard Drive, and then review the path. Ensure it is at the C:\Guest1 location. 14. Close the Settings window by clicking Cancel.
Results: After completing this exercise, you will have configured storage migration.
Exercise 3: Implementing Hyper-V Replica Task 1: Configure Hyper-V Replica 1.
On LON-HOST2, open Server Manager, click Tools, and then open the Hyper-V Manager console.
2.
In Hyper-V Manager, right-click LON-HOST2, and then select Hyper-V Settings.
3.
In Hyper-V Settings for LON-HOST2, 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.
Double-click Local Disk (C:), and then click New folder. Type VMReplica for the folder name, and then press Enter.
8.
Select the C:\VMReplica\ folder, and then click Select Folder.
9.
In Hyper-V Settings for LON-HOST2, click OK.
10. In the Settings window, read the notice, and then click OK. 11. On LON-HOST2, click the Start screen, and then click Control Panel.
12. In Control Panel, click System and Security, and then click Windows Firewall. 13. Click Advanced settings. 14. Click Inbound Rules.
MCT USE ONLY. STUDENT USE PROHIBITED
L3-20 High Availability in Windows Server
15. 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. 16. Close the Windows Firewall with Advanced Security console, and then close Windows Firewall. 17. Repeat steps 2 through 16 on LON-HOST1.
ď ľ Task 2: Configure virtual machine replication 1.
On LON-HOST1, open the Hyper-V Manager console.
2.
Click LON-HOST1, and then right-click LON-GUEST1.
3.
Click Enable Replication.
4.
On the Before You Begin page, click Next.
5.
On the Specify Replica Server page, click Browse.
6.
In the Select Computer window, type LON-HOST2, click Check Names, click OK, and then click Next.
7.
On the Specify Connection Parameters page, review the settings, ensure that Use Kerberos authentication (HTTP) is selected and Replica server port set to 80, and then click Next.
8.
On the Choose Replication VHDs page, ensure that 10971B-LON-SoFS1.vhd is selected, and then click Next.
9.
On the Configure Replication Frequency page, select 30 seconds from the drop-down list box, and then click Next.
10. On the Configure Additional Recovery Points page, select Maintain only the latest recovery point, and then click Next.
11. On the Choose Initial Replication Method page, click Send initial copy over the network, select Start replication immediately, and then click Next. 12. On the Completing the Enable Replication Wizard page, click Finish.
13. Wait several minutes. You can monitor the progress of the initial replication in the Status column in the Hyper-V Manager console. 14. When the initial replication completes and the progress bar shows 100 percent, ensure that LON-GUEST1 is visible on LON-HOST2 in Hyper-V Manager.
ď ľ Task 3: Test planned failover 1.
On LON-HOST2, in Hyper-V Manager, right-click LON-GUEST1.
2.
Select Replication, and then click View Replication Health.
3.
Review the contents of the window that appears, ensure that there are no errors, and then click Close.
4.
On LON-HOST1, open Hyper-V Manager, right-click LON-GUEST1, and then select Shut Down. In the prompt window, click Shut Down. Wait until the machine turns off.
5.
On LON-HOST1, right-click LON-GUEST1, select Replication, and then click Planned Failover.
6.
In the Planned Failover window, ensure that the Start the Replica virtual machine after failover option is selected, and then click Fail Over.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L3-21
7.
On LON-HOST2, in Hyper-V Manager, ensure that LON-GUEST1 is running.
8.
On LON-HOST1, right-click LON-GUEST1, point to Replication, and then click Remove replication.
9.
In the Remove replication dialog box, click Remove Replication.
10. On LON-HOST2, right-click LON-GUEST1, and then click Shut Down. 11. In the Shut Down Machine dialog box, click Shut Down.
Results: After completing this exercise, you will have configured Hyper-V Replica.
ď ľ Prepare for the next module 1.
Shut down all virtual machines, and then restart LON-HOST1.
2.
When you are prompted with the boot menu, select Windows Server 2012, and then press Enter.
3.
Sign in to the host machine as directed by your instructor.
4.
Repeat steps 1 through 3 on LON-HOST2.
MCT USE ONLY. STUDENT USE PROHIBITED
MCT USE ONLY. STUDENT USE PROHIBITED L4-23
Module 4: Implementing Failover Clustering
Lab: Creating and Administering a Cluster Exercise 1: Validating and Configuring Servers for Failover Clustering ď ľ Task 1: Connect Cluster Nodes to iSCSI storage 1.
On LON-SVR3, in Server Manager, click Tools, click iSCSI Initiator, and then in the Microsoft iSCSI dialog box, click Yes.
2.
In the iSCSI Initiator Properties window, click the Discovery tab.
3.
Click Discover Portal.
4.
In the IP address or DNS name box, type 172.16.0.21, and then click OK.
5.
Click the Targets tab.
6.
Click Refresh.
7.
In the Targets list, select iqn.1991-05.com.microsoft:lon-svr1-target1-target, and then click Connect.
8.
Select Add this connection to the list of Favorite Targets, and then click OK twice.
9.
On LON-SVR4, in Server Manager, click Tools, click iSCSI Initiator, and then in the Microsoft iSCSI dialog box, click Yes.
10. In the iSCSI Initiator Properties window, click the Discovery tab. 11. Click Discover Portal. 12. In the IP address or DNS name box, type 172.16.0.21, and then click OK. 13. Click the Targets tab. 14. Click Refresh. 15. In the Targets list, select iqn.1991-05.com.microsoft:lon-svr1-target1-target, and then click Connect. 16. Select Add this connection to the list of Favorite Targets, and then click OK twice. 17. Repeat steps 9 through 16 on LON-SVR5. 18. On LON-SVR3, in Server Manager, click Tools, and then click Computer Management. 19. In the Computer Management window, expand Storage, and then click Disk Management. 20. Right-click Disk 3, and then click Online. 21. Right-click Disk 3, click Initialize Disk, and then, in the Initialize Disk dialog box, click OK. 22. Right-click the unallocated space next to Disk 3, and then click New Simple Volume. 23. In the New Simple Volume Wizard, on the Welcome page, click Next. 24. On the Specify Volume Size page, click Next. 25. On the Assign Drive Letter or Path page, click Next.
26. On the Format Partition page, select the Perform a quick format check box, and then click Next. 27. Click Finish.
Note: If the Microsoft Windows window appears with a prompt to format the disk, click Cancel. 28. Repeat steps 20 through 27 for Disk 4, Disk 5, and Disk 6. 29. Close the Computer Management window. 30. On LON-SVR4, in Server Manager, click Tools, and then click Computer Management. 31. Expand Storage, and then click Disk Management. 32. Select and then right-click Disk Management, and then click Refresh. 33. Right-click Disk 3, and then click Online. 34. Right-click Disk 4, and then click Online. 35. Right-click Disk 5, and then click Online. 36. Right-click Disk 6, and then click Online. 37. Close the Computer Management window. 38. Repeat steps 30 through 37 on LON-SVR5.
Task 2: Install the Failover Clustering feature
MCT USE ONLY. STUDENT USE PROHIBITED
L4-24 Implementing Failover Clustering
1.
On LON-SVR3, if Server Manager is not open, click the Server Manager icon to open it.
2.
Click Add roles and features.
3.
On the Before You Begin page, click Next.
4.
On the Select installation type page, click Next.
5.
On the Select destination server page, make sure that Select 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, click Failover Clustering.
8.
In the Add features that are required for Failover Clustering? window, click Add Features. Click Next.
9.
On the Confirm installation selections page, click Install.
10. When installation is complete, the “Installation succeeded on LON-SVR3” message appears. Click Close. 11. Repeat steps 1 through 10 on LON-SVR4 and LON-SVR5.
Task 3: Validate Servers for failover clustering 1.
On LON-SVR3, 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, on the Before You Begin page, click Next.
4.
On the Select Servers or a Cluster page, in the Enter Name box, type LON-SVR3, and then click Add.
5.
In the Enter Name box, type LON-SVR4, and then click Add.
6.
In the Enter Name box, type LON-SVR5.
7.
Click Add, and then click Next.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L4-25
8.
On the Testing Options page, verify that Run all tests (recommended) is selected, and then click Next.
9.
On the Confirmation page, click Next.
10. Wait for the validation tests to finish. This might take up to 15 to 20 minutes to complete. 11. On the Summary page, click View Report.
12. Verify that all tests completed without errors. Some warnings are expected. You should have no errors in the report. Click the items that have a warning result, and review the identified issues. 13. Close Internet Explorer.
14. On the Summary page, clear the Create the cluster now using the validated nodes check box, and then click Finish.
Results: After this exercise, you will have installed and configured the Failover Clustering feature.
Exercise 2: Creating a Cluster and Configuring a Highly Available Application ď ľ Task 1: Create a failover cluster 1.
On LON-SVR3, in Failover Cluster Manager, in the center pane, under Management, click Create Cluster.
2.
On the Before You Begin page of the Create Cluster Wizard, read the information, and then click Next.
3.
On the Select Servers page, in the Enter server name text box, type LON-SVR3, click Add, type LON-SVR4, and then click Add.
4.
Verify the entries, and then click Next. If the Validation Warning page appears, click No, and then click Next.
5.
On the Access Point for Administering the Cluster page, in the Cluster Name box, type Cluster1.
6.
Under Address, type 172.16.0.125, and then click Next.
7.
On the Confirmation page, verify the information, clear the Add all eligible storage to the cluster check box, and then click Next.
8.
On the Summary page, review the report.
Note: A warning message appears that states that you do not have disks available for the witness role. This is expected. 9.
Click Finish to return to Failover Cluster Manager.
10. In Failover Cluster Manager, expand Cluster1.Adatum.com, expand Storage, and then click Disks. 11. In the Actions pane, click Add Disk. 12. In the Add Disks to a Cluster window, select only the disks that have 30 gigabytes (GB) in the Capacity column, deselect the other disks, and then click OK.
13. Verify that all four disks have Online in the Status column, and then, in the Assigned to column, ensure that all four disks are assigned to Available Storage.
MCT USE ONLY. STUDENT USE PROHIBITED
L4-26 Implementing Failover Clustering
14. Right-click Cluster1.Adatum.com, select More Actions, and then click Configure Cluster Quorum Settings. 15. In the Configure Cluster Quorum Wizard, on the Before You Begin page, click Next.
16. On the Select Quorum Configuration Option page, select the Use default quorum configuration option, and then click Next. 17. On the Confirmation page, click Next. 18. On the Summary page, click Finish. 19. Click the Disks node. 20. In the Assigned to column, ensure that one of the disks is now assigned to Disk Witness in Quorum.
Task 2: Add the File Server application to the failover cluster 1.
On LON-SVR3, in Failover Cluster Manager, if necessary, expand Cluster1.Adatum.com.
2.
Expand Storage, and then click Disks.
3.
Make sure that all disks are present and online. You should have three disks assigned to Available Storage.
4.
Right-click Roles, and then select Configure Role.
5.
In the High Availability Wizard, on the Before You Begin page, click Next.
6.
On the Select Role page, select File Server, and then click Next.
7.
On the File Server Type page, click File Server for general use, and then click Next.
8.
On the Client Access Point page, in the Name box, type AdatumFS, in the Address box, type 172.16.0.130, and then click Next.
9.
On the Select Storage page, select the Cluster Disk 4 check box, and then click Next.
10. On the Confirmation page, click Next. 11. On the Summary page, click Finish. 12. Wait until the AdatumFS role has a status of Running.
Task 3: Add a shared folder to a highly available file server 1.
On the LON-SVR4, in Server Manager, click Tools, and then click Failover Cluster Manager.
2.
In Failover Cluster Manager, expand Cluster1.Adatum.com, click Roles, right-click AdatumFS, and then select Add File Share.
If the wizard does not start immediately, wait for a minute, and then close and reopen Failover Cluster Manager and then try this step again. 3.
In the New Share Wizard, on the Select the profile for this share page, click SMB Share – Quick, and then click Next. Note: If you see a warning on the top of the page, you can ignore it.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L4-27
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 box, type Docs, and then click Next.
6.
On the Configure share settings page, review the available options, 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 4: Configure failover and failback settings 1.
On LON-SVR3, in Failover Cluster Manager, click Roles, right-click AdatumFS, and then click Properties.
2.
Click the Failover tab, and then click Allow failback.
3.
Click Failback between, and then set the values to between 4 and 5 hours.
4.
Click the General tab.
5.
Select both LON-SVR3 and LON-SVR4 as preferred owners.
6.
In the Preferred Owners list, select LON-SVR4, click the Up button to move LON-SVR4 up until it is first, and then click OK.
ď ľ Task 5: 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 \\AdatumFS\ location and that you can open the Docs folder.
3.
Create a test text document inside the Docs folder.
4.
On LON-SVR3, open Failover Cluster Manager.
5.
Expand Cluster1.Adatum.com, and then click Roles. In the Owner node column, note the current owner of AdatumFS. It will be either LON-SVR3 or LON-SVR4.
6.
Right-click AdatumFS, click Move, and then click Select Node.
7.
In the Move Clustered Role dialog box, select the cluster node (it will be either LON-SVR3 or LON-SVR4), and then click OK.
8.
Verify that AdatumFS has moved to a new owner.
9.
Switch to the LON-DC1 computer, and then verify that you can still access the \\AdatumFS\ location.
10. On LON-SVR3, in Failover Cluster Manager, click Roles, and then, in the Owner node column, notice the current owner of the AdatumFS.
11. Click Nodes. Right-click the node that is the owner of AdatumFS, select More Actions, and then click Stop Cluster Service. The status of that node will change to Down. You might need to click Refresh in the Actions pane to see this. 12. Click Roles and ensure that AdatumFS moved to another node.
MCT USE ONLY. STUDENT USE PROHIBITED
L4-28 Implementing Failover Clustering
13. Switch to the LON-DC1 computer, and then verify that you can still access the \\AdatumFS\ location. 14. On LON-SVR3, click Nodes, right-click the node that has the Status of Down, select More Actions, and then click Start Cluster Service.
Results: After completing this exercise, you will have configured a file server as a highly available service.
Exercise 3: Verifying Quorum Settings and Managing Nodes in the Cluster ď ľ Task 1: Remotely connect to the cluster and verify settings 1.
On LON-CL1, click the Start button, and then, in the lower-left corner of the screen, click the arrow to display all apps.
2.
Scroll to the right, and then, in the Administrative Tools group, click Failover Cluster Manager.
3.
In Failover Cluster Manager, in the Actions pane, click Connect to Cluster.
4.
In the Select Cluster window, in the Cluster name text box, type Cluster1.adatum.com, and then click OK.
5.
Expand Cluster1.Adatum.com, click Roles, and then ensure that AdatumFS is shown in the middle pane. Notice the owner of the role: it will be either LON-SVR3 or LON-SVR4.
6.
Right-click AdatumFS, select Move, and then click Select Node.
7.
Select the node, it will be either LON-SVR3 or LON-SVR4, and then click OK.
8.
Wait a few seconds, and then ensure that the role is moved to another node.
9.
Click Nodes.
10. Review the nodes and the vote status. 11. Expand Storage, and then click Disks. 12. Make sure that one of the disks is assigned as Disk Witness in Quorum.
ď ľ Task 2: Add a node to the cluster 1.
On the LON-CL1, in Failover Cluster Manager, click Nodes.
2.
Right-click Nodes, and then select Add Node.
3.
In the Add Node Wizard, on the Before You Begin page, click Next.
4.
On the Select Servers page, in the Enter server name text box, type LON-SVR5, click Add, and then click Next.
5.
On the Confirmation page, clear the Add all eligible storage to the cluster check box, and then click Next.
6.
On the Summary page, click Finish.
7.
After the node is added to the cluster, verify that it is listed in the Nodes section, and then, in the Assigned Vote column, verify that there is the value 1, which means that it has one vote assigned.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L4-29
ď ľ Task 3: Assign a new disk to the cluster role 1.
On LON-CL1, in Failover Cluster Manager, click the Roles node.
2.
Right-click AdatumFS, and then select Add Storage.
3.
In the Add Storage window, select one of the listed disks, and then click OK.
4.
Expand Storage, and then click Disks.
5.
Ensure that two disks are assigned to the AdatumFS.
6.
Close Failover Cluster Manager.
Results: After completing this exercise, you will have verified quorum settings by using remote administration.
Exercise 4: Configuring a Quorum from a Disk Witness to a File Share Witness and then Defining Node Voting ď ľ Task 1: Configure quorum and vote options 1.
On LON-DC1, from the taskbar, open File Explorer.
2.
Click the AllFiles (E:) drive.
3.
Create a new folder on the E: drive, and name it FSW.
4.
Right-click the FSW folder, and then select Properties.
5.
In the FSW Properties window, click the Sharing tab, and then click Advanced Sharing.
6.
In the Advanced Sharing window, click Share this folder, and then click Permissions.
7.
In the Permissions for FSW window, select Allow for Full Control permission, click OK twice, and then click Close.
8.
On LON-SVR3, from the taskbar, open Windows PowerShell.
9.
In the Windows PowerShell window, type the following command, and then press Enter: Get-ClusterQuorum | FL
10. Review the result. You should see that the Quorum type is NodeAndDiskMajority.
11. On LON-SVR3, in Failover Cluster Manager, right-click Cluster1.Adatum.com, select More Actions, and then click Configure Cluster Quorum Settings. 12. In the Configure Cluster Quorum Wizard, on the Before You Begin page, click Next.
13. On the Select Quorum Configuration Option page, click Advanced quorum configuration, and then click Next. 14. On the Select Voting Configuration page, click Select Nodes. 15. Clear the LON-SVR3 and LON-SVR5 check boxes, and then click Next.
16. On the Select Quorum Witness page, click the Configure a file share witness option, and then click Next. 17. On the Configure File Share Witness page, click Browse.
MCT USE ONLY. STUDENT USE PROHIBITED
L4-30 Implementing Failover Clustering
18. In the Browse for Shared Folders window, in the Server text box, type LON-DC1, and then click Show Shared Folders. 19. In the Shared folders section, click FSW, click OK, and then click Next. 20. On the Confirmation page, click Next. 21. On the Summary page, click Finish.
22. Click the Nodes node, and then verify that LON-SVR3 and LON-SVR5 now have a value of 0 in the Assigned Vote and the Current Vote columns. 23. Expand Storage, click the Disks node, and then verify that no disk is assigned to the Disk Witness role.
ď ľ Task 2: Evict a node from the cluster 1.
On LON-SVR3, in Failover Cluster Manager, click Nodes.
2.
In the Nodes pane, right-click LON-SVR5, select More Actions, and then click Evict.
3.
In the Evict node LON-SVR5 window, click Yes.
4.
Verify that LON-SVR5 is no longer present in the Nodes pane.
Results: After completing this exercise, you will have configured quorum options and node voting.
ď ľ Prepare for the next module When you finish the lab, revert the virtual machines to their initial state. 1.
On the host computer, start Microsoft Hyper-V Manager.
2.
On the Virtual Machines list, right-click 10971B-LON-DC1, and then click Revert.
3.
In the Revert Virtual Machine dialog box, click Revert.
4.
Repeat steps two and three for 10971B-LON-SVR1, 10971B-LON-SVR3, 10971B-LON-SVR4, 10971B-LON-SVR5, and 10971B-LON-CL1.
MCT USE ONLY. STUDENT USE PROHIBITED L5-31
Module 5: Managing Server Roles and Clustering Resources
Lab A: Implementing Server Roles and Clustering Resources
Exercise 1: Preparing for and Creating a Failover Cluster by Using Windows PowerShell Task 1: Prepare the environment for failover clustering 1.
Sign in to LON-CL1 as Adatum\Administrator with the password Pa$$w0rd.
2.
Click the Start button, and then open Windows PowerShell.
3.
To start the iSCSI service on LON-SVR3, LON-SVR4, and LON-SVR5, at the Windows PowerShell prompt, run the following command:
Invoke-Command -ComputerName LON-SVR3,LON-SVR4,LON-SVR5 {Start-Service -Name MSiSCSI}
4.
To connect to the iSCSI portal, run the following command: Invoke-Command -ComputerName LON-SVR3,LON-SVR4,LON-SVR5 {NewIscsiTargetPortal -TargetPortalAddress 172.16.0.21}
5.
To establish the connection between LON-SVR1 and the other three servers, run the following command: Invoke-Command -ComputerName LON-SVR3,LON-SVR4,LON-SVR5 {ConnectIscsiTarget -NodeAddress iqn.1991-05.com.microsoft:lon-svr1-target1-target}
6.
To install the Failover Clustering feature and RSAT-related clustering administrative tools on LON-SVR3, LON-SVR4, and LON-SVR5, run the following command:
Invoke-Command -ComputerName LON-SVR3, LON-SVR4, LON-SVR5 {Install-WindowsFeature Failover-Clustering, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-ClusteringAutomationServer}
7.
To import the FailoverClusters module onto LON-SVR3, LON-SVR4, and LON-SVR5, run the following command: Invoke-Command -ComputerName LON-SVR3,LON-SVR4,LON-SVR5 {Import-Module -Name FailoverClusters}
Task 2: Validate the failover cluster configuration 1.
Switch to LON-SVR3 and open Windows PowerShell.
2.
At the Windows PowerShell prompt, run the following command: Test-Cluster -Node LON-SVR3.adatum.com, LON-SVR4.adatum.com,LON-SVR5.adatum.com
This starts the cluster validation tests. It might take up to 10 minutes for these tests to complete.
MCT USE ONLY. STUDENT USE PROHIBITED
L5-32 Managing Server Roles and Clustering Resources
3.
When the tests complete, verify that you see the path of the report file in the last line of the Windows PowerShell output.
4.
At the Windows PowerShell prompt, run the following command: Invoke-Item path to report file
Note: In place of path to report file, use the actual path to the report file that is shown in the Windows PowerShell output. The path should be in the format ‘.\AppData\Local\Temp\1\filename’. 5.
Review the report file. Pay particular attention to the warning items. (Some warnings are expected.) Ensure that there are no errors in the report.
Task 3: Create a failover cluster 1.
On LON-SVR3, to create a new cluster with LON-SVR3, LON-SVR4, and LON-SVR5, and with 172.16.0.125 as the IP address, in Windows PowerShell run the following command: New-Cluster -Name FS-Cluster -Node LON-SVR3.adatum.com, LON-SVR4.adatum.com,LON-SVR5.adatum.com -StaticAddress 172.16.0.125 -NoStorage
It might take a few minutes to complete this process. 2.
When the process completes and you see the Windows PowerShell prompt again, verify that no errors are reported.
3.
Close Windows PowerShell.
Results: After you complete this exercise, you will have validated and configured a failover cluster that you will then use for the storage pool you will be creating next.
Exercise 2: Implementing Storage Spaces by using Failover Clustering Task 1: Create a storage pool 1.
On LON-SVR3, open Server Manager, click Tools, and then click Failover Cluster Manager.
2.
In the Failover Cluster Manager, expand FS-Cluster.Adatum.com, expand Storage, click Pools, and then in the Actions pane, click New Storage Pool.
3.
In the New Storage Pool Wizard, on the Before you begin page, click Next.
4.
On the Specify a storage pool name and subsystem page, in Name, type Pool1. In the lower pane, click FS-Cluster, and then click Next.
5.
On the Select physical disks for the storage pool page, select all four disks with 30 GB capacity, and then click Next.
6.
On the Confirm selections page, click Create.
7.
On the View results page, click Close.
8.
Verify that Cluster Pool 1 has a Status of Online and a Health Status of Healthy.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L5-33
ď ľ Task 2: Create virtual disks from the storage pool 1.
On LON-SVR3, in the Failover Cluster Manager, ensure that Pools is selected. Click Cluster Pool 1, and then in the Actions pane, click New Virtual Disk.
2.
In the New Virtual Disk Wizard, on the Before you begin page, click Next.
3.
On the Select the server and storage pool page, click Pool1, and then click Next.
4.
On the Specify the virtual disk name page, in Name, type Disk1, and then click Next.
5.
On the Select the storage layout page, click Parity, and then click Next.
6.
On the Specify the size of the virtual disk page, in the Specify size, type 2, ensure that GB is selected, and then click Next.
7.
On the Confirm selections page, click Create.
8.
On the View results page, ensure that Create a volume when this wizard closes is selected, and then click Close.
9.
In the New Volume Wizard, on the Before you begin page, click Next.
10. On the Select the server and disk page, click fs-cluster, and then click Next. 11. On the Specify the size of the volume page, click Next. 12. On the Assign to a drive letter or folder page, click Next. 13. On the Select file system settings page, click Next. 14. On the Confirm selections page, click Create. 15. On the Completion page, click Close.
16. Use steps 1 through 15 to create Disk2 and Disk3. On the Specify the size of the virtual disk page, specify 10 GB.
17. In the left pane, click Disks. Ensure that the status of the three Cluster Virtual Disks (Disk1, Disk2, and Disk3) is both Online and Healthy.
ď ľ Task 3: Configure the cluster quorum 1.
On LON-SVR3, in the Failover Cluster Manager, right-click FS-Cluster.Adatum.com, click More Actions, and then click Configure Cluster Quorum Settings.
2.
In the Configure Cluster Quorum Wizard, on the Before You Begin page, click Next.
3.
On the Select Quorum Configuration Option page, ensure that Use default quorum configuration is selected, and then click Next.
4.
On the Confirmation page, ensure that Cluster Virtual Disk (Disk1) is selected as Witness Resource, and then click Next.
5.
On the Summary page, click Finish.
6.
In the left pane, click Disks, and ensure that all disks are present and online. You should have two disks assigned to Available Storage.
Results: After you complete this exercise, you will have storage pools configured in a failover cluster.
Exercise 3: Configuring the File Server Cluster and Creating Data Task 1: Configure a highly available File Server role 1.
On LON-SVR3, in the Failover Cluster Manager, right-click Roles, and then click Configure Role.
2.
On the Before You Begin page, click Next.
3.
On the Select Role page, click File Server, and then click Next.
4.
On the File Server Type page, click File Server for general use, and then click Next.
5.
On the Client Access Point page, in Name, type AdatumFS. In Address, type 172.16.0.130, and then click Next.
6.
On the Select Storage page, click Cluster Virtual Disk (Disk2), and then click Next.
7.
On the Confirmation page, click Next.
8.
On the Summary page, click Finish.
9.
Click Roles, and wait until the AdatumFS role has a status of Running.
Task 2: Add a file share to the highly available file server cluster 1.
On LON-SVR4, open the Failover Cluster Manager.
2.
Expand FS-Cluster.Adatum.com, and then click Roles.
3.
Right-click AdatumFS, and then click Add File Share.
MCT USE ONLY. STUDENT USE PROHIBITED
L5-34 Managing Server Roles and Clustering Resources
If the wizard does not start on the first try, restart the Failover Cluster Manager and repeat this step. 4.
In the New Share Wizard, on the Select the profile for this share page, click SMB Share – Quick, and then click Next. Note: If a warning appears in the wizard, you can ignore it.
5.
On the Select the server and the path for this share page, click Next.
6.
On the Specify share name page, in Share name, type Docs, and then click Next.
7.
On the Configure share settings page, review the available options. Do not make any changes, and click Next.
8.
On the Specify permissions to control access page, click Next.
9.
On the Confirm selections page, click Create.
10. On the View results page, click Close.
Results: After you complete this exercise, you will have configured a highly available file share.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L5-35
Exercise 4: Verifying the File Server Role High Availability Task 1: Verify high availability in case of disk failure 1.
Switch to LON-DC1.
2.
On LON-DC1, open File Explorer. In the address bar, type \\AdatumFS\, and then press Enter.
3.
Verify that you can access the location and that you can open the Docs folder.
4.
Open Notepad, and create a test text document.
5.
Save the document in Docs.
6.
Close Notepad, and then close File Explorer.
7.
Switch to LON-SVR1.
8.
In Server Manager, click File and Storage Services, and then click iSCSI.
9.
In the right pane, right-click any of the four disks listed, and then click Disable iSCSI Virtual Disk.
10. At the Disable iSCSI Virtual Disk prompt, click Yes. 11. Switch to LON-DC1. 12. Open File Explorer. In the address bar, type \\AdatumFS\, and then press Enter.
13. Verify that you can access the location, and that you can open both the Docs folder and the file in the Docs folder. 14. Close File Explorer. 15. Switch to LON-SVR1. 16. In Server Manager, click File and Storage Services, and then click iSCSI.
17. In the right pane, right-click the disk that you disabled, and then click Enable iSCSI Virtual Disk.
Task 2: Verify high availability in case of node failure 1.
Switch to LON-SVR3.
2.
In the Failover Cluster Manager, expand FS-Cluster.Adatum.com, and then click Nodes.
3.
In the Nodes pane, right-click LON-SVR5, click More Actions, and then click Evict.
4.
In the Evict node LON-SVR5 dialog box, click Yes.
5.
Switch to LON-DC1.
6.
On LON-DC1, open File Explorer. In the address bar, type \\AdatumFS\, and then press Enter.
7.
Verify that you can access the location, and that you can open the Docs folder and the file in the Docs folder.
8.
Close File Explorer.
Results: After you complete this exercise, you will have validated file server availability.
Prepare for the next lab •
When you complete the lab, leave the virtual machines running for the next lab.
Lab B: Managing Server Roles and Clustering Resources Exercise 1: Securing CSVs by Using BitLocker ď ľ Task 1: Configure the cluster virtual disk as a CSV volume 1.
On LON-SVR3, in the Failover Cluster Manager, expand Storage, and then click Disks.
2.
In the right pane, locate the disk that is assigned to Available Storage, right-click it, and then click Add to Cluster Shared Volumes.
3.
Ensure that the Assigned to status of the disk changed to Cluster Shared Volume.
4.
Open Windows PowerShell.
5.
At the Windows PowerShell prompt, run the following command: manage-bde -status
Review the results in the Windows PowerShell output, and notice that the volumes listed in the output are not encrypted. Note: The volume in the cluster is converted to a CSV only for the purposes of configuring BitLocker. You do not have to convert a disk to a CSV if you are going to use it for general storage purposes.
ď ľ Task 2: Configure BitLocker on the CSV volume in the cluster 1.
On LON-SVR3, at the Windows PowerShell prompt, run the following command: manage-bde -on C:\ClusterStorage\Volume1 -RecoveryPassword
MCT USE ONLY. STUDENT USE PROHIBITED
L5-36 Managing Server Roles and Clustering Resources
You will be presented with an error that the command cannot be performed because the volume is part of the cluster. This error is expected. 2.
On LON-SVR3, restore or open the Failover Cluster Manager, and then click Disks.
3.
For the disk that is assigned to the Cluster Shared Volume, read the value in the Owner Node column. If it is LON-SVR3, proceed to the next step. If it is not LON-SVR3, right-click the disk, click Move, click Select Node, select LON-SVR3, and then click OK.
4.
Right-click the disk that is assigned to the Cluster Shared Volume, click More Actions, and then click Turn On Maintenance Mode.
5.
In the prompt window, click Yes.
6.
On LON-SVR3, at the Windows PowerShell prompt, run the command that you used in step 1, as follows: manage-bde -on C:\ClusterStorage\Volume1 -RecoveryPassword
7.
Ensure that encryption starts, and that a recovery key is provided. Wait until encryption completes, which will take up to 30 minutes.
To monitor the progress, on the taskbar, click the Show hidden icons arrow icon, and then click the BitLocker Drive Encryption icon.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L5-37
8.
After the encryption completes, click Close.
9.
Restore the Windows PowerShell window.
10. At the Windows PowerShell prompt, run the following command: manage-bde C:\clusterstorage\volume1 -protectors -add -sid FS-Cluster$
11. At the Windows PowerShell prompt, run the following command: manage-bde –status
Review the output and verify that the CSV volume is Fully Encrypted. 12. Close Windows PowerShell. 13. On LON-SVR3, restore the Failover Cluster Manager, and then click Disks. 14. Right-click the disk assigned to the Cluster Shared Volume, click More Actions, and then click Turn Off Maintenance Mode. 15. Ensure that the disk is online.
Results: After you complete this exercise, you will have BitLocker configured on a CSV volume.
Exercise 2: Configuring CAU on the Failover Cluster ď ľ Task 1: Configure CAU 1.
On LON-DC1, in Server Manager, click Add roles and features.
2.
In the Add Roles and Features Wizard, 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 list of features, click Failover Clustering.
7.
In the Add features that are required for Failover Clustering? dialog box, click Add Features, and then click Next.
8.
On the Confirm installation selections page, click Install.
9.
When installation completes, click Close.
10. Switch to LON-SVR3.
11. Open Server Manager, click Tools, and then click Windows Firewall with Advanced Security. 12. In the Windows Firewall with Advanced Security window, click Inbound Rules.
13. In the rules list, find the rule Inbound Rule for Remote Shutdown (RPC-EP-In). Verify that the rule is enabled. If it is not enabled, right-click the rule, and then click Enable Rule. 14. In the rules list, find the rule Inbound Rule for Remote Shutdown (TCP-In). Verify that the rule is enabled. If it is not enabled, right-click the rule, and then click Enable Rule. 15. Close the Windows Firewall with Advanced Security window.
16. In Server Manager, click Tools, and then click iSCSI Initiator.
MCT USE ONLY. STUDENT USE PROHIBITED
L5-38 Managing Server Roles and Clustering Resources
17. In the iSCSI Initiator Properties dialog box, under Discovered targets, review the status of the iSCSI target. If the status is Connected, click Cancel. If the status is Inactive, click the target, click Connect, and then click OK twice. 18. Switch to LON-SVR4, and repeat steps 10 through 17. 19. On LON-DC1, in Server Manager, click Tools, and then click Cluster-Aware Updating.
20. In the Cluster-Aware Updating window, in the Connect to a failover cluster list, click FS-CLUSTER, and then click Connect. Note: If an error message appears, click OK, and then click Connect again. 21. In the Cluster Actions pane, click Preview updates for this cluster. 22. In the FS-Cluster - Preview Updates dialog box, click Generate Update Preview List. Note: If an error message appears click OK, and then click Generate Update Preview List again.
23. After several minutes, updates will be displayed in the list. Review the updates, and then click Close.
ď ľ Task 2: Update the failover cluster and configure self-updating 1.
On LON-DC1, in the Cluster-Aware Updating window, click Apply updates to this cluster.
2.
On the Getting Started page, click Next.
3.
On the Advanced options page, review the options for updating, and then click Next.
4.
On the Additional Update Options page, click Next.
5.
On the Confirmation page, click Update, and then click Close.
6.
In the Cluster Nodes pane, review the progress of the updating process.
Note: Notice that one node of the cluster is in the Waiting state, and the other node is restarting after it has been updated. If you notice that one node takes more than 3 to 4 minutes to finish the maintenance tasks after restarting, sign in to that node, open Server Manager, click Tools, and then click iSCSI Initiator. In the iSCSI Initiator Properties dialog box, under Discovered targets, review the status of iSCSI target. If the status is Connected, click Cancel. If the status is Inactive, click the target, click Connect, and then click OK twice. 7.
Wait until both nodes show Succeeded in the Last Run status column, which indicates that the updating process has completed. Note: This may require restarting both nodes.
8.
Sign in to LON-SVR3 as Adatum\Administrator with the password Pa$$w0rd.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L5-39
9.
On LON-SVR3, in Server Manager, click Tools, and then click Cluster-Aware Updating.
10. In the Cluster-Aware Updating window, in the Connect to a failover cluster list, click FS-CLUSTER, and then click Connect. 11. In the Cluster Actions pane, click Configure cluster self-updating options. 12. In the Configure Self-Updating Options Wizard, on the Getting Started page, click Next.
13. On the Add CAU Clustered Role with Self-Updating Enabled page, select Add the CAU clustered role, with self-updating mode enabled, to this cluster, and then click Next. 14. On the Specify self-updating schedule page, click Weekly, select 4:00 AM for Time of day, select Sunday for Day of the week, and then click Next. 15. On the Advanced Options page, click Next. 16. On the Additional Update Options page, click Next. 17. On the Confirmation page, click Apply. After the clustered role is added successfully, click Close.
Results: After you complete this exercise, you will have configured CAU.
ď ľ Prepare for the next module
After you finish the lab, revert the virtual machines 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 10971B-LON-DC1, and then click Revert.
3.
In the Revert Virtual Machine dialog box, click Revert.
4.
Repeat steps 2 and 3 for the following virtual machines: 10971B-LON-SVR1, 10971B-LON-SVR3, 10971B-LON-SVR4, 10971B-LON-SVR5, 10971B-LON-CL1.
MCT USE ONLY. STUDENT USE PROHIBITED
MCT USE ONLY. STUDENT USE PROHIBITED L6-41
Module 6: Implementing Failover Clustering with Hyper-V
Lab: Implementing Failover Clustering by Using Hyper-V Exercise 1: Creating a Hyper-V Application Failover Cluster ď ľ Task 1: Connect to and configure Internet SCSI (iSCSI) storage 1.
On LON-HOST1, on the taskbar, click the Server Manager icon.
2.
In Server Manager, click Tools, click iSCSI Initiator, and then at the Microsoft iSCSI prompt, click Yes.
3.
Click the Discovery tab, click Discover Portal, in the IP address or DNS name text box, type 172.16.0.21, and then click OK.
4.
Click the Targets tab, click Refresh, in the Targets list, select iqn.1991-05.com.microsoft: lon-svr1-target1-target, and then click Connect.
5.
Select Add this connection to the list of Favorite Targets, and then click OK.
6.
Click OK to close iSCSI Initiator Properties dialog box.
7.
On LON-HOST2, open Server Manager, click Tools, and then click iSCSI Initiator.
8.
In the Microsoft iSCSI dialog box, click Yes.
9.
Click the Discovery tab.
10. 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. 13. Click Refresh.
14. In the Discovered Targets list, select iqn.1991-05.com.microsoft:lon-svr1-target1-target, and then click Connect.
15. Select Add this connection to the list of Favorite Targets, and then click OK. Click OK to close the iSCSI Initiator Properties dialog box. 16. On LON-HOST1, in Server Manager, click Tools, and then click Computer Management. 17. Expand Storage, and then click Disk Management. You will see three disks in the Offline state. 18. Right-click the first offline disk that shows 30 GB unallocated, and then click Online. 19. Right-click the disk, and then click Initialize Disk. In the Initialize Disk dialog box, click OK.
20. Right-click the unallocated space next to the new online disk, 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, select the Perform a quick format check box, and then click Next. 25. Click Finish. If a window appears with a prompt to format the disk, click Cancel.
26. Repeat steps 18 through 25 on the two remaining offline disks. Close the Computer Management console.
27. On LON-HOST2, in Server Manager, click Tools, and then click Computer Management. 28. Expand Storage, and then click Disk Management. 29. Click and then right-click Disk Management, and then click Refresh. 30. Right-click the first offline disk, and then click Online. 31. Repeat step 30 for the two remaining offline disks. 32. Close the Computer Management console.
ď ľ Task 2: Install and configure Failover Clustering on both host machines
MCT USE ONLY. STUDENT USE PROHIBITED
L6-42 Implementing Failover Clustering with Hyper-V
1.
On LON-HOST1, if Server Manager is not open, open it.
2.
From the Dashboard, click Add roles and features.
3.
On the Before You Begin page, click Next.
4.
On the Select installation type page, click Next.
5.
On the Select destination server page, make sure 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, click Failover Clustering, click Add Features, and then click Next.
8.
On the Confirm installation selections page, click Install.
9.
When the installation is complete, click Close.
10. Repeat steps 1 through 9 on LON-HOST2. 11. On LON-HOST1, in Server Manager, click Tools, and then click Failover Cluster Manager. 12. In Failover Cluster Manager, in the center pane, under Management, click Create Cluster. 13. In the Create Cluster Wizard, on the Before You Begin page, read the information, and then click Next.
14. In the Enter server name text box, type LON-HOST1, and then click Add. Type LON-HOST2, and then click Add. 15. Verify the entries, and then click Next. 16. On the Validation Warning page, click No, I do not require support from Microsoft for this cluster, and then click Next. Note: In a production environment, you should always run the Cluster Validation Wizard. We omit this in this lab to save time. 17. On the Access Point for Administering the Cluster page, in the Cluster Name text box, type VMCluster. 18. Under Address, type 172.16.0.126, and then click Next. 19. In the Confirmation dialog box, verify the information, clear the Add all eligible storage to the cluster check box, and then click Next. 20. In the Create Cluster Wizard, on the Summary page, click Finish.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L6-43
ď ľ Task 3: Configure cluster storage and quorum 1.
On LON-HOST1, in Failover Cluster Manager, expand VMCluster.Adatum.com, expand Storage, right-click Disks, and then click Add Disk.
2.
In the Add Disks to a Cluster dialog box, verify that Cluster Disk 1, Cluster Disk 2, and Cluster Disk 3 are selected, and then click OK.
3.
In Failover Cluster Manager, click Disks, and then verify that the disks appear as Available Storage for the cluster.
4.
Right-click VMCluster.Adatum.com, select More Actions, click Configure Cluster Quorum Settings, and then click Next.
5.
On the Select Quorum Configuration Option page, click Use default quorum configuration, and then click Next.
6.
On the Confirmation page, click Next.
7.
On the Summary page, click Finish.
8.
Click Disks in the left pane, and then in the right pane, right-click one of the disks that has Available Storage in the Assigned To column.
9.
In the drop-down menu, click Add to Cluster Shared Volumes.
10. Ensure that LON-HOST1 is the owner node of the disk that you just assigned to the Cluster Shared Volume. If it is not, right-click the disk, select Move, click Select Node, select LON-HOST1, and then click OK. 11. On LON-HOST1, open File Explorer, browse to E:\Program Files\Microsoft Learning\10971 \Drives\10971B-LON-SoFS1\Virtual Hard Disks, and then copy the 10971B-LON-SoFS1.vhd virtual hard disk file to the C:\ClusterStorage\Volume1 location. Note: The E volume drive letter might vary.
ď ľ Task 4: Configure a virtual machine 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.
5.
On the Specify Name and Location page, type TestClusterVM for the Name, 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, select Next.
8.
On the Assign Memory page, type 768, and then click Next.
9.
On the Configure Networking page, select External Network from the Connection drop-down menu, and then click Next.
10. On the Connect Virtual Hard Disk page, click Use an existing virtual hard disk, and then click Browse. 11. Locate C:\ClusterStorage\Volume1, select 10971B-LON-SoFS1.vhd, and then click Open.
12. Click Next, and then click Finish. 13. On the Summary page, click Finish. 14. Right-click TestClusterVM, and then click Settings. 15. In the Settings for TestClusterVM on LON-HOST1 dialog box, expand Processor in the left navigation pane, and then click Compatibility.
MCT USE ONLY. STUDENT USE PROHIBITED
L6-44 Implementing Failover Clustering with Hyper-V
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 machine successfully starts.
ď ľ Task 5: Perform live migration in the failover cluster 1.
On LON-HOST2, open Server Manager, click Tools, and then open Failover Cluster Manager.
2.
In Failover Cluster Manager, expand VMCluster.Adatum.com, and then click Roles.
3.
Right-click TestClusterVM, select Move, select Live Migration, and then click Select Node.
4.
Click LON-HOST2, and then click OK.
5.
Right-click TestClusterVM, and then click Connect.
6.
Ensure that you can access the virtual machine while it is migrating to another host.
7.
Wait until the migration is finished.
8.
Shut down TestClusterVM by right-clicking it and selecting Shut Down.
Results: After completing this exercise, you will have created a Hyper-V cluster.
Exercise 2: Creating a Scale-Out File Server Cluster ď ľ Task 1: Configure iSCSI storage for file servers 1.
On LON-FILE1, in Server Manager, click Tools, and then click Computer Management.
2.
Expand Storage, and then click Disk Management. You will see three disks in the Offline state.
3.
Right-click the first 30-GB disk that is in an offline state, and then click Online.
4.
Right-click the same disk, and then click Initialize Disk. In the Initialize Disk dialog box, click OK.
5.
Right-click the unallocated space on the new online disk, and then click New Simple Volume.
6.
On the Welcome page, click Next.
7.
On the Specify Volume Size page, click Next.
8.
On the Assign Drive Letter or Path page, click Next.
9.
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.
10. Click Finish. If a window appears with a prompt to format the disk, click Cancel.
11. Repeat steps 3 through 10 on the other two disks that are offline. (One disk is 30 GB in size, and the other is 10 GB.). Close the Computer Management console.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L6-45
12. On LON-FILE2, in Server Manager, click Tools, and then click Computer Management. 13. Expand Storage, and then click Disk Management. 14. Right-click Disk Management, and then click Refresh. 15. Right-click the first 30-GB disk, and then click Online.
16. Repeat step 15 for the other two disks that are offline. Close the Computer Management console.
ď ľ Task 2: Configure Scale-Out File Server 1.
On LON-FILE1, in Server Manager, click Tools, and then click Failover Cluster Manager.
2.
In Failover Cluster Manager, in the center pane, under Management, click Create Cluster.
3.
In the Create Cluster Wizard, on the Before You Begin page, read the information, and then click Next.
4.
In the Enter server name text box, type LON-FILE1, and then click Add. Type LON-FILE2, and then click Add.
5.
Verify the entries, and then click Next.
6.
On the Validation Warning page, click No, I do not require support from Microsoft for this cluster, and then click Next.
7.
On the Access Point for Administering the Cluster page, in the Cluster Name text box, type FSCluster.
8.
Under Address, type 172.16.0.127, and then click Next.
9.
On the Confirmation page, verify the information, clear the check box next to Add all eligible storage to the cluster, and then click Next.
10. On the Summary page, click Finish.
11. In Failover Cluster Manager, expand FSCluster.Adatum.com, expand Storage, right-click Disks, and then click Add Disk. 12. In the Add Disks to a Cluster dialog box, verify that Cluster Disk 1, Cluster Disk 2, and Cluster Disk 3 are selected, and then click OK. 13. In Failover Cluster Manager, click Disks, and then verify that the three disks appear as Available Storage for the cluster. 14. Right-click Cluster Disk 1, and then select Add to Cluster Shared Volumes.
15. Right-click FSCluster.Adatum.com, select More Actions, click Configure Cluster Quorum Settings, and then click Next. 16. On the Select Quorum Configuration Option page, click Use default quorum configuration, and then click Next. 17. On the Confirmation page, click Next. 18. On the Summary page, click Finish. 19. Right-click Roles, and then select Configure Role. 20. On the Before You Begin page, click Next. 21. On the Select Role page, select File Server, and then click Next.
22. On the File Server Type page, click Scale-Out File Server for application data, and then click Next. 23. On the Client Access Point page, in the Name text box, type AdatumFS, and then click Next.
24. On the Confirmation page, click Next. 25. On the Summary page, click Finish.
Task 3: Create and configure a continuously available file share
MCT USE ONLY. STUDENT USE PROHIBITED
L6-46 Implementing Failover Clustering with Hyper-V
1.
On LON-FILE2, open Failover Cluster Manager, expand FSCluster.Adatum.com, click Roles, and then in the central pane, right-click AdatumFS, and then click Add File Share.
2.
In the New Share Wizard, on the Select the profile for this share page, select SMB ShareApplications, and then click Next. You can ignore the warning at the top of the page.
3.
On the Select the server and path for this share page, click Select by volume, and then click Next.
4.
On the Specify share name page, in the Share name text box, type VMachines, and then click Next.
5.
On the Configure share settings page, click Next.
6.
On the Specify permissions to control access page, click Customize permissions.
7.
In the Advanced Security Settings for VMachines window, click Add.
8.
In the Permission Entry for VMachines window, click Select a principal.
9.
In the Select User, Computer, Service Account, or Group window, click Object Types. In the Object Types window, select Computers, and then click OK.
10. In the text box, type LON-HOST1, click Check Names, and then click OK. 11. In the Basic Permissions section, select Full Control, and then click OK. 12. Repeat steps 7 through 12 to assign Full control permissions to LON-HOST2. 13. Click OK to close the Advanced Security Settings for VMachines window.
14. On the Specify permissions to control access page, make sure that both ADATUM\LON-HOST1$ and ADATUM\LON-HOST2$ are present in the list with Full Control Access, and then click Next. 15. On the Confirm selections page, click Create, and then click Close.
Results: After completing this exercise, you will have configured a Scale-Out File Server.
Exercise 3: Configuring Hyper-V to Use File Server and then Verifying Availability Task 1: Move the virtual machine to a highly available file share 1.
On the LON-HOST1, open Hyper-V Manager.
2.
Right-click the 10971B-LON-SoFS1 virtual machine, and then click Move.
3.
On the Before You Begin page of the Move “10971B-LON-SoFS1” Wizard, click Next.
4.
On the Choose Move Type page, select Move the virtual machine’s storage, and then click Next.
5.
On the Choose Options for Moving Storage page, select Move all of the virtual machine’s data to a single location, and then click Next.
6.
On the Choose a new location for virtual machine page, click Browse and then type \\AdatumFS\VMachines\ in the Folder text box. Click Select Folder, and then click Next.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L6-47
7.
On the Completing Move Wizard page, click Finish.
8.
Wait until the virtual machine has migrated to the highly available file share. This process will take a few minutes to complete.
9.
When migration is complete, right-click the 10971B-LON-SoFS1 virtual machine, and then click Settings.
10. In the Settings for 10971B-LON-SoFS1 on LON-HOST1 window, in the left pane, click Hard Drive.
11. Ensure that the path for the virtual hard disk is on the \\adatumfs\VMachines share, and then click Cancel.
12. In Hyper-V Manager, right-click the 10971B-LON-SoFS1 virtual machine, and then click Start. Ensure that the virtual machine starts and runs.
ď ľ Task 2: Validate high availability after a storage failure 1.
On LON-FILE1, open Failover Cluster Manager.
2.
Expand FSCluster.Adatum.com, and then click Roles.
3.
In the central pane, make sure that AdatumFS is running. Read the value of the Owner Node column (it will be either LON-FILE1 or LON-FILE2).
4.
On LON-HOST1 or LON-HOST2, open Hyper-V Manager, right-click the virtual machine that owns AdatumFS (from step 3), and then click Settings.
5.
In the left pane, click Network Adapter (connected to External Network), in the right pane, in the Virtual Switch drop-down list box, select Not connected, and then click OK.
6.
Switch to Failover Cluster Manager on another node that is still connected, and then ensure that the owner node changes for AdatumFS. You might have to refresh the console to see the change.
7.
Click Nodes, and then verify that one node is down.
8.
In Hyper-V Manager on LON-HOST1, right-click the 10971B-LON-SoFS1 virtual machine, and then select Connect.
9.
Sign in to LON-SoFS1 as Adatum\Administrator with the password Pa$$w0rd, and then ensure that the virtual machine is running.
10. Open Hyper-V Manager on LON-HOST1 or LON-HOST2, right-click the virtual machine that you disconnected in step 5, and then click Settings.
11. In the left pane, click Network Adapter, in the right pane, in the Virtual switch drop-down list box, select External Network, and then click OK. 12. Switch back to Failover Cluster Manager, and then ensure that both nodes are up and running. It might take up to a minute for the console to refresh the status. If you still cannot view the FSCluster.Adatum.com node, reopen Failover Cluster Manager.
Results: After completing this exercise, you will have configured Hyper-V with Scale-Out File Server.
Exercise 4: Configuring a Shared Virtual Hard Disk Task 1: Configure disks 1.
On LON-HOST1, click Windows PowerShell on the taskbar.
2.
In Windows PowerShell, create two virtual hard disks, one on local storage and one on a Cluster Shared Volume (CSV), by running the following cmdlets: New-VHD –Path C:\Shares\HDD1x.vhdx -SizeBytes 10GB –Dynamic New-VHD –Path \\adatumfs\VMachines\SharedVHDX.vhdx -SizeBytes 10GB –Dynamic
3.
Add the virtual hard disks that you created to the 10971B-LON-SoFS1 virtual machine by running the following cmdlets: Add-VMHardDiskDrive –VMName 10971B-LON-SoFS1 –ControllerType SCSI –Path C:\Shares\HDD1x.vhdx Add-VMHardDiskDrive –VMName 10971B-LON-SoFS1 –ControllerType SCSI –Path \\adatumfs\VMachines\SharedVHDX.vhdx
4.
MCT USE ONLY. STUDENT USE PROHIBITED
L6-48 Implementing Failover Clustering with Hyper-V
If the 10971B-LON-SoFS1 virtual machine is running, shut it down.
Note: You cannot modify virtual hard disk sharing settings while the virtual machine is running.
Task 2: Configure and validate virtual hard disk sharing 1.
On LON-HOST1, in Hyper-V Manager, right-click 10971B-LON-SoFS1, and then click Settings.
2.
In Settings, confirm that 10971B-LON-SoFS1 has two hard disks listed under SCSI Controller: HDD1x.vhdx and SharedVHDX.vhdx.
3.
In the Settings for 10971B-LON-SoFS1 on LON-HOST1 dialog box, in the navigation pane, expand HDD1x.vhdx, and then click Advanced Features.
4.
In details pane, select the Enable virtual hard disk sharing check box, and then click Apply.
Note: The “Error applying Hard Drive changes” message appears because local storage where HDD1x.vhdx is located does not support virtual hard disk sharing. 5.
In the error message pop-up window, click Close, in the details pane, click Advanced Features, and then clear the Enable virtual hard disk sharing check box.
6.
In the navigation pane, expand SharedVHDX.vhdx, and then click Advanced Features.
7.
In the details pane, click Enable virtual hard disk sharing, and then click OK. Note: This time you do not receive an error because the virtual hard disk is stored on a CSV.
8.
On LON-HOST2, ensure that 10971B-LON-SoFS2 is turned off.
9.
In Windows PowerShell, add SharedVHDX.vhdx to 10971B-LON-SoFS2 by running the following cmdlet: Add-VMHardDiskDrive –VMName 10971B-LON-SoFS2 –ControllerType SCSI –Path \\adatumfs\VMachines\SharedVHDX.vhdx
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L6-49
10. On LON-HOST1, in Hyper-V Manager, right-click 10971B-LON-SoFS1, and then click Start. 11. On LON-HOST2, right-click 10971B-LON-SoFS2, and then click Start. Note: You receive an error message because the virtual machine is already using SharedVHDX.vhdx. 12. In the error message pop-up window, click Close. 13. In Hyper-V Manager, right-click 10971B-LON-SoFS2, and then click Settings.
14. In Settings for 10971B-LON-SoFS2, in the navigation pane, expand SharedVHDX.vhdx, and then click Advanced Features. 15. In the details pane, click Enable virtual hard disk sharing, and then click OK. 16. Right-click 10971B-LON-SoFS2, and then click Start. Note: Notice that LON-SoFS2 starts without an error this time because it is configured with virtual hard disk sharing.
Task 3: Prepare for the next module 1.
On LON-HOST1, open Failover Cluster Manager.
2.
Click Roles, right-click TestClusterVM, select Remove, and then click Yes.
3.
On LON-HOST1, in Failover Cluster Manager, right-click VMCluster.Adatum.com, select More Actions, click Destroy cluster, and then click Yes.
4.
On LON-HOST1, in Hyper-V Manager, revert the 10971B-LON-DC1-B, 10971B-LON-SVR1-B, and 10971B-LON-FILE1 virtual machines to their initial checkpoints.
5.
On LON-HOST2, revert the 10971B-LON-FILE2 and 10971B-LON-SoFS2 virtual machines to their initial checkpoints.
6.
On LON-HOST1, in Server Manager, click All Servers, right-click VMCluster, click Remove This Server and Remote Servers in This Cluster, and then click OK. Repeat on LON-HOST2.
7.
On LON-HOST1, open Windows PowerShell, and then run the following commands. Press Enter after each command: Get-iSCSITarget | disconnect-IscsiTarget
Press Y twice to confirm. Get-IscsiTargetPortal | Remove-IscsiTargetPortal
Press Y to confirm. Set-Service –Name msiscsi –status Stopped –StartupType Manual
8.
Repeat step 7 on LON-HOST2.
Results: After completing this exercise, you will have configured a shared .vhdx file.
MCT USE ONLY. STUDENT USE PROHIBITED
MCT USE ONLY. STUDENT USE PROHIBITED L7-51
Module 7: Storage Infrastructure Management with Virtual Machine Manager
Lab: Managing Storage Infrastructure Exercise 1: Configuring and Provisioning Storage Infrastructure Components ď ľ Task 1: Create a logical network on LON-VMM1 1.
On LON-VMM1, from the desktop, on the taskbar, click the Virtual Machine Manager Console icon.
2.
On the Connect to Server page, click Connect.
3.
In the list of workspaces, click Fabric.
4.
In the console tree, expand Networking, and then click Logical Networks.
5.
On the ribbon, click the Create icon.
6.
In the Create menu, click Logical Network.
7.
In the Create Logical Network Wizard, in Name, type Network1, and then click Next.
8.
On the Network Site page, click Add.
9.
Under Host groups that can use this network site, select All Hosts.
10. Under Associated VLANs and IP subnets, click Insert row. In VLAN, type 10. In IP subnet, type 10.10.0.0/24, and then click Next. 11. On the Summary page, click Finish. 12. After the logical network is created, close the Jobs window.
ď ľ Task 2: Add a Hyper-V host to Virtual Machine Manager 1.
On LON-VMM1, in Virtual Machine Manager, in the list of workspaces, click VMs and Services.
2.
In the console tree, right-click All Hosts, and then click Add Hyper-V Hosts and Clusters.
3.
In the Add Resource Wizard, on the Resource Location page, click Windows Server computers in a trusted Active Directory domain (it should be the default), and then click Next.
4.
On the Credentials page, click Manually enter the credentials. In User name, type Adatum\Administrator, in Password, type Pa$$w0rd, and then click Next.
5.
On the Discovery Scope page, under Computer names, type lon-host1.adatum.com, and then click Next.
6.
On the Target resources page, under Discovered computers, select lon-host1.adatum.com, and then click Next.
7.
When the Virtual Machine Manager dialog box appears, click OK.
8.
On the Host Settings page, click Next.
9.
On the Summary page, in the upper right-hand corner, click View Script.
MCT USE ONLY. STUDENT USE PROHIBITED
L7-52 Storage Infrastructure Management with Virtual Machine Manager
10. In Notepad, review the Windows PowerShell cmdlets. These are the cmdlets necessary to run a script in Windows PowerShell to add the LON-HOST1 host to this Virtual Machine Manager management server. 11. In Notepad, click File, and then click Save As.
12. In the Save As dialog box, under This PC, click Documents. In File name, type AddHost.ps1, in the Save as type list, click All Files (*.*), and then click Save. 13. Close Notepad. 14. On the Summary page, click Finish.
15. The Jobs window appears, which shows, in sequence, the individual steps being taken to add the host. It may take several minutes to add the virtual machine host. In the Jobs window, a yellow triangle might appear with the text Add virtual machine host Completed w/ info. This occurs because Microsoft Multipath I/O (MPIO) is not enabled for known storage arrays. This is expected. If an error message appears and the job fails, reboot LON-HOST1 and then start again from Step 1. 16. When the job finishes, close the Jobs window. 17. In the VMs and Services console tree, under All Hosts, verify that Lon-host1 is displayed. 18. To add LON-HOST2, on the taskbar, click the Windows PowerShell icon. 19. In Windows PowerShell, type the following command, and then press Enter: cd documents
20. In Windows PowerShell, type the following command, and then press Enter: notepad AddHost.ps1
21. In Notepad, click Format, and then click Word Wrap.
22. Examine the script, and then note the two variables that are created and the cmdlets they are based on. 23. Review the Add-SCVMHost cmdlet and the various parameters that are called. 24. Modify the ComputerName parameter to identify lon-host2 rather than lon-host1. 25. On the File menu, click Save, and then close Notepad. 26. In Windows PowerShell, type the following command, and then press Enter: ./addhost.ps1
27. In the Windows PowerShell credential required dialog box: o
In User name, type Adatum\Administrator.
o
In Password, type Pa$$w0rd, and then click OK.
28. Wait for Windows PowerShell to display a number of parameters and values in columnar form. Review the data, and then close Windows PowerShell.
If adding the host fails, check if msiinstaller.exe exists at \\lon-host2\admin$. If it does, delete the file, go back to step 26, and run it again.
29. In the Virtual Machine Manager console, in the VMs and Services console tree, under All Hosts, verify that you now see LON-HOST2.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L7-53
30. Select LON-HOST2, on the ribbon, click the Folder tab, and then click Properties. Review each of the pages in the lon-host2.adatum.com Properties dialog box. 31. Close the lon-host2.adatum.com Properties dialog box.
ď ľ Task 3: Create a hardware profile 1.
On LON-VMM1, in the Virtual Machine Manager console, in the list of workspaces, click Library.
2.
On the Home tab, click the Create icon, and then, on the shortcut menu, click Hardware Profile.
3.
In the New Hardware Profile Wizard, on the General page: o
In the Name box, type LabHWProfile.
o
In Description, type Lab creating a hardware profile.
4.
In the New Hardware Profile Wizard, select the Hardware Profile page.
5.
On the Hardware Profile page, in the center pane, ensure Compatibility is selected, click Cloud Capability Profiles, and then select Hyper-V.
6.
In the center pane, click General, and then click Memory. In the Memory details pane, select Dynamic, and then, in Maximum memory, type 1024.
7.
Scroll down in the center pane, click Network Adapters, and then click Network Adapter 1. o
In the Network Adapter 1 details pane, select Connected to a VM network, and then click Browse.
o
In the dialog box, click External Network, and then click OK.
8.
In the New Hardware Profile Wizard, click OK.
9.
In the Virtual Machine Manager, in the console tree, expand Profiles, and then click Hardware Profiles. Notice that the LabHWProfile is displayed.
ď ľ Task 4: Create a guest operating system profile 1.
In the Virtual Machine Manager console, in the list of workspaces, click Library.
2.
In the console tree, click Profiles.
3.
Under Profiles, click Guest OS Profiles.
4.
On the Home tab, click the Create icon, and then, on the shortcut menu, click Guest OS Profile.
5.
In the New Guest OS Profile Wizard, on the General page: o
In the Name box, type LabGuestOS.
o
In Description, type Lab creating a GuestOS profile.
6.
In the New Guest OS Profile Wizard, select the Guest OS Profile page.
7.
On the Guest OS Profile page, in the center pane, ensure General Settings is selected, and then click Operating System. In the details pane, click the down arrow, and then click Windows Server 2012 R2 Datacenter.
8.
In the center pane, click Identity Information, and then, in Computer name, type WS2012R2-Core##.
9.
In the center pane, click Admin Password, and then, in the details pane, click Specify password of the local administrator account. In the Password and Confirm boxes, type Pa$$w0rd.
10. In the New Guest OS Profile Wizard, click OK. 11. LabGuestOS now appears in the Profiles details pane of the Virtual Machine Manager console.
ď ľ Task 5: Create a capability profile
MCT USE ONLY. STUDENT USE PROHIBITED
L7-54 Storage Infrastructure Management with Virtual Machine Manager
1.
In the Virtual Machine Manager console, in the list of workspaces, click Library.
2.
In the console tree, click Profiles.
3.
Under Profiles, click Capability Profiles.
4.
On the Home tab, click the Create icon, and then, on the shortcut menu, click Capability Profile.
5.
In the Create Capability Profile Wizard, on the General page, in Name, type Capability1, and then click Next.
6.
On the Capabilities page, in the center pane, under General, click Processor Range.
7.
In the details pane, under Number of processors, in Maximum, type 1.
8.
In the center pane, scroll down to Advanced, and then click Availability.
9.
In the details pane, click the arrow, click Required, and then click Next.
10. On the Summary page, review the settings, and then click Finish. 11. After the capability profile is created, close the Jobs window.
Results: After you complete this exercise, you will have created a logical network in Virtual Machine Manager, added a Hyper-V in Windows Server 2012 host to Virtual Machine Manager, and created hardware, guest, and capability profiles in Virtual Machine Manager.
Exercise 2: Adding iSCSI Storage to Virtual Machine Manager ď ľ Task 1: Configure the iSCSI target 1.
On LON-SVR1, in Server Manager, in the navigation pane, click File and Storage Services.
2.
In the File and Storage Services pane, click iSCSI. Notice that several virtual disks and one target are configured on LON-SVR1.
3.
In the iSCSI TARGETS pane, click TASKS, and then, in the TASKS list, click View All Targets.
4.
In the iSCSI Targets dialog box, right-click target1, and then click Properties.
5.
In the target1 Properties dialog box, click Initiators, and then click Add.
6.
In the Add initiator ID dialog box, click Browse.
7.
In the Select Computer dialog box, type LON-VMM1, and then click OK.
8.
In the Add initiator ID dialog box, click OK.
9.
In the target1 Properties dialog box, click OK.
10. Close the iSCSI Targets dialog box.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L7-55
Task 2: Connect to the iSCSI target 1.
On LON-VMM1, click the Server Manager icon on the taskbar.
2.
In Server Manager, on the menu bar, click Tools, and then, in the Tools list, select iSCSI Initiator.
3.
If a Microsoft iSCSI dialog box appears, click Yes.
4.
In the iSCSI Initiator Properties dialog box, on the Targets tab, in the Target box, type LON-SVR1, and then click Quick Connect.
5.
In the Quick Connect box, click Done.
6.
Click OK to close the iSCSI Initiator Properties dialog box.
Task 3: Add the MPIO feature to LON-HOST1 1.
Switch to LON-HOST1. On the taskbar, click the Server Manager icon to launch Server Manager.
2.
In Server Manager, 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 server from the server pool is selected. In the Server Pool list, click LON-HOST1.Adatum.com, 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.
Task 4: Add the Storage Management Initiative Specification provider for iSCSI Target 1.
On LON-VMM1, click Start, type Virtual Machine Manager command shell, and then press Enter.
2.
At the Virtual Machine Manager command shell prompt, run the $Credential = Get-Credential command.
3.
In the authentication dialog box, in User name, type Adatum\Administrator, and in Password type Pa$$w0rd. Click OK.
4.
At the Virtual Machine Manager command shell prompt, run the following command: $Runas = New-SCRunAsAccount -Name "iSCSI" -Credential $Credential
5.
At the Virtual Machine Manager command shell prompt, run the following command: Add-SCStorageProvider -Name "Microsoft iSCSI Target Provider" -RunAsAccount $Runas -ComputerName "lon-svr1.adatum.com" -AddSmisWmiProvider
6.
In the Virtual Machine Manager console, in the list of workspaces, click Fabric. In the console tree, under Storage, click Providers.
7.
Verify that the Microsoft iSCSI Target Provider is listed in the providers list.
Task 5: Add iSCSI storage to Virtual Machine Manager 1.
In the Virtual Machine Manager console, in the list of workspaces. click Fabric. In the console tree, expand Storage, and then click Providers.
2.
Under Storage, right-click Providers, and then click Add Storage Devices.
MCT USE ONLY. STUDENT USE PROHIBITED
L7-56 Storage Infrastructure Management with Virtual Machine Manager
3.
In the Add Storage Devices Wizard, on the Select Provider Type page, click SAN and NAS devices discovered and managed by a SMI-S provider, and then click Next.
4.
On the Specify Discovery Scope page, click the Protocol arrow, and then click SMI-S WMI.
5.
On the Specify Discovery Scope page, in Provider IP address or FQDN, type lon-svr1.adatum.com.
6.
On the Specify Discovery Scope page, click Next.
7.
On the Gather Information page, after LON-SVR1 is displayed with the capacity in the storage device list, click Next.
8.
On the Select Storage Devices page, select the iSCSITarget: LON-SVR1: Z: storage device.
9.
On the Select Storage Devices page, click Create classification.
10. In the New Classification dialog box, in Name type Tier2, and then click Add. 11. On the Select Storage Devices page, on the row for the selected storage device, click the Classification arrow. In the drop-down list, click Tier2, and then click Next. 12. On the Summary page, review the settings, and then click Finish. 13. A Jobs window appears. When the Sets Storage Array job finishes, close the Jobs window. 14. In the Virtual Machine Manager console, ensure the Fabric workspace is open. 15. On the ribbon, click the Allocate Capacity icon. 16. In the Allocate Storage Capacity window, click Allocate Storage Pools.
17. In the Allocate Storage Pools dialog box, click the iSCSITarget: LON-SVR1: Z: storage pool, click Add, and then click OK. 18. Click Close to close the Allocate Storage Capacity window. 19. In the console tree, under Storage, select the Arrays node. 20. On the ribbon, click the Create icon, and then click Create Logical Unit.
21. In the Create Logical Unit dialog box, in Name, type LUN1, in Size (GB), type 10, and then click OK.
22. In the console tree, under Storage, click Classifications and Pools. In the details pane, expand Tier2, and, if necessary, expand iSCSITarget: LON-SVR1: Z: to reveal LUN1 and the storage details. 23. On the ribbon, click the Allocate Capacity icon. 24. In the Allocate Storage Capacity dialog box, click Allocate Logical Units. 25. In the Allocate Logical Units dialog box, click the LUN1 logical unit, and then click Add. 26. Click OK, and then click Close to close the Allocate Storage Capacity dialog box.
Results: After you complete this exercise, you will have connected an iSCSI initiator to an existing target, added a storage provider in Virtual Machine Manager, and added iSCSI storage to Virtual Machine Manager.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L7-57
Exercise 3: Creating a Scale-Out File Server Storage Cluster Task 1: Prepare virtual machines for Remote Management 1.
Sign into LON-FILE1 as Adatum\Administrator with the password Pa$$w0rd.
2.
On the taskbar, click the Windows PowerShell icon.
3.
At the prompt, run the following command:
netsh advfirewall firewall set rule group="Remote Volume Management" new enable=yes
4.
At the Windows PowerShell prompt, run the following command: Enable-NetFirewallRule -DisplayGroup "Windows Firewall Remote Management"
5.
Repeat steps 1 through 4 on LON-FILE2.
6.
Switch to LON-HOST1.
7.
On LON-HOST1, run the following Windows PowerShell command:
netsh advfirewall firewall set rule group="Remote Volume Management" new enable=yes
Task 2: Configure the Windows Firewall for iSCSI on the virtual machines 1.
On LON-HOST1, right-click Start, and then, in the context menu, click Run.
2.
In the Run dialog box, in Open, type MMC, and then click OK.
3.
In the Console 1 - [Console Root] window, click File, and then click Add/Remove Snap-in.
4.
In the Add or Remove Snap-ins dialog box, under Available snap-ins, scroll down, and then click Windows Firewall with Advanced Security.
5.
Click Add.
6.
In the Select Computer dialog box, click Another computer.
7.
In Another computer, type LON-FILE1, and then click Finish.
8.
In the Add or Remove Snap-ins dialog box, click OK.
9.
In the Console 1 - [Console Root] window, in the left pane, expand Windows Firewall with Advanced Security on LON-File1, and then click Outbound Rules.
10. In the right pane, scroll down, right-click iSCSI Service (TCP-Out), and then, in the context menu, click Enable Rule. 11. In the Console 1 - [Console Root] window, click File, and then click Add/Remove Snap-in. 12. In the Add or Remove Snap-ins dialog box, in the left pane, scroll down, and then click Windows Firewall with Advanced Security. 13. Click Add. 14. In the Select Computer dialog box, click Another computer. 15. In Another computer, type LON-FILE2, and then click Finish. 16. In the Add or Remove Snap-ins dialog box, click OK.
17. In the Console 1 - [Console Root] window, in the left pane, expand Windows Firewall with Advanced Security on LON-File2, and then click Outbound Rules. 18. In the right pane, scroll down, right-click iSCSI Service (TCP-Out), and then, in the context menu, click Enable Rule. 19. Close the Console 1 - [Console Root] window. In the Microsoft Management Console window, click No.
ď ľ Task 3: Create a Scale-Out File Server storage cluster
MCT USE ONLY. STUDENT USE PROHIBITED
L7-58 Storage Infrastructure Management with Virtual Machine Manager
1.
On LON-VMM1, in the Virtual Machine Manager console, in the list of workspaces, click Fabric, expand Networking and then click Logical Networks.
2.
In the details pane, right-click the External Network logical network, and then click Create IP Pool.
3.
On the Name page, in Name, type 172.16.0.0/16, ensure that Logical network displays External Network, and then click Next.
4.
On the Network Site page, click Create a network site. o
In Network site, type Server Pool.
o
In IP Subnet, type 172.16.0.0/16.
o
Under Host groups that can use this network site, click All Hosts, and then click Next.
5.
On the IP address range page, click Next.
6.
On the Gateway page, click Next.
7.
On the DNS page, under DNS server addresses, click Insert. Type 172.16.0.10, and then click Next.
8.
On the WINS page, click Next.
9.
On the Summary page, click Finish, and then close the Jobs window.
10. In the Virtual Machine Manager console, ensure the Fabric workspace is open.
11. On the ribbon, click the Create icon, and then click the next Create icon. Click File Server Cluster.
12. In the Create Clustered File Server Wizard, on the General page, in Cluster name, type Cluster1, in File server name, type FS1, in Cluster IP addresses type 172.16.0.101, and then click Next. 13. On the Provisioning Type page, click Browse. 14. In the Select a Run As Account dialog box, click Administrator, and then click OK. 15. On the Provisioning Type page, click Next. 16. On the Cluster Nodes page, click Add. 17. In the Add File Server Nodes dialog box, in Computer names, type LON-FILE1, and then press Enter. In Computer names, type LON-FILE2, and then click Add. 18. On the Cluster Nodes page, click Next. 19. On the Summary page, click Finish.
20. View the Jobs window for status. It will take several minutes to complete the task. You should see a status of Completed or Completed w/ Info.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L7-59
Task 4: Create and configure shared storage for a Scale-Out File Server cluster 1.
Sign into LON-FILE1 as Adatum\Administrator with the password Pa$$w0rd.
2.
On LON-FILE1, right-click the Windows button, and then click Disk Management.
3.
In the bottom-right pane, right-click Disk 1, and then click Online.
4.
Right-click Disk 1, and then click Initialize Disk.
5.
In the Initialize Disk dialog box, click OK to initialize the disk.
6.
In the right pane, right-click the unallocated space of Disk 1, and then click New Simple Volume.
7.
In the New Simple Volume Wizard, on the Welcome to the New Simple Volume Wizard page, click Next.
8.
On the Specify Volume Size page, click Next.
9.
On the Assign Drive Letter or Path page, ensure that the drive letter is E, and then click Next.
10. On the Format Partition page, click Next.
11. On the Completing the New Simple Volume Wizard page, click Finish. If a dialog box appears asking to format the volume, click Cancel. 12. Open Server Manager, click Tools, and then click Failover Cluster Manager. 13. In the console tree, expand Cluster1.Adatum.com, expand Storage, and then click Disks. 14. In the right pane, click Add Disk. 15. In the Add Disks to a Cluster dialog box, click OK to add Cluster Disk 1. 16. In the right pane, right-click Cluster Disk 1, and then click Add to Cluster Shared Volume.
Task 5: Create and configure an SMB file share 1.
To begin to create a Server Message Block (SMB) file share, on LON-VMM1, in the Virtual Machine Manager console, ensure the Fabric workspace is open.
2.
In the console tree, under Storage, click File Servers.
3.
On the ribbon, click the Create icon, and then click File Share.
4.
In the Create File Share dialog box, in File server, ensure that FS1.Adatum.com is displayed.
5.
In Name, type SMB99.
6.
In Local path, type C:\ClusterStorage\Volume1\SMB99, and then click Create.
Task 6: Connect to the Scale-Out File Server cluster 1.
On LON-HOST1, right-click Start, and then click Run.
2.
In the Run dialog box, in Open, type \\FS1, and then click OK.
3.
Validate that File Explorer opens the available file shares on FS1.
4.
Double-click the SMB99 folder to validate access.
ď ľ Task 7: Validate cluster availability
MCT USE ONLY. STUDENT USE PROHIBITED
L7-60 Storage Infrastructure Management with Virtual Machine Manager
1.
On LON-FILE1, in Failover Cluster Manager, under Cluster1.Adatum.com, ensure Storage is selected, and then click Disks.
2.
In the right pane, right-click Cluster Disk 1, click Move, and then click Select Node.
3.
In the Move Cluster Shared Volume dialog box, select LON-FILE2, and then click OK.
4.
In the disks list, validate that LON-FILE2 is listed as the owning node.
Results: After you complete this exercise, you will have prepared the virtual machines for remote management, created a Scale-Out File Server storage cluster, created and configured shared iSCSI storage, and validated connectivity to the cluster and failing over of the storage.
ď ľ Prepare for the next module 1.
Shut down all virtual machines and restart LON-HOST1.
2.
When you are prompted with the boot menu, select Windows Server 2012, and then press Enter.
3.
Sign in to the host machine as directed by your instructor.
4.
Repeat steps 1 through 3 on LON-HOST2.
MCT USE ONLY. STUDENT USE PROHIBITED L8-61
Module 8: Cloud-Based Storage and High Availability
Lab: Managing Cloud-Based Storage and High Availability
Exercise 1: Assessing Options for A. Datum’s Future Storage and Service Needs Task 1: Document three options 1.
The first option is to use Microsoft Azure Storage as a storage expansion solution. The pros and cons are: Pros: o
There are no up-front cost for hardware.
o
You pay only for the storage that you use.
o
Azure Storage is elastic and scalable.
Cons:
2.
o
Data management will be different, might require training, and might be more complex than having a single storage area network (SAN) in an on-premises data center.
o
This solution might not fit all situations. This means you might also have to use some onpremises storage.
The second option is to use a Azure StorSimple cloud-integrated solution. The pros and cons are: Pros: o
Supports expansion and increases in capacity with direct integration into Azure.
o
Data is encrypted with 256-bit Advanced Encryption Standard (AES) encryption before it is uploaded.
o
Reduces administrative overhead of managing backup hardware, such as tape drives and tape rotation.
Cons:
3.
o
Wide area network (WAN) use will increase and might saturate existing Internet links without an upgrade.
o
Existing heavy investment in on-premises storage.
o
On-premises StorSimple appliances are still necessary.
The third option is to use an Azure Site Recovery solution, integrated with Hyper-V Replica, to provide disaster recovery for critical virtual machines in case of disaster in either office. The pros and cons are: Pros: o
Only what you choose to store in Azure is stored or transferred to Azure.
o
This solution is flexible in terms of where you can carry out your disaster recovery operations— you can recover virtual machines directly in Azure or at another office.
o
You can use Azure as a disaster recovery site and eventually move away from having infrastructure at more than one site.
Cons: o
Might require staff training.
o
This would be a large project for A. Datum Corporation’s first cloud deployment.
o
This might meet some of the requirements, but you would likely need to combine it with an Azure Storage or StorSimple solution.
MCT USE ONLY. STUDENT USE PROHIBITED
L8-62 Cloud-Based Storage and High Availability
Results: After you complete this exercise, you will have assessed the options for A. Datum’s future storage and service needs.
Exercise 2: Configuring Azure Storage Task 1: Create a storage account 1.
On the host computer, click Start, and then click the Internet Explorer icon.
2.
In Internet Explorer, browse to the Azure management portal at https://portal.azure.com.
3.
Sign in to your Azure account.
4.
If a WINDOWS AZURE TOUR window appears, close it.
5.
In the bottom pane, on the left side, click + NEW.
6.
In the New menu, scroll down, and then click STORAGE.
7.
In the far right pane, in STORAGE, type 10971sinitials.
Note: replace initials with your own initials. For example, if your name is Margo Ayers, then the URL is 10971sma. If the name is already in use, add a number after your initials until the name is accepted. For the remainder of the lab, use your initials in place of initials. 8.
Click PRICING TIER. In the Recommend pricing pane, click L1, and then click Select.
9.
Click LOCATION. If the selected location is not the closest location to you or a location is not selected, click the location closest to you.
10. At the bottom of the Storage account pane, click Create to complete the creation.
Task 2: View the dashboard and configuration options 1.
On the Azure management portal, in the left pane, click BROWSE, and then click Storage.
2.
In the Storage pane, click the 10971sinitials storage account.
3.
In the 10971sinitials pane, view the information available on the dashboard.
4.
Near the top of the 10971sinitials pane, click PROPERTIES to view the storage account properties.
Task 3: Add a container 1.
In the left pane, click BROWSE.
2.
In the Browse pane, click Storage.
3.
In the Storage pane, click 10971sinitials.
4.
In the right pane, click Containers, and then click ADD +.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L8-63
5.
In the Add a container pane, type 10971cinitials in NAME. If the name is already in use, add a number after your initials until the name is accepted.
6.
In the Access type settings, click Blob, and then click OK to complete the creation of the new container.
7.
Click the X icon in the upper-right corner of the Containers pane to close it.
ď ľ Task 4: Add data to a container by using Azure Web Storage Explorer 1.
In the 10971sinitials pane, click KEYS.
2.
In the Manage keys pane, copy the access key shown in PRIMARY ACCESS KEY to the Clipboard.
3.
Click the File Explorer icon on the taskbar.
4.
In File Explorer, in the navigation pane, click Documents.
5.
In the right pane, right-click an empty area, click New, and then click Text Document.
6.
In the file name, replace New Text Document with storage-key, and then press Enter.
7.
Double-click storage-key.txt. The file opens in Notepad. In Notepad, paste the access key that you copied to the Clipboard in step 2 into the file.
8.
Click File, and then click Save.
9.
Close Notepad.
10. In the Manage keys pane, click the X to close the pane. 11. In Internet Explorer, press Ctrl+N to open a new browser window.
12. In the Internet Explorer Address bar, type http://azurestorage.azurewebsites.net/login.aspx, and then press Enter. 13. On the Azure Web Storage Explorer page, in Account, type 10971sinitials, paste your access key into the Key box, and then press Enter. 14. Click 10971cinitials. 15. Click Browse.
16. In the Choose File to Upload window, double-click Computer, double-click Local Disk (C:), doubleclick Windows, scroll down, and then double-click the media folder. 17. Click Alarm01.wav, and then click Open. 18. Click the Upload button to upload Alarm01.wav. 19. Click Browse.
20. In the Choose File to Upload window, double-click Computer, double-click Local Disk (C:), doubleclick Program Files, double-click Internet Explorer, and then double-click the images folder. 21. Scroll down, click splashscreen.contrast-white_scale-180.png, and then click Open. 22. Click the Upload button to upload splashscreen.contrast-white_scale-180.png.
Task 5: Access data by using Azure Web Storage Explorer 1.
In the file list, click http://10971sinitials.blob.core.windows.net/10971cinitials /splashscreen.contrast-white scale-180.png, and then verify that an Internet Explorer logo appears in the browser window.
2.
Close Internet Explorer.
Results: After you complete this exercise, you will have created a storage account in Azure, added a storage container, and used Azure Web Storage Explorer to add and access data.
Exercise 3: Configuring Azure Virtual Machines Task 1: Create an Azure virtual machine 1.
Browse to the Azure management portal at https://portal.azure.com.
2.
Sign in to your Azure account.
3.
In the lower-left pane, click + NEW.
4.
In the NEW pane, click Windows Server 2012 R2 Datacenter.
5.
In the CREATE VM pane: a.
In HOST NAME, type serverinitials-10971.
b.
In USER NAME, type serverinitials-admin.
c.
In PASSWORD, type Moc1500!.
6.
Click OPTIONAL CONFIGURATION.
7.
In the Optional Config pane, click STORAGE ACCOUNT, click 10971sinitials, and then click OK.
8.
In the CREATE VM pane, click Create.
Task 2: Create a disk 1.
In the left pane, click BROWSE.
2.
In the Browse pane, click Virtual machines.
3.
In the Virtual machines pane, click serverinitials-10971.
4.
In the serverinitials-10971 pane, scroll down to the Configure section, and then click Disks.
5.
In the Disks pane, click ATTACH NEW.
6.
In the Attach a new disk pane, click STORAGE CONTAINER.
7.
In the Choose a container pane, click CHOOSE STORAGE ACCOUNT.
8.
In the Storage account pane, click 10971sinitials.
9.
In the Choose a container pane, click CHOOSE CONTAINER.
10. In the Storage container pane, click 10971cinitials. 11. In the Choose a container pane, click OK. 12. In the Attach a new disk pane, type 50 in SIZE (GB), and then click OK.
MCT USE ONLY. STUDENT USE PROHIBITED
L8-64 Cloud-Based Storage and High Availability
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L8-65
13. In the far left pane, click NOTIFICATIONS. Watch the notifications until a notification reports that the new disk was successfully attached. After the message appears, click the X in the upper-right corner of the Notifications pane. 14. Click the X in the upper-right corner of the Disks pane. 15. In the serverinitials-10971 pane, click CONNECT. 16. On the Internet Explorer notification bar, click Save, and then click Open. 17. In the Remote Desktop Connection dialog box, click Connect. 18. In the Windows Security dialog box, if necessary, in Username, type serverinitials-admin. 19. In the Windows Security dialog box, in Password, type Moc1500!, and then click OK. 20. In the Remote Desktop Connection dialog box, click Yes. 21. In Server Manager, click Tools, and then click Computer Management. 22. In the Computer Management window, under Storage, click Disk Management. 23. In the Initialize Disk dialog box, click OK. 24. In the right pane, right-click the unallocated space next to Disk 2, and then click New Simple Volume. 25. In the New Simple Volume Wizard, click Next. 26. On the Specify Volume Size page, click Next. 27. On the Assign Drive Letter or Path page, click Next. 28. On the Format Partition page, click Next.
29. On the Completing the New Simple Volume Wizard page, click Finish. If required, click Cancel in the Microsoft Windows window.
30. On the taskbar, click the File Explorer icon, and then verify that the newly formatted volume appears in the Devices and drives list.
31. When finished, click the X in the upper-right corner of the Remote Desktop Connection (RDC) session to disconnect. 32. In the Remote Desktop Connection dialog box, click OK.
ď ľ Task 3: Verify the presence of the newly created virtual machine in Azure Web Storage Explorer 1.
In Internet Explorer, press Ctrl+N to open a new browser window.
2.
Browse to Azure Web Storage Explorer at http://azurestorage.azurewebsites.net/login.aspx.
3.
On the Azure Web Storage Explorer page, type 10971sinitials in Account.
4.
On the taskbar, click the File Explorer icon.
5.
In File Explorer, in the navigation pane, click Documents.
6.
In the right pane, double-click the storage-key.txt file.
7.
In Notepad, highlight the access key, copy it, and then close Notepad.
8.
Switch back to Internet Explorer.
9.
Paste your access key into the Key box, and then press Enter.
10. Click vhds. 11. In the list of blobs, verify that there is a blob for the virtual machine.
MCT USE ONLY. STUDENT USE PROHIBITED
L8-66 Cloud-Based Storage and High Availability
If the blob for the virtual machine is not listed, wait a few minutes and try again. It might take up to 10 minutes for the blob to appear.
Results: After you complete this exercise, you will have created a new virtual machine in Azure, added a disk to it, and validated its presence.
Exercise 4: Managing Azure Storage and Virtual Machines by Using Windows PowerShell Task 1: Install Azure Windows PowerShell 1.
On the host computer, click Start, and then click the Internet Explorer tile.
2.
In Internet Explorer, browse to http://go.microsoft.com/fwlink/p/?linkid=320376&clcid=0x409.
3.
On the Internet Explorer notification bar, click Save, and then click Open Folder.
4.
In File Explorer, double-click WindowsAzureWindows PowerShell.3f.3f.3fnew.exe.
5.
In the Web Platform Installer 5.0 window, click Install.
6.
On the PREREQUISITES page, click I Accept.
7.
Click Finish, and then click Exit.
8.
Click Start, type Windows Azure PowerShell, right-click the Windows Azure PowerShell tile, and then click Run as administrator.
Task 2: Sign in to your Azure subscription 1.
In the Administrator: Windows Azure PowerShell Command Prompt window, run the following command: Add-AzureAccount
2.
In the Sign in to Windows Azure window, type the email address for your Azure account, and then click Continue.
3.
On the Sign in page, ensure that your Azure account email address is displayed, type your Azure account password, and then click Sign in.
Task 3: View and run Azure cmdlets 1.
In the Administrator: Windows Azure PowerShell Command Prompt window, run the help azure command to display the available cmdlets in the Azure module. Press Enter several times until you are back at the command prompt.
2.
Run the following command to view the locations of Azure services: Get-AzureLocation
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L8-67
3.
Run the following command to view the details of the virtual machines: Get-AzureVM -ServiceName server<initials>-10971
4.
Run the following command to view the version of the Azure module: Get-Module -Name Azure | select Version
ď ľ Task 4: Connect to your Azure subscription 1.
Run the following command: Get-AzurePublishSettingsFile
2.
On the Internet Explorer notification bar, click Save, and then click Open folder.
Verify that you have a file with a .publishsettings extension. Note the name of the file because you need it for the next step. 3.
Run the following command: Import-AzurePublishSettingsFile -PublishSettingsFile C:\users\administrator\downloads\<name-of-file>.publishsettings
Note: if you are signed in as an account other than Administrator, use that account name in the path instead of Administrator. 4.
Run the following command to view the current subscription: Get-AzureSubscription
ď ľ Task 5: Create a virtual machine with Windows PowerShell 1.
Run the following command: Set-AzureSubscription -SubscriptionName "Free Trial" -CurrentStorageAccountName "10971s<initials>"
If you have a pre-existing Azure subscription that you are using for this procedure, substitute that subscription name for Free Trial in the command. 2.
Run the following command to view available Windows Server 2012 R2 image names:
Get-AzureVMImage | where-object { $_.Label -like "Windows Server 2012 R2*" } | select ImageName
3.
Highlight the image name at the bottom of the list, and then copy the image name to the Clipboard.
4.
Run the following command to create a new virtual machine: New-AzureQuickVM -windows -name "test10971b" -servicename "test10971b<initials>" -adminusername "test10971b-admin" -Password "Moc1500!" -imagename "<imaginename>" -Location "<region-of-your-storage-acct>"
Replace <imaginename> with the name of the image that is still stored on the Clipboard. Replace <region-of-your-storage-acct> with the location of your Azure storage account. You can run the Get-AzureStorageAccount | select Label,Location command to obtain the location of your storage account.
Task 6: Verify successful creation and placement of the virtual machine 1.
Run the following command to verify that your virtual machine was created: Get-AzureVM -ServiceName "test10971b<initials>"
2.
Run the following command to verify that the vhds container is where the virtual machine’s virtual disk is being stored: Get-AzureStorageBlob -Container vhds | where {$_.Name -like "* test10971b<initials>*" -and $_.ContentType -eq "binary/octet-stream"} | FL
Task 7: Connect to the virtual machine by using RDC 1.
In the left pane, click BROWSE, and then click Virtual Machines.
2.
Ensure that the virtual machine that you created shows a status of Running. If the status is not Running, wait a few minutes until the status changes to Running.
3.
Click the test10971b virtual machine, and then click CONNECT at the top of the right pane.
4.
On the Internet Explorer notification bar, click Save, and then click Open.
5.
In the Remote Desktop Connection dialog box, click Connect.
6.
In the Windows Security dialog box, perform the following: a.
In User name, type test10971b-admin.
b.
In Password, type Moc1500!, and then click OK.
7.
In the Remote Desktop Connection dialog box, click Yes.
8.
When finished, click the X in the upper-right corner of the RDC session to disconnect.
9.
In the Remote Desktop Connection dialog box, click OK.
MCT USE ONLY. STUDENT USE PROHIBITED
L8-68 Cloud-Based Storage and High Availability
Results: After you complete this exercise, you will have installed Azure Windows PowerShell and used it to sign in to and connected to your Azure subscription. You will also have used Azure Windows PowerShell to create a virtual machine and connect to it.
MCT USE ONLY. STUDENT USE PROHIBITED L9-69
Module 9: Implementing Network Load Balancing Clusters
Lab: Implementing Network Load Balancing Clusters Exercise 1: Implementing an NLB Cluster Task 1: Verify website functionality for stand-alone servers 1.
On LON-SVR1, on the taskbar, click the File Explorer icon.
2.
Browse to the c:\inetpub\wwwroot folder.
3.
Double-click the iis-85.png file. This opens the file in Paint.
4.
Ensure that the Paintbrush tool is selected, and then in the palette, click the color Red.
5.
Use the mouse to mark the Internet Information Services (IIS) logo distinctively with the color red.
6.
Save the changes that you made to iis-85.png, and then close Paint.
7.
Close File Explorer.
8.
Switch to LON-DC1, and then click Start.
9.
On the Start screen, click the Internet Explorer icon.
10. In the Internet Explorer Address bar, type the address http://LON-SVR1, and then press Enter. Verify that the webpage displays the IIS logo with the distinctive red mark that you added. 11. In the Internet Explorer Address bar, type the address http://LON-SVR2, and then press Enter. Verify that the webpage does not display the marked IIS logo. 12. Close Internet Explorer.
Task 2: Install NLB 1.
Switch to LON-SVR1.
2.
On the desktop, click the Server Manager icon.
3.
In Server Manager, click the Tools menu, and then click Windows PowerShell ISE.
4.
In the Windows PowerShell Integrated Scripting Environment (ISE) window, type the following command, and then press Enter: Invoke-Command -Computername LON-SVR1,LON-SVR2 -command {Install-WindowsFeature NLB,RSAT-NLB}
Task 3: Create a new Windows Server 2012 NLB cluster 1.
On LON-SVR1, in the Windows PowerShell ISE window, type the following command, 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, 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, and then press Enter: Add-NlbClusterNode -InterfaceName "Ethernet" -NewNodeName "LON-SVR2" NewNodeInterface "Ethernet"
Task 5: Validate the NLB cluster
MCT USE ONLY. STUDENT USE PROHIBITED
L9-70 Implementing Network Load Balancing Clusters
1.
On LON-SVR1, in Server Manager, click the Tools menu, and then click Network Load Balancing Manager. If a Warning window appears, click OK.
2.
In the Network Load Balancing Manager console, verify that the LON-SVR1 and LON-SVR2 nodes are visible with the status of Converged for the LON-NLB cluster.
3.
Right-click the LON-NLB (172.16.0.42) cluster, and then click Cluster properties.
4.
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.
5.
On the Port Rules tab, verify that:
6.
o
There is a single port rule named All that starts at port 0 and ends at port 65535 for both TCP and UDP protocols.
o
Both is visible in the Protocol column.
o
The port rule uses Single affinity.
Click OK to close the LON-NLB (172.16.0.42) Properties dialog box.
Results: After completing this exercise, you will have successfully implemented an NLB cluster.
Exercise 2: Configuring and Managing the NLB Cluster Task 1: Configure port rules and affinity 1.
On LON-SVR2, on the taskbar, click the Windows PowerShell icon.
2.
At the command prompt in the Windows PowerShell command-line interface, type each of the following commands, and then press Enter after each: Cmd.exe Mkdir c:\porttest Xcopy /s c:\inetpub\wwwroot c:\porttest Exit New-Website –Name PortTest –PhysicalPath “C:\porttest” –Port 5678 New-NetFirewallRule –DisplayName PortTest –Protocol TCP –LocalPort 5678
3.
On the taskbar, click the File Explorer icon.
4.
Click drive C, double-click the porttest folder, and then double-click iis-85.png. This opens the file in Paint.
5.
Select the color blue from the palette, and use the turquoise paintbrush to mark the IIS logo in a distinctive manner.
6.
Save the changes to iis-85.png, and then close Paint.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L9-71
7.
Switch to LON-DC1, and then click Start.
8.
On the Start screen, click the Internet Explorer icon.
9.
In the Internet Explorer Address bar, type http://LON-SVR2:5678, and then press Enter.
10. Verify that the IIS Start page with the IIS logo that was distinctively marked with turquoise is visible. 11. Switch to LON-SVR1. 12. On LON-SVR1, switch to Network Load Balancing Manager.
13. In the Network Load Balancing Manager console, right-click LON-NLB (172.16.0.42), and then click Cluster Properties. 14. In the LON-NLB(172.16.0.42) Properties window, on the Port Rules tab, select the All port rule, and then click Remove. 15. On the Port Rules tab, click Add. 16. In the Add/Edit Port Rule dialog box, enter the following information, and then click OK: o
Port range: 80 to 80
o
Protocols: Both
o
Filtering mode: Multiple Host
o
Affinity: None
17. On the Port Rules tab, click Add. 18. In the Add/Edit Port Rule dialog box, enter the following information, and then click OK: o
Port range: 5678 to 5678
o
Protocols: Both
o
Filtering mode: Single Host
19. Click OK to close the LON-NLB(172.16.0.42) Properties window.
20. In the Network Load Balancing Manager console, right-click LON-SVR1 (Ethernet), and then click Host Properties. 21. On the Port Rules tab, click the port rule that has 5678 as the Start and End value, and then click Edit. 22. Click the Handling priority value, and then change it to 10.
23. Click OK twice to close both the Add/Edit Port Rule dialog box and the Host Properties dialog box.
ď ľ Task 2: Validate port rules 1.
Switch to LON-DC1, and then click Start.
2.
On the Start screen, click the Internet Explorer icon.
3.
In the Internet Explorer Address bar, type http://lon-nlb, and then press Enter.
4.
Click the Refresh icon 20 times. Verify that you see webpages with and without the distinctive red marking.
5.
On LON-DC1, verify that you have Internet Explorer open.
6.
In the Address bar, type the address http://LON-NLB:5678, and then press Enter.
7.
In the Address bar, click the Refresh icon 20 times. Verify that you can view only the webpage with the distinctive turquoise marking.
Task 3: Manage host availability in the NLB cluster 1.
Switch to LON-SVR1.
2.
Restore the Network Load Balancing Manager console.
3.
Right-click LON-SVR1, click Control Host, and then click Suspend.
4.
Click the LON-NLB node. Verify that node LON-SVR1 is shown as Suspended and that node LON-SVR2 is shown as Converged.
5.
Right-click LON-SVR1, click Control Host, and then click Resume.
6.
Right-click LON-SVR1, click Control Host, and then click Start.
7.
Click the LON-NLB node. Verify that both nodes LON-SVR1 and LON-SVR2 now are shown as Converged. You might have to refresh the view to see the updates.
MCT USE ONLY. STUDENT USE PROHIBITED
L9-72 Implementing Network Load Balancing Clusters
Results: After completing this exercise, you will have successfully configured and managed an NLB cluster.
Exercise 3: Validating High Availability for the NLB Cluster Task 1: Validate website availability when the host is unavailable 1.
On LON-SVR1, on the taskbar, click the Windows PowerShell icon.
2.
Type the following command, and then press Enter: restart-computer
3.
Switch to LON-DC1.
4.
On LON-DC1, on the Start screen, click the Internet Explorer icon.
5.
In the Internet Explorer Address bar, type the address http://LON-NLB, and then press Enter.
6.
Refresh the website 20 times. Verify that the website is available while LON-SVR1 restarts but that it does not display the distinctive red mark on the IIS logo until LON-SVR1 has restarted.
Task 2: Configure and validate Drainstop 1.
Sign in to LON-SVR1 with the user name Adatum\Administrator and the password Pa$$word.
2.
On the desktop, click the Server Manager icon.
3.
In Server Manager, click the Tools menu, and then click Network Load Balancing Manager. If a Warning message appears, click OK.
4.
In the Network Load Balancing Manager console, right-click LON-SVR2, click Control Host, and then click Drainstop.
5.
Switch to LON-DC1.
6.
In Internet Explorer, in the Address bar, type http://lon-nlb, and then press Enter.
7.
Refresh the site 20 times, and then verify that only the Welcome window with the red IIS logo is visible.
Results: After completing this exercise, you will have successfully validated high availability for the NLB cluster.
MCT USE ONLY. STUDENT USE PROHIBITED
Storage and High Availability with Windows Server L9-73
ď ľ 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 10971B-LON-DC1, and then click Revert.
3.
In the Revert Virtual Machine dialog box, click Revert.
4.
Repeat steps 2 and 3 for 10971B-LON-SVR1 and 10971B-LON-SVR2.
MCT USE ONLY. STUDENT USE PROHIBITED