Get-NlbClusterDriverInfo
Get-NlbClusterDriverInfo
Retrieves information about the Network Load Balancing (NLB) driver on the local machine.
구문
Parameter Set: Params
Get-NlbClusterDriverInfo [-InterfaceName <String> ] [-Params] [ <CommonParameters>]
Parameter Set: ConvergenceHistory
Get-NlbClusterDriverInfo -ConvergenceHistory [-InterfaceName <String> ] [ <CommonParameters>]
Parameter Set: ExtendedAffinityExceptionList
Get-NlbClusterDriverInfo -ExtendedAffinityExceptionList [-InterfaceName <String> ] [ <CommonParameters>]
Parameter Set: ExtendedAffinityList
Get-NlbClusterDriverInfo -ExtendedAffinityList [-InterfaceName <String> ] [ <CommonParameters>]
Parameter Set: Filter
Get-NlbClusterDriverInfo -ClientIP <IPAddress> -Filter <Protocol> {Gre | Icmp | Ipsec | Pptp | Tcp | Udp} -ServerIP <IPAddress> [-ClientPort <Int32> ] [-Flags <Flags> {Fin | Rst | Syn} ] [-InterfaceName <String> ] [-ServerPort <Int32> ] [ <CommonParameters>]
Parameter Set: OpenConnections
Get-NlbClusterDriverInfo -OpenConnections [-InterfaceName <String> ] [ <CommonParameters>]
자세한 설명
The Get-NlbClusterDriverInfo cmdlet retrieves information about the Network Load Balancing (NLB) driver on the local machine. This includes information about IP addresses, ports, convergence history, connections, extended affinity status, and protocols.
매개 변수
-ClientIP<IPAddress>
Specifies the connection client IP address that is used to check whether the current cluster node accepts or drops the traffic.
별칭 |
CIP |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-ClientPort<Int32>
Specifies the connection tuple client port that is used to check whether the current cluster node accepts or drops the traffic. 이 매개 변수에 허용되는 값은 다음과 같습니다. 0
through 65535
.
별칭 |
CPT |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-ConvergenceHistory
Gets the history of convergences between the cluster nodes.
별칭 |
History |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-ExtendedAffinityExceptionList
Gets the extended affinity exception list on this cluster node.
별칭 |
ExceptionList |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-ExtendedAffinityList
Gets the extended affinity list on this cluster node.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Filter<Protocol>
Determines whether or not a certain traffic pattern will be picked by this cluster node. The parameter specifies the protocol that is used to check whether the current cluster node accepts or drops the traffic. 이 매개 변수에 허용되는 값은 다음과 같습니다. TCP or UDP.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Flags<Flags>
Specifies the type of packet that is used to check whether the current cluster node accepts or drops the traffic. 이 매개 변수에 허용되는 값은 다음과 같습니다. SYN FIN or RST.
별칭 |
FG |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-InterfaceName<String>
Specifies the interface to which NLB is bound. This is the interface of the cluster against which this cmdlet is run.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-OpenConnections
Gets the list of open connections to the cluster.
별칭 |
OpenConnection |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Params
Gets the list information about the NLB driver on this node.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-ServerIP<IPAddress>
Specifies the connection tuple server IP address used to check whether the current cluster node accepts or drops the traffic.
별칭 |
SIP |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-ServerPort<Int32>
Specifies the connection tuple server port used to check whether the current cluster node accepts or drops the traffic. 이 매개 변수에 허용되는 값은 다음과 같습니다. 0
through 65535
.
별칭 |
SPT |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
- None
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
- Microsoft.NetworkLoadBalancingClusters.PowerShell.ClientExceptionRecord
- Microsoft.NetworkLoadBalancingClusters.PowerShell.ClusterSettings
- Microsoft.NetworkLoadBalancingClusters.PowerShell.ConvergenceHistoryRecord
- Microsoft.NetworkLoadBalancingClusters.PowerShell.DescriptorRecord
- Microsoft.NetworkLoadBalancingClusters.PowerShell.DriverInfo
- Microsoft.NetworkLoadBalancingClusters.PowerShell.ExtendedAffinityRecord
예제
EXAMPLE 1
This example gets information about the NLB driver configuration.
PS C:\> Get-NlbClusterDriverInfo
EXAMPLE 2
This example gets the history of convergence for the local node.
PS C:\> Get-NlbClusterDriverInfo -ConvergenceHistory
EXAMPLE 3
This example declares whether traffic in the given pattern will be accepted on the local node or not.
PS C:\> Get-NlbClusterDriverInfo -Filter TCP -ServerIP 2.53.4.222 -ServerPort 5001 -ClientIP 2.53.4.5 -ClientPort 5001
EXAMPLE 4
This example will enumerate the client IP addresses that are on the extended affinity list on this cluster node. This applies to port rules that have extended affinity timeout enabled. The cmdlet also displays the number of active connections for each client.
PS C:\> Get-NlbClusterDriverInfo -ExtendedAffinityList
EXAMPLE 5
This example will enumerate the client IP addresses that are on the extended affinity exception list. This applies to port rules that have extended affinity timeout enabled. Traffic from clients on this list will be picked up by another cluster node that has the host ID listed.
PS C:\> Get-NlbClusterDriverInfo -ExtendedAffinityExceptionList
EXAMPLE 6
This example enumerates all open connections on this cluster node. This is useful to run when the draining operation takes a long time and the administrator wants to know which connections are on the node.
PS C:\> Get-NlbClusterDriverInfo -OpenConnections