Lab B: Implementing and managing advanced storage solutions

Paragraaf

Lab B: Implementing and managing advanced storage solutions

Paragraaf Progress:

Exercise 1: Configuring redundant storage spaces

Task 1: Create a storage pool by using the iSCSI disks attached to the server

1.On LON-DC1, in Server Manager, in the navigation pane, click Storage Pools.
2.In the STORAGE POOLS pane, click TASKS, and then in the TASKS drop-down list box, 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 the Name text box, type StoragePool1. Ensure that in the available disks group LON-DC1 – Primordial is selected, and then click Next.
5.On the Select physical disks for the storage pool page, select all five physical disks, and then click Next.
6.On the Confirm selections page, click Create.
7.On the View results page, wait until the creation process completes, and then click Close.

Task 2: Create a three-way mirrored disk

1.In Server Manager, in the STORAGE POOLS pane, click StoragePool1.
2.In the VIRTUAL DISKS pane, click TASKS, and then in the TASKS drop-down list box, click New Virtual Disk.
3.In the Select Storage Pool window, verify that StoragePool1 is selected, and then click OK.
4.In the New Virtual Disk Wizard, on the Before you begin page, click Next.
5.On the Specify the virtual disk name page, in the Name text box, type Mirrored vDisk, and then click Next.
6.On the Specify enclosure resiliency page, click Next.
7.On the Select the storage layout page, in the Layout list, click Mirror, and then click Next.
8.On the Configure the resiliency settings page, select the Three-way mirror option, and then click Next.
9.On the Specify the provisioning type page, select the Thin option, and then click Next.
10.On the Specify the size of the virtual disk page, in the Specify size text box, type 10, and then click Next.
11.On the Confirm selections page, click Create.
12.On the View results page, wait until the creation process completes. Ensure that Create a volume when this wizard closes is selected, and then click Close.
13.In the New Volume Wizard, on the Before you begin page, click Next.
14.On the Select the server and disk page, in the Disk pane, click the virtual disk named Mirrored vDisk, and then click Next.
15.On the Specify the size of the volume page, to confirm the default selection, click Next.
16.On the Assign to a drive letter or folder page, in the Drive letter drop-down list box, ensure that drive F is selected, and then click Next.
17.On the Select file system settings page, in the File system drop-down list box, select 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 process completes, and then click Close.

Task 3: Copy a file to the volume, and verify visibility in File Explorer

1.On the taskbar, click Start and then click Windows PowerShell.
2.At the Windows PowerShell prompt, type the following command, and then press Enter:Copy C:\windows\system32\write.exe F:\
3.Close the Windows PowerShell prompt.
4.On the taskbar, click the File Explorer icon.
5.In File Explorer, expand This PC, and then click Mirrored Volume (F:). Verify that you now see Write.exe in the file list.
6.Close File Explorer.

Task 4: Disconnect an iSCSI disk

1.Switch to LON-SVR2.
2.Open Server Manager.
3.In the iSCSI VIRTUAL DISKS pane, in the LON-SVR2 list, right-click iSCSIDisk1.vhdx, and then click Disable iSCSI Virtual Disk.
4.In the Disable iSCSI Virtual Disk warning message box, click Yes.

Task 5: Verify that the file still is accessible, and check the virtual disk’s health

1.Switch to LON-DC1.
2.On the taskbar, click the File Explorer icon, and then click Mirrored Volume (F:).
3.In the file list pane, double-click write.exe to ensure access to the volume still is available.
4.Close the Document – WordPad window.
5.Close File Explorer.
6.In Server Manager, on the menu bar, click the Refresh button. Wait until all panes are refreshed. Notice the warning that appears next to Mirrored vDisk. The result could vary slightly. A warning might also appear in the physical disks section. If the status for StoragePool1 does not change: a.Restart LON-DC1. b.Sign in as Adatum\Administrator with the password Pa55w.rd. c.In Server Manager, click File and Storage Services, and then click Storage Pools.
7.In the VIRTUAL DISKS pane, right-click Mirrored vDisk, and then in the drop-down list box, click Properties.
8.In the Mirrored vDisk Properties window, in the navigation pane, click Health, and then click OK.

Task 6: Add a new iSCSI virtual disk

