Need help with Hyper-V and Storage Spaces Direct

Richard Duane Wolford Jr 201 Reputation points
2024-04-25T13:54:17.1933333+00:00

We needed some help with Hyper-V and storage spaces direct. We have a four node cluster of Hyper-V servers using Storage Spaces Direct. We've installed additional NICs in each Hyper-V server and want to use this network exclusively for storage spaces direct, but we don't know exactly how to do this, s uch as what we need to do in the cluster configuration, what to create in Hyper-V, etc. in order to restrict storage spaces direct traffic to flow exclusively over these new network adapters.

Thanks!

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,546 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 29,891 Reputation points Microsoft Vendor
    2024-04-29T04:35:37.1+00:00

    Hi Richard,

    Hope you're doing well.

    Here's a general outline of the process:

    1. Ensure the additional NICs installed in each Hyper-V server are properly connected and recognized by the operating system. Then assign IP addresses to the new NICs. These IP addresses will be used for the storage network.
    2. Open Failover Cluster Manager and navigate to Networks under the cluster name. Identify the new network adapters dedicated for storage. Ensure these adapters are set to be used for cluster communication and storage traffic. Set the Metric value lower for the storage network adapters to prioritize storage traffic.
    3. Open PowerShell as an Administrator.

    Use the "Enable-ClusterS2D" cmdlet to enable Storage Spaces Direct on the cluster. Set the "S2DPreferredNetwork" parameter to specify the network adapters to use for storage traffic.

    Enable-ClusterS2D -S2DPreferredNetwork "StorageNetwork"

    Replace "StorageNetwork" with the appropriate network name identified in the cluster networking settings.

    1. After configuring S2D, use PowerShell cmdlets like "Get-ClusterNetwork" and "Get-ClusterS2D" to verify that the storage network is properly configured. Ensure that the storage network adapters are being used for cluster and storage traffic.

    Due to the limitation resource of forum, I cannot test these steps in my environment. You can choose to go to Microsoft Customer Service Center to open a Premier-level case so that with their permission level and resource, Microsoft could provide you with better help on your request.

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments