Skip to content

Latest commit

 

History

History
160 lines (110 loc) · 3.77 KB

File metadata and controls

160 lines (110 loc) · 3.77 KB
description external help file Module Name ms.date online version schema title
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
Microsoft.FailoverClusters.PowerShell.dll-Help.xml
FailoverClusters
11/22/2022
2.0.0
Add-ClusterNode

Add-ClusterNode

SYNOPSIS

Adds a node (server) to a failover cluster.

SYNTAX

Add-ClusterNode [[-Name] <StringCollection>] [-NoStorage] [-InputObject <PSObject>]
 [-Cluster <String>] [<CommonParameters>]

DESCRIPTION

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

This cmdlet cannot be run remotely without Credential Security Service Provider (CredSSP) authentication on the server computer.

EXAMPLES

Example 1

Add-ClusterNode -Name node4

This example adds node named node4 to the local cluster.

Example 2

Get-Cluster -Name cluster1 | Add-ClusterNode -Name node3

This example adds the node named node3 to cluster called cluster1.

PARAMETERS

-Cluster

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.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-InputObject

Specifies the cluster to which to add the new cluster node.

Type: PSObject
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Name

Specifies the name of the cluster node to add.

Type: StringCollection
Parameter Sets: (All)
Aliases:

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: 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.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Microsoft.FailoverClusters.PowerShell.Cluster

OUTPUTS

Microsoft.FailoverClusters.PowerShell.ClusterNode

NOTES

RELATED LINKS

Add-ClusterDisk

Get-ClusterAvailableDisk

Get-ClusterNode

New-Cluster

Remove-ClusterNode

Resume-ClusterNode

Start-ClusterNode

Stop-ClusterNode

Suspend-ClusterNode

Test-Cluster