зеркало из https://github.com/microsoft/MSLab.git
nw validation fix
This commit is contained in:
Родитель
200a20ee0d
Коммит
d9013b7804
|
@ -573,6 +573,9 @@
|
|||
Get-NetAdapterRdma -CimSession $servers | Sort-Object -Property Systemname | Format-Table systemname,interfacedescription,name,enabled -AutoSize -GroupBy Systemname
|
||||
#validate if VLANs were set
|
||||
Get-VMNetworkAdapterVlan -CimSession $Servers -ManagementOS
|
||||
#verify ip config
|
||||
Get-NetIPAddress -CimSession $servers -InterfaceAlias vEthernet* -AddressFamily IPv4 | Sort-Object -Property PSComputerName | Format-Table PSComputerName,interfacealias,ipaddress -AutoSize -GroupBy pscomputername
|
||||
if ($DCB -eq $True){
|
||||
#Validate DCBX setting
|
||||
Invoke-Command -ComputerName $servers -ScriptBlock {Get-NetQosDcbxSetting} | Sort-Object PSComputerName | Format-Table Willing,PSComputerName
|
||||
#validate policy (no result since it's not available in VM)
|
||||
|
@ -583,9 +586,7 @@
|
|||
Invoke-Command -ComputerName $servers -ScriptBlock {Get-NetQosFlowControl} | Sort-Object -Property PSComputername | Format-Table PSComputerName,Priority,Enabled -GroupBy PSComputerName
|
||||
#validate QoS Traffic Classes
|
||||
Invoke-Command -ComputerName $servers -ScriptBlock {Get-NetQosTrafficClass} |Sort-Object PSComputerName |Select-Object PSComputerName,Name,PriorityFriendly,Bandwidth
|
||||
#verify ip config
|
||||
Get-NetIPAddress -CimSession $servers -InterfaceAlias vEthernet* -AddressFamily IPv4 | Sort-Object -Property PSComputerName | Format-Table PSComputerName,interfacealias,ipaddress -AutoSize -GroupBy pscomputername
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Create cluster and configure basic settings
|
||||
|
|
Загрузка…
Ссылка в новой задаче