-
Notifications
You must be signed in to change notification settings - Fork 3
Basic Troubleshooting and Data Collection
Troubleshooting of SDN environment can be complex, as there are extensive areas to examine, depending on the resources that you are troubleshooting. To help facilitate automated troubleshooting, there are several functions that do the bulk of the work.
Get-SdnInfrastructure
or Get-SdnEnvironmentInfo
connects to Network Controller to then learn about the underlying SDN fabric. This information is then stored into a global cache $Global:SdnDiagnostics.EnvironmentInfo
that can be referenced later and is used natively by other functions within the SdnDiagnostics module. To see full list of parameters supported with the function, review https://github.com/microsoft/SdnDiagnostics/wiki/Get-SdnInfrastructureInfo.
Debug-SdnFabricInfrastructure
executes a series of validation tests to check the current state of the environment. This is a great starting point to ensure everything related to the fabric is healthy before doing deeper level investigations into resources.
2023-07-06_15-46-05.mp4
Once you have performed Debug-SdnFabricInfrastructure
, you can review the results by leveraging Get-SdnFabricInfrastructureResult
to enumerate the results. In addition, iff you run Start-SdnDataCollection
after performing Debug-SdnFabricInfrastructure
, the debug summary and detailed report will be collected automatically.
2023-07-06_16-07-02.mp4
To see full list of parameters supported with each function, review https://github.com/microsoft/SdnDiagnostics/wiki/Debug-SdnFabricInfrastructure and https://github.com/microsoft/SdnDiagnostics/wiki/Get-SdnFabricInfrastructureResult.
Start-SdnDataCollection
asists customers and engineers with an automated data collection process. The function will determine the fabric information and collect the appropriate configuration details and logs for the role(s) or computers specified. This log bundle can then be provided to Microsoft CSS for further review. To see a full list of the parameters supported with the function, review https://github.com/microsoft/SdnDiagnostics/wiki/Start-SdnDataCollection.
For more advanced scenarios for data collection, please refer to Gather Network Traces and Logs.
- Clear-SdnWorkingDirectory
- Convert-SdnEtwTraceToTxt
- Copy-SdnFileFromComputer
- Copy-SdnFileToComputer
- Debug-SdnFabricInfrastructure
- Disable-SdnRasGatewayTracing
- Enable-SdnRasGatewayTracing
- Enable-SdnVipTrace
- Get-SdnApiEndpoint
- Get-SdnAuditLog
- Get-SdnCertificate
- Get-SdnConfigState
- Get-SdnDiagnosticLogFile
- Get-SdnEventLog
- Get-SdnFabricInfrastructureResult
- Get-SdnGateway
- Get-SdnInfrastructureInfo
- Get-SdnInternalLoadBalancer
- Get-SdnLoadBalancerMux
- Get-SdnModuleConfiguration
- Get-SdnMuxCertificate
- Get-SdnMuxDistributedRouterIP
- Get-SdnMuxState
- Get-SdnMuxStatefulVip
- Get-SdnMuxStatelessVip
- Get-SdnMuxStats
- Get-SdnMuxVip
- Get-SdnMuxVipConfig
- Get-SdnNetAdapterEncapOverheadConfig
- Get-SdnNetAdapterRdmaConfig
- Get-SdnNetworkController
- Get-SdnNetworkControllerClusterInfo
- Get-SdnNetworkControllerNode
- Get-SdnNetworkControllerNodeCertificate
- Get-SdnNetworkControllerRestCertificate
- Get-SdnNetworkControllerState
- Get-SdnNetworkInterfaceOutboundPublicIPAddress
- Get-SdnOvsdbAddressMapping
- Get-SdnOvsdbFirewallRule
- Get-SdnOvsdbGlobalTable
- Get-SdnOvsdbPhysicalPort
- Get-SdnOvsdbRouterTable
- Get-SdnOvsdbUcastMacRemoteTable
- Get-SdnProviderAddress
- Get-SdnPublicIPPoolUsageSummary
- Get-SdnResource
- Get-SdnServer
- Get-SdnServerCertificate
- Get-SdnServiceFabricApplicationHealth
- Get-SdnServiceFabricClusterConfig
- Get-SdnServiceFabricClusterHealth
- Get-SdnServiceFabricClusterManifest
- Get-SdnServiceFabricNode
- Get-SdnServiceFabricPartition
- Get-SdnServiceFabricReplica
- Get-SdnServiceFabricService
- Get-SdnSlbStateInformation
- Get-SdnVfpPortGroup
- Get-SdnVfpPortLayer
- Get-SdnVfpPortRule
- Get-SdnVfpPortState
- Get-SdnVfpVmSwitchPort
- Get-SdnVipConfig
- Get-SdnVMNetworkAdapter
- Get-SdnVMNetworkAdapterPortProfile
- Import-SdnCertificate
- Install-SdnDiagnostics
- Invoke-SdnCommand
- Invoke-SdnGetNetView
- Invoke-SdnResourceDump
- Invoke-SdnServiceFabricCommand
- Move-SdnServiceFabricReplica
- New-SdnCertificate
- New-SdnCertificateRotationConfig
- New-SdnExpressBGPHost
- New-SdnMuxCertificate
- New-SdnNetworkControllerNodeCertificate
- New-SdnNetworkControllerRestCertificate
- New-SdnServerCertificate
- Remove-SdnExpressBGPHost
- Repair-SdnDiagnosticsScheduledTask
- Set-SdnCertificateAcl
- Set-SdnNetworkController
- Set-SdnServiceFabricClusterConfig
- Set-SdnVMNetworkAdapterPortProfile
- Show-SdnVfpPortConfig
- Show-SdnVipState
- Start-SdnCertificateRotation
- Start-SdnDataCollection
- Start-SdnEtwTraceCapture
- Start-SdnMuxCertificateRotation
- Start-SdnNetshTrace
- Start-SdnServerCertificateRotation
- Stop-SdnEtwTraceCapture
- Stop-SdnNetshTrace
- Test-SdnCertificateRotationConfig
- Test-SdnExpressBGP
- Test-SdnProviderAddressConnectivity