Get-NlbClusterDriverInfo
Get-NlbClusterDriverInfo
Retrieves information about the Network Load Balancing (NLB) driver on the local machine.
Syntaxe
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>]
Description détaillée
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.
Paramètres
-ClientIP<IPAddress>
Specifies the connection client IP address that is used to check whether the current cluster node accepts or drops the traffic.
Alias |
CIP |
Obligatoire ? |
true |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-ClientPort<Int32>
Specifies the connection tuple client port that is used to check whether the current cluster node accepts or drops the traffic. Les valeurs acceptables pour ce paramètre sont : 0
through 65535
.
Alias |
CPT |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-ConvergenceHistory
Gets the history of convergences between the cluster nodes.
Alias |
History |
Obligatoire ? |
true |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-ExtendedAffinityExceptionList
Gets the extended affinity exception list on this cluster node.
Alias |
ExceptionList |
Obligatoire ? |
true |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-ExtendedAffinityList
Gets the extended affinity list on this cluster node.
Alias |
none |
Obligatoire ? |
true |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
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. Les valeurs acceptables pour ce paramètre sont : TCP or UDP.
Alias |
none |
Obligatoire ? |
true |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-Flags<Flags>
Specifies the type of packet that is used to check whether the current cluster node accepts or drops the traffic. Les valeurs acceptables pour ce paramètre sont : SYN FIN or RST.
Alias |
FG |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-InterfaceName<String>
Specifies the interface to which NLB is bound. This is the interface of the cluster against which this cmdlet is run.
Alias |
none |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-OpenConnections
Gets the list of open connections to the cluster.
Alias |
OpenConnection |
Obligatoire ? |
true |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-Params
Gets the list information about the NLB driver on this node.
Alias |
none |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-ServerIP<IPAddress>
Specifies the connection tuple server IP address used to check whether the current cluster node accepts or drops the traffic.
Alias |
SIP |
Obligatoire ? |
true |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-ServerPort<Int32>
Specifies the connection tuple server port used to check whether the current cluster node accepts or drops the traffic. Les valeurs acceptables pour ce paramètre sont : 0
through 65535
.
Alias |
SPT |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
<CommonParameters>
Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entrées
Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.
- None
Sorties
Le type de sortie est le type des objets émis par l’applet de commande.
- Microsoft.NetworkLoadBalancingClusters.PowerShell.ClientExceptionRecord
- Microsoft.NetworkLoadBalancingClusters.PowerShell.ClusterSettings
- Microsoft.NetworkLoadBalancingClusters.PowerShell.ConvergenceHistoryRecord
- Microsoft.NetworkLoadBalancingClusters.PowerShell.DescriptorRecord
- Microsoft.NetworkLoadBalancingClusters.PowerShell.DriverInfo
- Microsoft.NetworkLoadBalancingClusters.PowerShell.ExtendedAffinityRecord
Exemples
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