Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


June 20, 2008

Q. How can I use the command line to delete a Windows Server 2008 failover cluster?

RSS
Subscribe to Windows IT Pro | See More Clustering and Load Balancing Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!



A. A. Use the cluster.exe command to delete a Server 2008 failover cluster, and the /cleanup switch to delete any Active Directory (AD) information. In the following example, I obtained a list of existing clusters and deleted one of the listed clusters. Then, I reopened the list to confirm that the deletion was successful.

To obtain a list of existing clusters, I used the command

cluster /list

The output was:

Cluster Name
---------------
SAVTSTCLUS01
SAVTSTFCLUS

Then, I destroyed the savtstfclus cluster by using the command

cluster savtstfclus /destroy /cleanup

The output was

Are you sure you want to destroy this cluster? (Y/N):

I typed Y and pressed Enter. The output was

Destroying cluster savtstfclus...
11% Moving resource group 'Cluster Group'.
22% Deleting resource group 'Available Storage'.
33% Cleaning up computer objects for cluster 'savtstfclus'.
44% Evicting node savtstfc02 from cluster.
55% Attempting to restore node savtstfc02 to its non-clustered state.
66% Taking resource group 'Cluster Group' offline.
77% Cleaning up resources in core Cluster groups.
88% Evicting node savtstfc01 from cluster.
100% Attempting to restore node savtstfc01 to its non-clustered state.

To reopen the cluster list, I used the command

cluster /list

The output was

Cluster Name
---------------
SAVTSTCLUS01

A cluster should be in a state in which it can be started to clean up AD information. If your cluster nodes are in a state in which the cluster you want to delete can't be started, use the /forcecleanup switch to force a cluster-information cleanup, as in the following sample code:

"cluster node (node) /forcecleanup"

End of Article



Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...

Microsoft Delivers Service Pack 2 Beta 2 for Vista, Server 2008

Microsoft on Tuesday announced the availability of the Beta 2 version of Service Pack 2 (SP2) for Windows Vista and Windows Server 2008. Since both operating systems were developed from the same code base, they have a common servicing structure and thus ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Virtualization for Mission-Critical BI with SQL Server

SQL Consolidation: Insights from Customers, Analysts & HP

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing