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

LabM8

The document provides a detailed guide for implementing failover clustering, including connecting cluster nodes to iSCSI shared storage, installing the Failover Cluster feature, and configuring a highly available file server. It outlines step-by-step tasks for creating virtual disks, validating configurations, and managing roles within the cluster. Additionally, it includes instructions for verifying quorum settings and ensuring the availability of the file server.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

LabM8

The document provides a detailed guide for implementing failover clustering, including connecting cluster nodes to iSCSI shared storage, installing the Failover Cluster feature, and configuring a highly available file server. It outlines step-by-step tasks for creating virtual disks, validating configurations, and managing roles within the cluster. Additionally, it includes instructions for verifying quorum settings and ensuring the availability of the file server.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

about:blank

Lab Answer Key: Module 8: Implementing failover


clustering

Lab Implementing failover clustering

Exercise failover cluster

Task 1: Connect cluster nodes to iSCSI shared storage

Configure the iSCSI targets

1. taskbar, click Start, Manager.

2. navigation pane, Services.

3. Services pane, click

4. VIRTUAL DISKS pane, click TASKS the TASKS


drop-down list, select New iSCSI Virtual Disk.

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

6. virtual disk name page, type


click Next.

7. virtual disk size page, type 5,


selected in the drop-down

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

1 of 20 3/12/2019, 4:30 PM
about:blank

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

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

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

12. servers page, click

13. identify the initiator Enter a value


type, and then, in the Type select IP Address.
In the Value box, type 172.16.0.23, and then click OK.

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

15. On the Enable Authentication page, click Next.

16. selections page, click Create

17. page, wait until creation click Close.

18. VIRTUAL DISKS pane, click TASKS the TASKS


drop-down list, select New iSCSI Virtual Disk.

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

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

21. virtual disk size page, type 5,


selected in the drop-down

22. iSCSI target page, click lon-svr1 click Next.

23. On the Confirm selections page, click Create.

2 of 20 3/12/2019, 4:30 PM
about:blank

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

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

26. In the New iSCSI Virtual Disk Wizard, on the Select iSCSI virtual disk
Storage location, click

27. virtual disk name page, type


click Next.

28. iSCSI virtual disk size page, box, type 5,


ensure that GB is selected in the drop-down list, and then click Next.

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

30. On the Confirm selections page, click Create.

31. page, wait until the creation then click

Connect iSCSI targets

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

2. dialog box, click Yes

3. Properties window, click and then

4. or DNS name text box, type and then click OK.

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

3 of 20 3/12/2019, 4:30 PM
about:blank

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


and then click Connect.

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

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

9. dialog box, click Yes

10. Properties window, click and then


Portal.

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

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

13. iqn.1991-05.com.microsoft:lon-svr1-lon-svr1-target,

14. connection to the check box


OK two times.

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

16. Expand Storage, and then click Disk Management.

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

18. then click Initialize Disk

19. dialog box, click OK.

20. unallocated space next to Disk New Simple


Volume.

4 of 20 3/12/2019, 4:30 PM
about:blank

21. On the Welcome page, click Next.

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

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

24. On the Format Partition page, in the Volume Label text box, type Data1.
quick format check box,

25.

dialog box appears with a prompt disk, click


Cancel.

26. Repeat steps 17 through 25 for Disk 5 and Disk 6, using Data2 and Data3,
respectively, for volume labels.

27. Management window.

28. Manager, click Tools Computer

29. Expand Storage, and click Disk Management

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

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

32. then click Online.

33. then click Online.

34. Management window.

Task 2: Install the Failover Cluster feature

5 of 20 3/12/2019, 4:30 PM
about:blank

1. On LON-SVR2, if Server Manager is not open, click the Server Manager icon.

2. Click Add roles and features.

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

4. installation type page, click

5. destination server page, ensure from the


and then click Next

6. server roles page, click Next

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

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

9. installation selections page,

10. completes and you receive succeeded on


message, click Close

11. LON-SVR4, repeat steps

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

Task for failover clustering

1. Manager, click Tools Failover Cluster

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

6 of 20 3/12/2019, 4:30 PM
about:blank

Configuration.

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

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

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

6. Next.

7. recommended) is

8. Confirmation page, click Next.

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

10. On the Summary page, click Finish.

Task cluster

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


Create Cluster.

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

3. page, in the Enter server LON-SVR2,

4. box, type LON-SVR3 click Next.

5. Point for Administering the the Cluster


Name text box, type Cluster1.

7 of 20 3/12/2019, 4:30 PM
about:blank

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

7. On the Confirmation page, click Next.

8. On the Summary page, click Finish.

Task application to the failover

1. Failover Cluster Manager


com, expand Storage, and

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

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

4. page, click Next

5. click File Server

6. Type page, click File Server use, and then

7. On the Client Access Point page, in the Name text box, type AdatumFS. In
the Address text box, type 172.16.0.130, and then click Next.

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

9. page, click Next.

10. click Finish.

8 of 20 3/12/2019, 4:30 PM
about:blank

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

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

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

3. , on the Select the page, click


then click Next.

4. server and the path for click Next.

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

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

7. permissions to control access

8. selections page, click Create

9. results page, click Close.

Task 7: Configure failover and failback settings

1. Failover Cluster Manager , right-


click Properties

2. Properties dialog box, click then click

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

9 of 20 3/12/2019, 4:30 PM
about:blank

4. Click the General tab.

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

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

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

Task available file-server

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

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

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

