Configuring Failover Cluster Nodes by Using Windows PowerShell
Updated: October 1, 2009
Applies To: Windows Server 2008 R2
This topic lists common tasks related to configuring nodes in a failover cluster running Windows Server 2008 R2, and shows example Windows PowerShell commands for performing those tasks. The Windows PowerShell cmdlets provide an alternative interface for actions that you might otherwise perform with command-line commands or the Failover Cluster Manager snap-in. For topics that list other common tasks and the corresponding Windows PowerShell commands, see Performing Common Tasks in a Failover Cluster by Using Windows PowerShell.
For more information about how to use Windows PowerShell, see Additional references, later in this topic.
Common tasks and example commands for working with nodes in a failover cluster
The following table lists common tasks for working with nodes in a failover cluster, and the example Windows PowerShell commands for performing those tasks.
Task | PowerShell command |
---|---|
Review the state of nodes. |
For more information, see Get-ClusterNode (https://go.microsoft.com/fwlink/?LinkId=143789). |
Run validation tests on a new server. (The Failover Clustering feature must be installed.) |
Where For more information, see:
|
Prepare a node for maintenance. (Moves clustered services and applications off the node.) |
Where For more information, see:
|
Pause a node. |
Where For more information, see Suspend-ClusterNode (https://go.microsoft.com/fwlink/?LinkId=143793). |
Resume a node. |
Where For more information, see Resume-ClusterNode (https://go.microsoft.com/fwlink/?LinkId=143813). |
Stop the Cluster service on a node. |
Where For more information, see Stop-ClusterNode (https://go.microsoft.com/fwlink/?LinkId=143826). |
Start the Cluster service on a node. |
Where For more information, see Start-ClusterNode (https://go.microsoft.com/fwlink/?LinkId=143822). |