Stop-NlbCluster

Stop-NlbCluster

Stops all nodes of a Network Load Balancing (NLB) cluster.

構文

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

Parameter Set: Pipeline
Stop-NlbCluster -InputObject <Cluster[]> [-Drain] [-Timeout <UInt32> ] [ <CommonParameters>]

詳細説明

The Stop-NlbCluster cmdlet stops all nodes in a Network Load Balancing (NLB) cluster. The cmdlet will stop the NLB service on the host and all existing connections will be lost. To avoid interrupting active connections, use the Drain parameter which allows the host to continue servicing active connections, but disables all new traffic to that host.

パラメーター

-Drain

Drains existing traffic before stopping the cluster. 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<Cluster[]>

Specifies the cluster 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

位置は?

2

既定値

なし

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

false

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

false

-Timeout<UInt32>

Specifies the number of minutes to wait for the drain operation before stopping the cluster. 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.Cluster

出力

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

  • Microsoft.NetworkLoadBalancingClusters.PowerShell.Cluster

EXAMPLE 1

This example stops all cluster nodes on the local cluster.

PS C:\> Stop-NlbCluster

関連トピック

Get-NlbCluster

New-NlbCluster

Remove-NlbCluster

Resume-NlbCluster

Set-NlbCluster

Start-NlbCluster

Suspend-NlbCluster