Stop-NlbClusterNode

Stop-NlbClusterNode

Stops a node in a Network Load Balancing (NLB) cluster.

構文

Parameter Set: NonPipeline
Stop-NlbClusterNode [[-HostName] <String> ] [-Drain] [-InterfaceName <String> ] [-Timeout <UInt32> ] [ <CommonParameters>]

Parameter Set: Pipeline
Stop-NlbClusterNode -InputObject <Node[]> [-Drain] [-Timeout <UInt32> ] [ <CommonParameters>]

詳細説明

The Stop-NlbClusterNode cmdlet stops a node in a Network Load Balancing (NLB) cluster. When the nodes are stopped in the cluster, client connections that are already in progress are interrupted. To avoid interrupting active connections, consider using the Drain parameter, which allows the node to continue servicing active connections but disables all new traffic to that node.

パラメーター

-Drain

Drains existing traffic before stopping the cluster node. If this parameter is omitted, then the existing traffic will be dropped.

エイリアス

D

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-HostName<String>

Specifies the name of the cluster host against which this cmdlet is run. If this parameter is omitted or a value of . is entered, then the local cluster is assumed.

エイリアス

Host,HN,H

必須?

false

位置は?

1

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-InputObject<Node[]>

Specifies the cluster node to stop.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByValue, ByPropertyName)

ワイルドカード文字を許可する

false

-InterfaceName<String>

Specifies the interface to which NLB is bound. This is the interface of the cluster against which this cmdlet is run.

エイリアス

Interface,IN,I

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Timeout<UInt32>

Specifies the number of minutes to wait for the drain operation before stopping the cluster node. After the time expires, the existing connections will be dropped.

エイリアス

T

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • Microsoft.NetworkLoadBalancingClusters.PowerShell.Node

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.NetworkLoadBalancingClusters.PowerShell.Node

EXAMPLE 1

This example stops the cluster node named node2 on the local cluster.

PS C:\> Stop-NlbClusterNode node2

EXAMPLE 2

This example stops the local cluster node. Before this cmdlet stops the cluster, this cmdlet drains all existing connections for up to 10 minutes. During that time, new connections will not be established on this node. Any remaining connections after the 10 minutes will be forcefully terminated.

PS C:\> Stop-NlbClusterNode -Drain -Timeout 10

関連トピック

Add-NlbClusterNode

Get-NlbClusterNode

Remove-NlbClusterNode

Resume-NlbClusterNode

Set-NlbClusterNode

Start-NlbClusterNode

Suspend-NlbClusterNode