The following steps will help configure network intents for management, compute, and storage.
Note: Network ATC does not currently support auto-assigning of IPs for a switchless topology. Hence, for this scenario we will have to override the feature and assign SMB IPs manually.
- Modify NIC variables to match the deployment requirements.
$mgmt_compute_nics = @('Integrated NIC 1 Port 1-1','Integrated NIC 1 Port 2-1')
$storage_nics = @('SLOT 3 Port 1','SLOT 3 Port 2','SLOT 4 Port 1','SLOT 4 Port 2','SLOT 6 Port 1','SLOT 6 Port 2')
$storage_vlan =@(700)
$Mgmt_Vlan=202 - Create an override object for the DCB Quality of Service (QoS) configuration.
$QoSOverride = New-NetIntentQoSPolicyOverrides
$QoSOverride.BandwidthPercentage_Cluster = 2
$QoSOverride.PriorityValue8021Action_Cluster = 5QoS priority QoS flow control Purpose 0-2,4,6,7 Disabled 0 - Best effort traffic 3 Enabled RDMA 5 Disabled Cluster network - Create a jumbo packet override for SMB and Management NIC.
$MgmtAdapterPropertyOverrides = New-NetIntentAdapterPropertyOverrides
$MgmtAdapterPropertyOverrides.NetworkDirect = 0
$MgmtAdapterPropertyOverrides.JumboPacket = 1514
$StorAdapterPropertyOverrides = New-NetIntentAdapterPropertyOverrides
$StorAdapterPropertyOverrides.JumboPacket = 9014 - Choose the RDMA protocol to be used for deployment.
#Intel E810 support iWARP and RoCEV2 while Mellanox support only RoCEV2.
-iWARP = 1 RoCEv2 = 4
$StorAdapterPropertyOverrides.NetworkDirectTechnology = 1Note: Modify the RDMA protocol based on the network cards.
- Set storage overrides if you do not want Network ATC to assign SMB IPs automatically.
$StorageOverride = New-NetIntentStorageOverrides
$StorageOverride.EnableAutomaticIPGeneration = $false - Create a management and compute intent.
Add-NetIntent -Name Management_Compute -Management -Compute -AdapterName $mgmt_compute_nics -ManagementVlan $Mgmt_Vlan -AdapterPropertyOverrides
$MgmtAdapterPropertyOverrides - Verify intent creation status.
Get-NetIntentStatus | select intentname,Host,ConfigurationStatus,ProvisioningStatus,retrycount,error,LastSuccess,LastUpdated,LastConfigApplied |ft
- Create a storage intent.
Add-NetIntent -Name Storage -Storage -AdapterName $storage_nics -StorageVLANs $storage_vlan -QosPolicyOverrides $QoSOverride -AdapterPropertyOverrides $StorAdapterPropertyOverrides -StorageOverrides $Storageoverride
- Verify intent creation status.
Get-NetIntentStatus -Name Storage | select intentname,Host,ConfigurationStatus,ProvisioningStatus,retrycount,error,LastSuccess,LastUpdated,LastConfigApplied |ft
- Add a global overrides.
$clusterOverride = New-NetIntentGlobalClusterOverrides
$clusterOverride.EnableVirtualMachineMigrationPerformanceSelection = $false
$clusterOverride.VirtualMachineMigrationPerformanceOption = "SMB"
$clusterOverride.MaximumVirtualMachineMigrations = 2
Set-NetIntent -GlobalClusterOverrides $clusterOverride - Run the Test-Cluster cmdlet.
The Test-Cluster cmdlet generates an HTML report of all performed validations and includes a summary of the validations. Review this report, resolve all warnings and errors before creating a cluster.Test-Cluster -Node node01,Node02,Node03,Node04 -Include 'Storage Spaces Direct', 'Inventory', 'network', 'System Configuration'