1.Switch to LON-SVR2.
2.In Server Manager, in the navigation pane, click File and Storage Services.
3.In the File and Storage Services pane, click iSCSI.
4.In the iSCSI VIRTUAL DISKS pane, click TASKS, and then in the TASKS drop-down list box, select New iSCSI Virtual Disk.
5.In the New iSCSI Virtual Disk Wizard, on the Select iSCSI virtual disk location page, under Storage location, click C:, and then click Next.
6.On the Specify iSCSI virtual disk name page, in the Name text box, type iSCSIDisk6, and then click Next.
7.On the Specify iSCSI virtual disk size page, in the Size text box, type 5. Ensure that GB is selected in the drop-down list box, and then click Next.
8.On the Assign iSCSI target page, click lon-dc1, and then click Next.
9.On the Confirm selections page, click Create.
10.On the View results page, wait until the creation process completes, and then click Close.

Task 7: Add the new disk to the storage pool, and extend the virtual disk

1.Switch to LON-DC1.
2.In Server Manager, on the menu bar, click the Refresh button.
3.Wait for all the panes to refresh.
4.In the STORAGE POOLS pane, right-click StoragePool1, and then in the drop-down list box, click Add Physical Disk.
5.In the Add Physical Disk window, select the disk that you see in the list, and then click OK.
6.In the VIRTUAL DISKS pane, right-click Mirrored vDisk, and then in the drop-down list box, click Extend Virtual Disk.
7.In the Extend Virtual Disk window, in the Specify size text box, type 15, and then click OK.

Task 8: Prepare for the next exercise

When you finish Exercise 1, 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 20743C-LON-DC1, and then click Revert.
3.In the Revert Virtual Machine dialog box, click Revert.
4.Repeat steps 2 and 3 for 20743C-LON-SVR2 and 20743C-LON-CL1.

Result: After completing this exercise, you should have successfully created a storage pool, added a new disk to the storage pool, and extended the disk.

Exercise 2: Implementing the Storage Spaces Direct feature

Task 1: Install the Windows Server roles and features

1.On the host computer, start Hyper-V Manager.
2.In Hyper-V Manager, click 20743C-LON-DC1, and then in the Actions pane, click Start.
3.In the Actions pane, click Connect. Wait until the virtual machine starts.
4.Sign in by using the following credentials: oUser name: AdministratoroPassword: Pa55w.rdoDomain: Adatum
5.Repeat steps 2 and 3 for 20743C-LON-SVR1, 20743C-LON-SVR2, and 20743C-LON-SVR3.
6.Repeat step 4 for LON-SVR1.
7.Switch to LON-DC1.
8.In Server Manager, click All Servers.
9.Right-click All Servers, and then click Add Servers.
10.In the Add Servers window, click Find Now.
11.Select LON-SVR1, LON-SVR2, and LON-SVR3, click the arrow button to move the three servers to the Selected list, and then click OK.
12.Verify that all three servers have a Manageability of Online – Performance counters not started before continuing. If one or more servers display a status of Online – Access Denied, click the Server Manager refresh button.
13.On the desktop, click Start, and then click Windows PowerShell ISE.
14.In the Administrator: Windows PowerShell ISE window, click File, and then click Open.
15.In the File name text box, type E:\Labfiles\Mod02\, and then press Enter.
16.Double-click the Implement-StorageSpacesDirect file.
17.Select the first line in step 0, starting with Install-Windowsfeature, and then press the F8 key. Wait until the installation finishes.
18.If the column Restart Needed has a value of Yes, then: a.Select the line starting with Restart-Computer, and then press F8. b.After the server restarts, sign in as Adatum\Administrator with the password Pa55w.rd. c.Repeat steps 13 through to 16. If a dialog box opens, click OK.
19.Select the line in step 1, starting with Invoke-Command, and then press F8.
20.Wait until the installation finishes, and then verify that the output of the command includes three lines with Success as True.
21.Switch to LON-SVR1.
22.Click Start, and then click Server Manager.
23.In Server Manager, click Tools, and then click Failover Cluster Manager.

Note: Notice that the tool opens. This verifies that the command was successful.

Task 2: Validate cluster configuration

1.Switch to LON-DC1.
2.In the Administrator: Windows PowerShell ISE window, select the line in step 2, starting with Test-Cluster, and then press F8. Wait until the installation finishes.
3.Verify that the output of the command only includes warnings and that the last line is a validation report in html format.

Note: This validates that the command was successful.

Task 3: Create a cluster

1.In the Administrator: Windows PowerShell ISE window, select the line in step 3 starting with New-Cluster, and then press F8. Wait until the installation finishes.
2.Verify that the output of the command only includes warnings, and that the last line has a Name column with the value S2DCluster. Note: This validates that the command was successful.
3.Switch to LON-SVR1, and then in the Failover Cluster Manager window, in the Actions pane, click Connect to Cluster.
4.In the Select Cluster dialog box, type S2DCluster, and then click OK. Note: Notice that the cluster opens. This verifies that the command was successful.
5.If you receive an error message stating Cluster S2DCluster not found, perform the following steps: a.Restart LON-SVR1. b.Sign in as Adatum\Administrator with the password Pa55w.rd. c.Click Start, and then click Server Manager. d.In Server Manager, click Tools, and then click Failover Cluster Manager. e.S2DCluster.Adatum.com should now appear in the navigation pane. If necessary, perform steps 3 and 4 again.

Task 4: Enable the Storage Spaces Direct feature

1.Switch to LON-DC1.
2.In the Administrator: Windows PowerShell ISE window, select the line in step 4 starting with Invoke-Command, and then press F8. Wait until the installation finishes.
3.If a Confirm dialog box appears, click Yes.
4.There should be no output from the command, but a warning message may appear.

Note: This validates that the command was successful.

Task 5: Create a storage pool

1.In the Administrator: Windows PowerShell ISE window, select the line in step 5 starting with Invoke-Command, and then press F8. Wait until the installation finishes.
2.In the output of the command, verify that the FriendlyName attribute has a value of S2DStoragePool. Note: This validates that the command was successful.
3.Switch to LON-SVR1.
4.In the Failover Cluster Manager window, expand S2DCluster.adatum.com, expand Storage, and then click Pools.
5.Verify the existence of Cluster Pool 1.

Note: This verifies that the command was successful.

Task 6: Create a virtual disk

1.Switch to LON-DC1.
2.In the Administrator: Windows PowerShell ISE window, select the line in step 6 starting with Invoke-Command, and then press F8. Wait until the installation finishes.
3.Verify that in the output of the command is an attribute FileSystemLabel, with a value of CSV. Note: This validates that the command was successful.
4.Switch to LON-SVR1, and then in the Failover Cluster Manager window, click Disks.
5.Verify the existence of Cluster Virtual Disk (CSV).

Note: This verifies that the command was successful.

Task 7: Create a file server and file share

1.Switch to LON-DC1.
2.In the Administrator: Windows PowerShell ISE window, select the line in step 7 starting with Invoke-Command, and then press F8. Wait until the installation finishes.
3.Verify that in the output of the command is an attribute FriendlyName, with a value of S2D-SOFS. This validates that the command was successful.
4.Switch to LON-SVR1, and then in the Failover Cluster Manager window, click Roles.
5.Verify the existence of S2D-SOFS. This verifies that the command was successful.
6.Switch to LON-DC1. In the Administrator: Windows PowerShell ISE window, select the three lines in step 8, starting with Invoke-Command, and then press F8. Wait until the installation finishes.
7.Verify that there in the output of the command is an attribute Path with a value of C:\ClusterStorage\Volume1\VM01. This validates that the command was successful.
8.Switch to LON-SVR1, and then in the Failover Cluster Manager window, click S2D-SOFS, and then click the Shares tab.
9.Verify the existence of VM01. This verifies that the command was successful.

Task 8: Test high availability for the storage

1.Switch to LON-DC1.
2.On the taskbar, click File Explorer.
3.In the File Explorer address bar, type \\s2d-sofs\VM01, and then press Enter.
4.On the Home tab, click New Folder, and then type VMFolder.
5.Double-click VMFolder.
6.Switch to the Administrator: Windows PowerShell ISE window.
7.At the Windows PowerShell command prompt, type the following command, and then press Enter: Stop-Computer -computername LON-SVR2
8.Switch to the Server Manager window, and then click All Servers.
9.In the Servers list, click LON-SVR2.
10.Verify that Manageability changes to Target computer not accessible. Note: This verifies that the computer is no longer turned on.
11.Switch back to the File Explorer window.
12.On the Home tab, click New item, click Text Document, and then press Enter. Note: This verifies that the storage is still available with one server turned off.
13.Switch to LON-SVR1.
14.In Failover Cluster Manager, click Disks, and then click Cluster Virtual Disk (CSV).
15.Verify that for the Cluster Virtual Disk (CSV), the Health Status is Warning, and Operational Status is Degraded. (Operational Status might also display as Incomplete.)

Task 9: Prepare for the next module

When 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 20743C-LON-DC1, and then click Revert.
3.In the Revert Virtual Machine dialog box, click Revert.
4.Repeat steps 2 and 3 for 20743C-LON-SVR1, 20743C-LON-SVR2, and 20743C-LON-SVR3.

Result: After completing this exercise, you should have implemented Storage Spaces Direct successfully.

@

Niet recent actief