Lab A: Implementing and managing storage

Paragraaf

Lab A: Implementing and managing storage

Paragraaf Progress:

Exercise 1: Implementing FSRM

Task 1: Create a quota template

1.On LON-DC1, in Server Manager, click Add roles and features.
2.In the Add Roles and Features Wizard, click Next.
3.Confirm that Role-based or feature-based installation is selected, and then click Next.
4.Confirm that LON-DC1.Adatum.com 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), and then select the File Server Resource Manager check box.
6.In the Add role and features Wizard dialog box, click Add Features.
7.Click Next twice to confirm the role service and feature selection.
8.On the Confirm installation selections page, click Install.
9.When the installation completes, click Close.
10.In Server Manager, click Tools, and then click File Server Resource Manager.
11.In the File Server Resource Manager console, expand Quota Management, and then click Quota Templates.
12.Right-click Quota Templates, and then click Create Quota Template.
13.In the Create Quota Template dialog box, in the Template name text box, type 500 MB Limit – Mail to user and log to Event Viewer.
14.In the Space Limit text box, type 500, and ensure that the unit is MB and the option for Hard quota. Do not allow users to exceed limit is selected.
15.In the Notification thresholds section, click Add.
16.In the Add Threshold dialog box, in the Generate notifications when usage reaches (%) text box, type 75.
17.On the E-mail Message tab, select the Send e-mail to the user who exceeded the threshold check box.
18.Click the Event Log tab.
19.In the File Server Resource Manager dialog box, click Yes.
20.On the Event Log tab, select the Send warning to event log check box, and then click OK.
21.In the File Server Resource Manager dialog box, click Yes.
22.In the Create Quota Template window, click OK.

Task 2: Configure a quota based on the quota template

1.In the File Server Resource Manager console, click Quotas.
2.Right-click Quotas, and then click Create Quota.
3.In the Create Quota window, in the Quota path text box, type E:\Labfiles\Mod02\Home.
4.Select the Auto apply template and create quotas on existing and new subfolders option.
5.In the Derive properties from this quota template (Recommended) drop down list box, click 500 MB Limit – Mail to user and log to Event Viewer.
6.Click Create.

Task 3: Test that the quota is functional

1.Switch to LON-CL1, and then sign in as Adatum\Abbi with the password Pa55w.rd.
2.On LON-CL1, on the taskbar, click the File Explorer icon.
3.In the File Explorer window, in the tree pane, click This PC.
4.Notice that drive P only has 500 megabytes (MB) available space.

Task 4: Create a file screen

1.Switch to LON-DC1.
2.In the File Server Resource Manager console tree, expand File Screening Management, and then click File Screens.
3.Right-click File Screens, and then click Create File Screen.
4.In the Create File Screen window, in the File screen path text box, type E:\Labfiles\Mod02\Home.
5.In the Create File Screen window, click the Derive properties from this file screen template (recommended) drop-down list box, and then click Block Audio and Video Files.
6.Click Create.

Task 5: Create a file group

1.On LON-DC1, right-click File Server Resource Manager (Local), and then click Configure Options.
2.In the File Server Resource Manager Options dialog box, click the File Screen Audit tab.
3.On the File Screen Audit tab, select the Record file screening activity in auditing database check box, and then click OK.
4.In the File Server Resource Manager console tree, click File Groups.
5.Right-click File Groups, and then click Create File Group.
6.In the Create File Group Properties window, in the File group name text box, type Adatum Media Files Group.
7.In the Files to include text box, type *.mp*, and then click Add.
8.In the Files to exclude box, type *.mpp, click Add, and then click OK. Note: For the purposes of this course, only a sample of digital-media extensions is being added here. To limit all digital media files, you need to add more extensions to the file group.
9.In the File Server Resource Manager console tree, click File Screen Templates.
10.In the content pane, right-click the Block Audio and Video Files template, and then click Edit Template Properties.
11.On the Settings tab, under File groups, click to clear the Audio and Video Files check box.
12.Select the Adatum Media Files Group check box, and then click OK.
13.At the message prompt, click Yes, and then click OK.

Task 6: Test the file screen

1.Switch to LON-CL1.
2.In the File Explorer window, in the right pane, double-click Abbi (\\LON-DC1\Home) (P:).
3.In the right pane, right-click and point to New, and then click Text Document.
4.On the ribbon, click the View tab, and then select the File name extensions check box.
5.Right-click New Text Document.txt, and then click Rename.
6.Select the whole file name, type musicfile.mp3, and then press Enter.
7.Click Yes to change the file-name extension.
8.Notice the File Access Denied dialog box that opens.
9.Click Cancel.

