Add-ClusterNode
Add-ClusterNode
Adds a node (server) to a failover cluster.
構文
Parameter Set: InputObject
Add-ClusterNode [[-Name] <StringCollection> ] [-Cluster <String> ] [-InputObject <PSObject> ] [-NoStorage] [ <CommonParameters>]
詳細説明
The Add-ClusterNode cmdlet adds a node, or server, to a failover cluster. Before adding the new node, you should run validation tests on the existing nodes together with the proposed new node.
Before adding the new node, you should run validation tests on the existing nodes together with the proposed new node. By running the validation tests, you can confirm that the server to be added is connected correctly to the networks and storage and that it contains the same software updates.
Note:このコマンドレットは、サーバー コンピューターに Credential Security Service Provider (CredSSP) 認証がない場合、リモートで実行できません。
パラメーター
-Cluster<String>
Specifies the name of the cluster on which to run this cmdlet. If the input for this parameter is .
or it is omitted, then the cmdlet runs on the local cluster.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-InputObject<PSObject>
Specifies the cluster to which to add the new cluster node.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
true (ByValue) |
ワイルドカード文字を許可する |
false |
-Name<StringCollection>
Specifies the name of the cluster node to add.
エイリアス |
なし |
必須? |
false |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-NoStorage
Ensures that shared storage, on the node being joined to the cluster, will not be added to the cluster during the join operation. Shared storage can be added by piping the ClusterDiskInfo object from the Get-ClusterAvailableDisk cmdlet into the Add-ClusterDisk cmdlet.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
- Microsoft.FailoverClusters.PowerShell.Cluster
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- Microsoft.FailoverClusters.PowerShell.ClusterNode
例
EXAMPLE 1
This example adds node named node4 to the local cluster.
PS C:\> Add-ClusterNode –Name node4
EXAMPLE 2
This example adds the node named node3 to cluster called cluster1.
PS C:\> Get-Cluster –Name cluster1 | Add-ClusterNode –Name node3