Step 2. Configuration of Shared Storage


If required, you can store binary data received from Clients in shared storage on a standalone computer. This may be necessary to store large amounts of data.


Of the different types of storage and deployment options available, one of them is shared storage using iSCSI with Microsoft Failover Clustering, which involves the following deployment steps:

Step 1. Install the iSCSI Target Server role on a standalone storage server.

Step 2. Create an iSCSI virtual disk.

Step 3. Connect the virtual disk to every failover cluster node.

Step 4. Add the virtual disk to the failover cluster.


NOTE: To use the Multipath I/O feature, the standalone storage server must have two network interfaces.


To install the iSCSI Target Server role, do the following:

1. Open Server Manager on the server which you want to use for shared storage.

2. On the Manage menu, select Add Roles and Features.

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

4. On the Select installation type page, select Role-based or feature-based installation, and then click Next.

5. On the Select destination server page, select the server where you want to install the role, and then click Next.

6. On the Select server roles page, expand File and Storage Services and File and iSCSI Services, and then select the iSCSI Target Server option, and click Next.

    

7. On the Confirm installation selections page, click Install

8. When the installation is completed, click Close.

 

To create an iSCSI virtual disk, do the following:

1. Open Server Manager on the server which has the iSCSI Target Server role installed.

2. In the left pane, select File and Storage Services.

    

3. Select iSCSI and click To create an iSCSI virtual disk, start the new iSCSI Virtual Disk Wizard.

    

4. Select the disk which you want to create the shared storage on.

    

5. Enter a name for the virtual disk.

    

6. Enter a size for the virtual disk and select a type for it (or leave the type option selected by default).

    

7. On the iSCSI Target page, leave the New iSCSI target option selected by default, if you don’t have one already created.

    

8. Enter a name for the new iSCSI target.

    

9. On the Access Servers page, click the Add button to add a server that you have configured as a failover cluster node. You can use the DNS Name, IP address, or other options to refer to that server.

    

10. Repeat the procedure using the Add button for every server that has been configured as a failover cluster node.

    

11. On the Confirmation page, click Create.

12. When creation is complete, click Close.


To connect the virtual disk to a cluster node, do the following:

1. Open Server Manager on the server which you have configured as a failover cluster node.

2. On the Manage menu, select Add Roles and Features.

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

4. On the Select installation type page, select Role-based or feature-based installation, and then click Next.

5. On the Select destination server page, select the server where you want to install the feature, and then click Next.

6. On the Select server roles page, click Next.

7. On the Select features page, select the Multipath I/O option, and then click Next.

    

8. On the Confirm installation selections page, click Install.

9. When the installation is completed, click Close.

NOTE: The server needs to be restarted after installation of the feature.

10. On the Windows Start menu, select Administrative Tools, and then select MPIO.

    

11. Select the Discover Multi-Paths tab, and then select the Add support for iSCSI devices checkbox, and click Add.

NOTE: The server needs to be restarted after adding this option.

    

12. On the Windows Start menu, select Administrative Tools, and then select iSCSI Initiator.

    

13. Click Yes to start the iSCSI service.

    

14. In the iSCSI Initiator Properties window, select the Discovery tab, and click Discover Portal.

    

15. Enter the IP address or DNS name of the data storage server with the iSCSI Target Server role installed, and click OK.

NOTE: If there is no connection to the target, make sure that a firewall exception rule for the 3260 port is added on the data storage server.

    

16. In the iSCSI Initiator Properties window, select the Targets tab, and click Connect.

    

17. In the Connect To Target window, select the Enable multi-path checkbox. and click Advanced.

    

18. In the Advanced Settings window, select the first IP address of the data storage server with the iSCSI Target Server role installed, and click OK.

    

19. In the iSCSI Initiator Properties window, on the Targets tab, click Properties.

    

20. In the Properties window, click Add session.

    

21. In the Connect To Target window, select the Enable multi-path checkbox, and click Advanced.

    

22. In the Advanced Settings window, select the second IP address of the data storage server with the iSCSI Target Server role installed, and then click OK to close the iSCSI Initiator Properties window.

    

23. Press Win+R, and type diskmgmt.msc to open Disk Manager.

    

24. Right-click the new disk, and select Online.

    

25. Right-click, and click Initialize. You can select a partition style.

    

26. Right-click on the unallocated space of the new disk and create a new volume.

    

27. Enter a name for the new volume.

    

28. You can then see the new disk in File Explorer.

    

Repeat this procedure on every server that you have added as a failover cluster node.

 

To add the shared virtual disk into the failover cluster, do the following:

1. Open Server Manager on any server which you have configured as a failover cluster node.

2. On the Tools menu, select Failover Cluster Manager.

3. In the Failover Cluster Manager window, in the Actions pane, select Validate Cluster.

    

4. On the Testing Options page, select Run only tests I select, and click Next.

    

5. On the Test Selection page, select only the Storage option, and click Next.

    

6. On the Confirmation page, click Next.

7. The Validating page displays the status of the running tests.

8. On the Summary page, do either of the following:

• If the results indicate that the tests completed successfully and the configuration is suited for adding storage, click Finish.

• If the results indicate that there were warnings or failures, select View Report to view the details and determine which issues need to be be corrected. It is recommended to fix any warnings detected, and necessary to fix any failures detected.

9. In the left pane of the Failover Cluster Manager, expand the failover cluster node, then expand the Storage node, and select Disks.

    

10. In the Actions pane of the Failover Cluster Manager, click Add Disk, and then select the shared virtual disk.

    

11. You can see then the virtual disk added to the cluster.