Task 7: Generate an on-demand storage report

1.Switch to LON-DC1.
2.In the File Server Resource Manager console, click Storage Reports Management.
3.Right-click Storage Reports Management, and then click Generate Reports Now.
4.In the Report data section, under Select reports to generate, select the File Screening Audit check box.
5.Click the Scope tab, and then click Add.
6.In the Browse for Folder dialog box, browse to E:\Labfiles\Mod02\Home, and then click OK.
7.Click OK to close the Storage Reports Task Properties dialog box.
8.In the Generate Storage Reports dialog box, verify that Wait for reports to be generated and then display them is selected, and then click OK.
9.Double-click the HTML document that starts with FileScreenAudit, and then review the generated html reports.
10.Close all open windows on LON-DC1, except Server Manager.

Result: After completing this exercise, you should have successfully configured FSRM quotas and file screening, and generated a storage report.

Exercise 2: Implementing Data Deduplication

Task 1: Install the Data Deduplication role service

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, click Next.
5.On the Select server roles page, in the Roles list, expand File and Storage Services (3 of 12 installed).
6.Expand File and iSCSI Services (2 of 11 installed).
7.Select the Data Deduplication check box, and then click Next.
8.On the Select features page, click Next.
9.On the Confirm installation selections page, click Install.
10.When installation is complete, on the Installation progress page, click Close.

Task 2: Enable and configure Data Deduplication

1.On LON-DC1, right-click Start, and then click Run.
2.In the Run dialog box, in the Open text box, type E:\Labfiles\Mod02\CreateLabFiles.cmd, and then click OK.
3.On the taskbar, click the File Explorer icon.
4.If necessary, click This PC.
5.Notice that Allfiles (E:) has less than 50% free space.
6.Switch to the Server Manager window.
7.In Server Manager, in the navigation pane, click File and Storage Services, and then click Disks.
8.In the Disks pane, click 1.
9.Beneath VOLUMES, click E.
10.Right-click E, and then click Configure Data Deduplication.
11.In the Allfiles (E:\) Deduplication Settings dialog box, in the Data deduplication list, click General purpose file server.
12.In the Deduplicate files older than (in days) text box, type 0.
13.Click Set Deduplication Schedule.
14.In the LON-DC1 Deduplication Schedule dialog box, select the Enable throughput optimization check box, and then click OK.
15.In the Allfiles (E:\) Deduplication Settings dialog box, click OK.

Task 3: Test Data Deduplication

1.On LON-DC1, click Start, and then click Windows PowerShell.
2.In the Windows PowerShell window, type the following command, and then press Enter:Start-DedupJob E: -Type Optimization –Memory 50
3.Type the following command, and then press Enter:Get-DedupJob –Volume E:
4.Switch to the File Explorer window.
5.In File Explorer, expand Allfiles (E:), expand Labfiles, expand Mod02, click Data, right-click report.xlsx, and then click Properties.
6.In the Properties window, observe the values of Size and Size on disk, and note any differences.
7.Wait for five to ten minutes to allow the deduplication job to run.
8.Switch back to the Windows PowerShell window.
9.At the Windows PowerShell command prompt, type the following command, and then press Enter: Get-DedupStatus –Volume E: |fl
10.Type the following command, and then press Enter:Get-DedupVolume –Volume E: |fl
11.Type the following command, and then press Enter:Get-DedupMetaData –Volume E: |fl
12.Switch to Server Manager.
13.In Server Manager, in the navigation pane, click File and Storage Services, and then click Disks.
14.In the DISKS pane, click 1.
15.Beneath VOLUMES, click E.
16.Observe the values for Deduplication Rate and Deduplication Savings. (You might need to click the Server Manager refresh button to update the values.)
17.Close all open windows except Server Manager.

Result: After completing this exercise, you should have successfully installed and configured the Data Deduplication role service for the appropriate data volume on LON-DC1.

Exercise 3: Configuring iSCSI storage

Task 1: Install the Internet small computer system interface (iSCSI) target role service

1.Switch to LON-SVR2.
2.On the taskbar, click Start, and then click Server Manager.
3.In Server Manager, click Add roles and features.
4.In the Add Roles and Features Wizard, on the Before you begin page, click Next.
5.On the Select installation type page, click Next.
6.On the Select destination server page, click Next.
7.On the Select server roles page, expand file And Storage Services (1 of 12 installed), expand File and iSCSI Services, and then select the iSCSI Target Server check box.
8.In the Add Roles and Features Wizard dialog box, click Add Features, 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, click Close.

