Module 06 High Availability
Module 06 High Availability
1 Hr 46 Min Remaining
Instructions Resources Help 100%
Disclaimer
The content in this lab is presented as designed by Microsoft. Any bugs or errors contained in these
materials are maintained by Microsoft. The content provided has been adapted to LODS’
environment, optimizing user experience within the platform. If lab issues are identified that do not
pertain directly to LODS’ platform, you can send feedback to Microsoft Learning through the Partner
Resource Center at https://www.microsoft.com/en-us/learning/certification-and-training-help.aspx.
powershell
Install-WindowsFeature –Name Failover-Clustering –IncludeManagementTools
3. Wait until the installation process is complete and a command prompt appears.
4. On SEA-ADM1, repeat step 1 to open a new PowerShell session that you'll use to
connect to the SEA-SVR2 server.
powershell
$cred=Get-Credential
powershell
$sess = New-PSSession -Credential $cred -ComputerName sea-svr2.contoso.com
8. After running the previous command, enter the following command, and then select
Enter:
powershell
Enter-PSSession $sess
powershell
Install-WindowsFeature –Name Failover-Clustering –IncludeManagementTools
11. On SEA-ADM1, repeat step 1 to open a new PowerShell session that you'll use to
connect to the SEA-SVR3 server.
powershell
$cred=Get-Credential
powershell
$sess = New-PSSession -Credential $cred -ComputerName sea-svr3.contoso.com
15. After running the previous command, enter the following command, and then select
Enter:
powershell
Enter-PSSession $sess
16. Verify that sea-svr3.contoso.com appears at the beginning of the command prompt.
powershell
Install-WindowsFeature –Name Failover-Clustering –IncludeManagementTools
powershell
Add-WindowsFeature FS-iSCSITarget-Server
19. Wait until the installation finishes and the command prompt returns.
20. In the PowerShell window for SEA-SVR2, enter the following command, and then select
Enter:
powershell
Restart-Computer
21. In the PowerShell window for SEA-SVR3, enter the following command, and then select
Enter:
powershell
Restart-Computer
22. In the PowerShell window for SEA-ADM1, enter the following command, and then select
Enter:
powershell
Restart-Computer
23. Wait for 3–4 minutes for all three servers to restart.
powershell
New-IscsiVirtualDisk c:\Storage\disk1.VHDX –size 10GB
powershell
New-IscsiVirtualDisk c:\Storage\disk2.VHDX –size 10GB
powershell
New-IscsiVirtualDisk c:\Storage\disk3.VHDX –size 10GB
powershell
$cred=Get-Credential
powershell
$sess = New-PSSession -Credential $cred -ComputerName sea-svr2.contoso.com
10. After running the previous command, enter the following command, and then select
Enter:
powershell
Enter-PSSession $sess
powershell
$cred=Get-Credential
powershell
$sess = New-PSSession -Credential $cred -ComputerName sea-svr3.contoso.com
16. After running the previous command, enter the following command, and then select
Enter:
powershell
Enter-PSSession $sess
You should have three Windows PowerShell windows opened. Ensure that you always use the
proper PowerShell session window that's connected to the server where you want to run a
command.
powershell
Start-Service msiscsi
powershell
Start-Service msiscsi
powershell
New-IscsiServerTarget iSCSI-MOD6 –InitiatorIds “IQN:iqn.1991-
05.com.microsoft:sea-svr2.contoso.com","IQN:iqn.1991-05.com.microsoft:sea-
svr3.contoso.com"
Results
After completing this exercise, you should have successfully installed the Failover Clustering feature
and configured the Internet SCSI (iSCSI) Target Server.
1. In the PowerShell window for SEA-ADM1, enter each of the following commands, each
followed by selecting Enter:
powershell
Add-IscsiVirtualDiskTargetMapping iSCSI-MOD6 c:\Storage\Disk1.VHDX
powershell
New-iSCSITargetPortal –TargetPortalAddress SEA-ADM1.contoso.com
3. Verify that after running the last command, the value for the IsConnected variable is True.
powershell
New-iSCSITargetPortal –TargetPortalAddress SEA-ADM1.contoso.com
Get-iSCSITarget | fl
5. Verify that after you run the last command, the value for the IsConnected variable is True.
powershell
Get-Disk
2. After running this command, ensure that three disks are in the Offline operational
status. These should be disks with numbers 4, 5, and 6.
powershell
Get-Disk | Where OperationalStatus -eq 'Offline' | Initialize-Disk
-PartitionStyle MBR
You must sign in on SEA-SVR2 because you can't run cluster commands over remote
PowerShell.
4. Wait for a few minutes for the cluster validation test to complete. You can expect a few
warning messages to appear, but there should be no errors.
5. At the command prompt on SEA-SVR2, enter the following command, and then select
Enter:
powershell
New-Cluster -Name WFC2019 -Node sea-svr2 -StaticAddress 172.16.10.125
6. You should receive a cluster name as a result. It should display Name WFC2019. Verify
that there are no errors.
7. At the command prompt on SEA-SVR2, enter the following command, and then select
Enter:
powershell
Add-ClusterNode -Name SEA-SVR3
Results
After completing this exercise, you should have installed and configured the Failover Clustering
feature.
3. To connect to the cluster that you created in the previous exercise, in the Select
Cluster window, enter WFC2019, and then select OK.
6. Expand Storage, and then select Disks. Notice that three cluster disks have a status
of Online.
10. On the File Server Type page, select File Server for general use, and then select Next.
6. On the Permissions page, select Next.
7. On the Confirmation page, select Create.
4. Select the General tab.
Results
After completing this exercise, you should have configured a highly available file server.
3. Inside the Docs folder, right-click or access the context menu in an empty area of the
folder, select New, and then select Text Document.
4. To accept the default name of the document as New Text Document.txt, select Enter.
6. On SEA-ADM1, in File Explorer, verify that you can still access the \\FSCluster location.
Task 2: Validate the failover and quorum configuration for the File Server role
2. Select Nodes, and then right-click or access the context menu for the node that's the
current owner of the FSCluster role.
11. Browse to the Disks node, select the disk marked witness disk in Quorum, and then
select Take Offline.
14. Select the disk marked witness disk in Quorum, and then select Bring Online.
Results
After completing this exercise, you should have validated high availability with Failover Clustering.
Congratulations!
You have successfully completed this Module, to mark the lab as complete click End.