зеркало из https://github.com/microsoft/SDN.git
Merge pull request #609 from princepereira/user/ppereira/hnsPortpoolAllocations
Adding more hns debugging log collection steps to collectlogs.ps1
This commit is contained in:
Коммит
eb00de5db2
|
@ -79,6 +79,9 @@ else
|
|||
@{Name="CompartmentID"; Expression={$_.NamespaceId}}, `
|
||||
@{Name="CompartmentGuid"; Expression={$_.NamespaceGuid}}, `
|
||||
Type, @{Name="EndpointID"; Expression={$_.Resources.Data.Id}} > namespaces.txt
|
||||
|
||||
# V2 HNS port pool allocations
|
||||
(Invoke-HnsRequest -Type portpools -Method GET).PortPoolAllocations | ConvertTo-Json -Depth 10 > hnsportpoolallocs.txt
|
||||
}
|
||||
|
||||
# Networks
|
||||
|
@ -124,6 +127,9 @@ nmscrub -a -n -t > nmscrub.txt
|
|||
nmbind > nmbind.txt
|
||||
arp -a > arp.txt
|
||||
|
||||
$windowsServices = @("hns", "vfpext", "kubeproxy", "tcpip", "kubelet", "containerd", "docker")
|
||||
Get-Service $windowsServices -ErrorAction SilentlyContinue > .\windowsServices.txt
|
||||
|
||||
sc.exe queryex > scqueryex.txt
|
||||
sc.exe qc hns >> scqueryex.txt
|
||||
sc.exe qc vfpext >> scqueryex.txt
|
||||
|
|
Загрузка…
Ссылка в новой задаче