Task 2: Configure the iSCSI targets

1.On LON-SVR2, in Server Manager, in the navigation pane, click File and Storage Services.
2.In the File and Storage Services pane, click iSCSI.
3.Click the Server Manager refresh button.
4.In the iSCSI VIRTUAL DISKS pane, click TASKS, and then in the TASKS drop-down list box, click New iSCSI Virtual Disk.
5.In the New iSCSI Virtual Disk Wizard, on the Select iSCSI virtual disk location page, under Storage location, click C:, and then click Next.
6.On the Specify iSCSI virtual disk name page, in the Name text box, type iSCSIDisk1, and then click Next.
7.On the Specify iSCSI virtual disk size page, in the Size text box, type 5. Ensure that GB is selected in the drop-down list box, and then click Next.
8.On the Assign iSCSI target page, click New iSCSI target, and then click Next.
9.On the Specify target name page, in the Name text box, type lon-dc1, 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. In the Type drop-down list box, click IP Address, in the Value text box, type 172.16.0.10, and then click OK.
12.On the Specify access servers page, click Add.
13.In the Select a method to identify the initiator dialog box, click Enter a value for the selected type. In the Type drop-down list box, select IP Address, in the Value text box, type 10.10.0.10, and then click OK.
14.On the Specify access servers page, click Next.
15.On the Enable Authentication page, click Next.
16.On the Confirm selections page, click Create.
17.On the View results page, wait until the creation job completes, and then click Close.
18.In the iSCSI VIRTUAL DISKS pane, click TASKS. In the TASKS drop-down list box, select New iSCSI Virtual Disk.
19.In the New iSCSI Virtual Disk Wizard, on the Select iSCSI virtual disk location page, under Storage location, click C:, and then click Next.
20.On the Specify iSCSI virtual disk name page, in the Name text box, type iSCSIDisk2, and then click Next.
21.On the Specify iSCSI virtual disk size page, in the Size text box, type 5. Ensure that GB is selected in the drop-down list box, and then click Next.
22.On the Assign iSCSI target page, click lon-dc1, and then click Next.
23.On the Confirm selections page, click Create.
24.On the View results page, wait until the creation process completes, and then click Close.
25.In the iSCSI VIRTUAL DISKS pane, click TASKS. In the TASKS drop-down list box, click New iSCSI Virtual Disk.
26.In the New iSCSI Virtual Disk Wizard, on the Select iSCSI virtual disk location page, under Storage location, click C:, and then click Next.
27.On the Specify iSCSI virtual disk name page, in the Name text box, type iSCSIDisk3, and then click Next.
28.On the Specify iSCSI virtual disk size page, in the Size text box, type 5. Ensure that GB is selected in the drop-down list box, and then click Next.
29.On the Assign iSCSI target page, click lon-dc1, and then click Next.
30.On the Confirm selections page, click Create.
31.On the View results page, wait until the creation process completes, and then click Close.
32.In the iSCSI VIRTUAL DISKS pane, click TASKS, and then in the TASKS drop-down list box, click New iSCSI Virtual Disk.
33.In the New iSCSI Virtual Disk Wizard, on the Select iSCSI virtual disk location page, under Storage location, click C:, and then click Next.
34.On the Specify iSCSI virtual disk name page, in the Name text box, type iSCSIDisk4, and then click Next.
35.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.
36.On the Assign iSCSI target page, click lon-dc1, and then click Next.
37.On the Confirm selections page, click Create.
38.On the View results page, wait until the creation process completes, and then click Close.
39.In the iSCSI VIRTUAL DISKS pane, click TASKS, and then in the TASKS drop-down list box, click New iSCSI Virtual Disk.
40.In the New iSCSI Virtual Disk Wizard, on the Select iSCSI virtual disk location page, under Storage location, click C:, and then click Next.
41.On the Specify iSCSI virtual disk name page, in the Name text box, type iSCSIDisk5, and then click Next.
42.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.
43.On the Assign iSCSI target page, click lon-dc1, and then click Next.
44.On the Confirm selections page, click Create.
45.On the View results page, wait until the creation process completes, and then click Close.

Task 3: Configure Multipath I/O (MPIO)