4. Failover Cluster

5. Manager console, expand com, and

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

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

7. click Move, and then

8. Role dialog box, select be either


), and then click OK

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

10 of 20 3/12/2019, 4:30 PM
about:blank

10. Switch to LON-DC1.

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

Task and quorum configuration Server role

1. Failover Cluster Manager .

2. column, verify the current AdatumFS role.

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

3. select the node that

4. More Actions, and Service.

5. Cluster Manager console, click verify that


AdatumFS is running.

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

6.

7. that you can still access location, open


address bar, type \\AdatumFS\ Enter.

8. Switch to LON-SVR2.

11 of 20 3/12/2019, 4:30 PM
about:blank

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

10. Expand Storage, and then click Disks.

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

this in the Assigned

12. Take Offline, and

13. Switch to LON-DC1.

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

that the cluster is running disk is

15. LON-SVR2.

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

17. Right-click Cluster1.Adatum.com, click More Actions, and then click


Quorum Settings.

18. page, click Next

19. Configuration Option quorum


then click Next.

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

12 of 20 3/12/2019, 4:30 PM
about:blank

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

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

22. Witness page, ensure witness


Next.

23. Storage Witness page, then click

24. On the Confirmation page, click Next.

25. On the Summary page, click Finish.

Result exercise, you should cluster


successfully, highly available file server, failover
scenarios.

Exercise Verifying quorum settings and node

Task 1: Remotely connect to a cluster

1. If necessary, sign in to LON-CL1 with the username Adatum\Administrator


rd.

2. Windows Administrative Failover

3. Manager, right-click Failover Manager, and then


click Connect to Cluster.

13 of 20 3/12/2019, 4:30 PM
about:blank

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

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

Task votes in the Nodes

1. Start, and then click PowerShell (Admin).

2. PowerShell console, run following the assigned


votes:

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

3. NodeWeight property of a cluster which


vote of the node is assigned cluster is

Task 3: Verify the status of the disk witness

• On LON-SVR2 in the Windows PowerShell console, type the following


command, Enter:

Get-ClusterQuorum Select Cluster, QuorumResource, QuorumType

14 of 20 3/12/2019, 4:30 PM
about:blank

Task 4: Add a node in the cluster

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

2. In the Actions pane, click Add Node.

3. page, click Next

4. page, in the Enter server LON-SVR4,


Next.

5. Warning page, click Next

6. Complete the validation by using the defaults.

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

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

9. click Finish.

Task assigned votes

1. On LON-SVR2, in Windows PowerShell console, type following cmdlet, and


then press Enter:

select name, nodeweight,

2. NodeWeight property of a cluster which


quorum vote of the node is assigned the cluster is
managing it.

15 of 20 3/12/2019, 4:30 PM
about:blank

Task 6: Prepare for the next lab

• When you finish the lab, leave the virtual machines running for the subsequent
lab.

Result exercise, you should node in the


cluster changed the quorum to

Lab Managing a failover cluster

Exercise 1: Evicting a node and verifying quorum settings

Task

1. necessary, open Failover

2. Adatum.com cluster,

3. Right-click the LON-SVR4 node, click More Actions, and then click Evict.

4. In the Evict node LON-SVR4 dialog box, click Yes to evict the node.

Task quorum settings and

1. Windows PowerShell cmdlet,


Enter:

16 of 20 3/12/2019, 4:30 PM
about:blank

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

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

Result exercise, you should from the


cluster, changes in quorum settings disk.

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


witness and defining node voting

Task quorum model

• On Windows PowerShell
command, Enter:

Get-ClusterQuorum | Select Cluster, QuorumResource, QuorumType

Task LON-SVR1

1. taskbar, click File Explorer Local


New, and then click Folder.

2. Type FSW, and press Enter.

17 of 20 3/12/2019, 4:30 PM
about:blank

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

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

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

6. Click Share, and then click Done.

Task quorum model to

• On LON-SVR2, in the Windows PowerShell console, type the following


command, and then press Enter:

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

Task quorum model

• On LON-SVR2, in the Windows PowerShell console, type the following


command, and then press Enter:

Get-ClusterQuorum Select Cluster, QuorumResource, QuorumType

Result completing this exercise, you should the quorum from


disk share witness and defined node voting.

18 of 20 3/12/2019, 4:30 PM
about:blank

Exercise 3: Verifying high availability

Task 1: Simulate server failure

1. On LON-SVR2, in the Failover Cluster Manager console, expand


and then click Roles

2. column, notice the current

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

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

4.

Task functionality in Cluster1 and verify

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

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

3. document named test2.txt

Task whether the file is still available

19 of 20 3/12/2019, 4:30 PM
about:blank

1. Start LON-SVR3 virtual machine.

2. On LON-SVR2, In the Failover Cluster Manager console, expand


Cluster1.Adatum.com, and then click Roles.

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

4. Explorer. In the address \\AdatumFS\, and

5. the location and Docs folder.

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

Task 4: Prepare for the next module

When the virtual machines ( state. To do


this, steps:

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

2. In the VMs list, right-click 20740C-LON-DC1, and then click Revert.

3. In the Revert VM dialog box, click Revert.

4. 20740C-LON-SVR1 20740C-
20740C-LON-SVR4, and 20740C-LON-CL1

Result completing this exercise, you should failover cluster high


availability successfully by taking a server offline and then bringing it back online.

20 of 20 3/12/2019, 4:30 PM

You might also like