Bring a Clustered Service or Application Online or Take It Offline
Applies To: Windows Server 2008
Sometimes during maintenance or diagnosis that involves a service or application in a failover cluster, you might need to bring that service or application online or take it offline. Bringing an application online or taking it offline does not trigger failover, although the Cluster service handles the process in an orderly fashion. For example, if a particular disk is required by a particular clustered application, the Cluster service ensures that the disk is available before the application starts.
For information about related actions, such as pausing a cluster node, see Managing a Failover Cluster.
Membership in the local Administrators group on each clustered server, or equivalent, is the minimum required to complete this procedure. Also, the account you use must be a domain account. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (http://go.microsoft.com/fwlink/?LinkId=83477).
Bringing a clustered service or application online or taking it offline
Using the Windows interface
Using a Command Prompt window
To bring a clustered service or application online or take it offline by using the Windows interface
In the Failover Cluster Management snap-in, if the cluster you want to manage is not displayed, in the console tree, right-click Failover Cluster Management, click Manage a Cluster, and then select or specify the cluster you want.
If the console tree is collapsed, expand the tree under the cluster that you want to manage.
Under Services and Applications, expand the console tree.
Check the status of the service or application that you want to bring online or take offline by clicking the service or application and viewing the Status column (in the center pane).
Right-click the service or application that you want to bring online or take offline.
Click the appropriate command: Bring this service or application online or Take this service or application offline.
To open the failover cluster snap-in, click Start, click Administrative Tools, and then click Failover Cluster Management. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
Note that in a clustered file server, shared folders are associated with a File Server resource. When you bring that resource online or take it offline, all shared folders in the resource go offline or online at the same time. You cannot change the online or offline status of one of the shared folders without affecting all of the shared folders in the File Server resource.
For additional operations information for failover clusters, see http://go.microsoft.com/fwlink/?LinkId=86169.
For troubleshooting information for failover clusters, see http://go.microsoft.com/fwlink/?LinkId=86170.
To bring a clustered service or application online or take it offline by using a Command Prompt window
To open a Command Prompt window, click Start, right-click Command Prompt, and then either click Run as administrator or click Open.
If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
Review the status of your clustered services and applications by typing:
CLUSTER [cluster-name] GROUP /STATUS
Type the one of the following commands:
To bring a clustered service or application online, type:
CLUSTER [cluster-name] GROUP "service-or-application name" /ON[:node-name] [/WAIT[:timeout-seconds]]
To take a clustered service or application offline, type:
CLUSTER [cluster-name] GROUP "service-or-application name" /OFF [/WAIT[:timeout-seconds]]
The period of time after which you want the command to cancel if it cannot complete. If you do not specify a time-out, the command will try to run until it completes, or until the node state changes.
The name of the cluster that you want to affect.
The name of the service or application that you want to affect.
The name of the node where you want to bring the service or application online.
To view the complete syntax for this command, at a command prompt, type:
CLUSTER GROUP /?