Start-Cluster
Start-Cluster
Starts the Cluster service on all nodes of the cluster on which it is not yet started.
構文
Parameter Set: Default
Start-Cluster [[-Name] <String> ] [-IgnorePersistentState] [-Wait <Int32> ] [ <CommonParameters>]
詳細説明
The Start-Cluster cmdlet starts the Cluster service on all nodes of the cluster on which it is not yet started. A node can function as part of the cluster only when the Cluster service is running on that node.
Note:このコマンドレットは、サーバー コンピューターに Credential Security Service Provider (CredSSP) 認証がない場合、リモートで実行できません。
パラメーター
-IgnorePersistentState
Starts the nodes in the cluster without bringing resources online on the nodes.
エイリアス |
IPS |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Name<String>
Specifies the name of the cluster to start.
エイリアス |
なし |
必須? |
false |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Wait<Int32>
Specifies the time in seconds to wait for the cmdlet. If this parameter is not specified, then the cmdlet will not return until quorum is achieved. If the value of 0
is specified, the cmdlet will attempt to start the Cluster service on all nodes and then return without waiting.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
- None
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- Microsoft.FailoverClusters.PowerShell.Cluster
例
EXAMPLE 1
This example starts all cluster nodes on the local cluster.
PS C:\> Start-Cluster
EXAMPLE 2
This example starts all cluster nodes on the cluster of which the node named node2 is a part. A node name is required if all cluster nodes are stopped. If the cluster is already running, then the cluster name, assuming the cluster name resource is online, can be used instead of the node name.
PS C:\> Start-Cluster –Name node2