1.Switch to LON-DC1.
2.Open Network Connections and enable Ethernet 2.
3.Switch to LON-SVR2 and open Network Connections.
4.Enable Ethernet 2.
5.Switch to LON-DC1.
6.On the taskbar, click Start, and then click Server Manager.
7.In Server Manager, click Add roles and features.
8.In the Add Roles and Features Wizard, on the Before you begin page, click Next.
9.On the Select installation type page, click Next.
10.On the Select destination server page, ensure that Select server from the server pool is selected, and then click Next.
11.On the Select server roles page, click Next.
12.On the Select features page, click Multipath I/O, and then click Next.
13.On the Confirm installation selections page, click Install.
14.When installation is complete, click Close.
15.Click Start, click the Power icon, and then click Restart.
16.Click Continue.
17.After the computer restarts, sign in as Adatum\Administrator with the password Pa55w.rd.
18.In Server Manager, on the menu bar, click Tools, and then click iSCSI Initiator.
19.In the Microsoft iSCSI dialog box, click Yes.
20.In the iSCSI Initiator Properties dialog box, on the Targets tab, in the Target text box, type LON-SVR2, and then click Quick Connect.
21.In the Quick Connect box, click Done.
22.To close the iSCSI Initiator Properties dialog box, click OK.
23.In Server Manager, on the menu bar, click Tools, and then click MPIO.
24.In the MPIO Properties dialog box, click the Discover Multi-Paths tab.
25.Select the Add support for iSCSI devices check box, and then click Add.
26.When you are prompted to restart the computer, click Yes.
27.After the computer restarts, sign in as Adatum\Administrator with the password Pa55w.rd.
28.In Server Manager, on the menu bar, click Tools, and then click MPIO.
29.In the MPIO Properties dialog box, on the MPIO Devices tab, notice that Device Hardware ID MSFT2005iSCSIBusType_0x9 appears on the list.
30.Click OK to close the MPIO Properties dialog box.

Task 4: Connect to and configure the iSCSI targets

1.On LON-DC1, in Server Manager, click Tools, and then click iSCSI Initiator.
2.In the iSCSI Initiator Properties dialog box, on the Targets tab, click Disconnect.
3.In the Disconnect From All Sessions dialog box, click Yes.
4.In the iSCSI Initiator Properties dialog box, on the Targets tab, click Refresh, and then click Connect.
5.In the Connect to Target window, select the Enable multi-path check box, verify that the Add this connection to the list of Favorite Targets check box is selected, and then click Advanced.
6.In the Advanced Settings dialog box, on the General tab, change the Local Adapter from Default to Microsoft iSCSI Initiator.
7.In the Initiator IP drop-down list box, click 172.16.0.10, and then in the Target Portal IP drop-down list box, click 172.16.0.12 / 3260.
8.In the Advanced Settings dialog box, click OK.
9.In the Connect to Target window, click OK.
10.In the iSCSI Initiator Properties dialog box, on the Targets tab, click Connect.
11.In the Connect to Target window, select the Enable multi-path check box, verify that the Add this connection to the list of Favorite Targets check box is selected, and then click Advanced.
12.In the Advanced Settings dialog box, on the General tab, change the Local Adapter from Default to Microsoft iSCSI Initiator. In the Initiator IP drop-down list box, select 10.10.0.10, and then in the Target Portal IP drop-down list box, select 10.10.0.12 / 3260.
13.In the Advanced Settings dialog box, click OK.
14.In the Connect to Target window, click OK.
15.In the iSCSI Initiator Properties dialog box, click the Volumes and Devices tab.
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, click the Targets tab.
18.In the Targets list, select iqn.1991-05.com.microsoft:LON-SVR2-lon-DC1-target, and then click Devices.
19.In the Devices dialog box, click MPIO.
20.Verify that in the Load balance policy, Round Robin is selected.
21.Under This device has the following paths, notice that two paths are listed. Select the first path, and then click Details.
22.Note the IP address of the Source and Target portals, and then click OK.
23.Select the second path, and then click Details.
24.Verify that the Source IP address is the address for the second network adapter, and then click OK.
25.Click OK to close the Device Details dialog box and the Devices dialog box.
26.Close the iSCSI Initiator Properties dialog box.

Task 5: Verify the presence of iSCSI disks

1.In Server Manager, click File and Storage Services.
2.Click Disks.
3.Notice that the five disks of iSCSI bus type are present in the list.

Task 6: Prepare for the next lab

•Leave the virtual machines running for the next lab in this module.

Result: After completing this exercise, you should have successfully installed iSCSI Target Server, configured MPIO, and connected to the iSCSI target by using iSCSI initiators.

@

Niet recent actief