Site sponsored by: Idera Try Idera’s new SQL admin toolset
SQL Server Performance

  • Home
  • Articles
  • Forums
  • Tips
  • Quiz
  • FAQ's
  • Blogs
  • Software
  • Books
  • About Us
RSS Feeds
Sign in | Join


Article Topics

All Articles
Performance Tuning
Audit
Business Intelligence
Clustering
Reporting Services
Developer
General DBA
ASP.NET / ADO.NET

Write for Us

Share you SQL Server knowledge with others and raise your profile in the community More...
Latest Articles

Database Recovery Models in SQL Server
Compare Dates
Filtered Indexes in SQL Server 2008
Importance of Database Backups and Recovery Plan

More     
 
Latest FAQ's

ALTER TABLE SWITCH statement failed because the object '%.*ls' is not ...
ALTER TABLE SWITCH statement failed because column '%.*ls' at ordinal %d ...
ALTER TABLE SWITCH statement failed because table '%.*ls' has %d columns ...
SQL Server Reporting Server (SSRS) service is failing to start ...

More     
   
Latest Software Reviews

Spotlight on ApexSQL Doc 2008
ApexSQL Enforce
Embarcadero Change Manager
SQL Server DBA Dashboard

More     

articles >> clustering >> Un-Install a SQL Server Cluster: Step-by-Step ...

Un-Install a SQL Server Cluster: Step-by-Step

By : Romanth Nirmal
Nov 30, 2004

If SQL Server Cluster Install ends up in errors and fails, consider doing a clean up of the cluster install and then re-start it.

Here is a step-by-step process which gives a clean un-install of a SQL Server Cluster environment.

 

Step-1 Execute sqlrem.bat

Execute sqlrem.bat with following parameters on each node:

Syntax:

sqlrem.bat <sql install path> <instance name>

Sample:

sqlrem.bat D:\MSSQL\MSSQL$ONESQL ONESQL\ONESQL_1

 

Step-2 Remove Alias

Remove alias with clicnfg.exe on each node.

 

Step-3 Un-Install Microsoft Data Access Components

Un-install Microsoft Data Access Components from each node. This can be done using Add Remove Programs in Control panel.

 

Step-4 Erase Physical Directory Structure

Remove physical directory structure from each node

1. SQL Server Binary files \Program files\Microsoft SQL Server

2. Data files folder \MSSQL\MSSQL

 

Step-5 Remove Resources with Cluster Admin

Remove the following SQL Server resources registered with Cluster Administrator.

1. SQL IP Address

2. SQL Network Name

3. SQL Server

4. SQL Server Agent

 

Step-6 Registry Clean Up

Remove following registry keys if they are found:

Cluster Related:

1. HKEY_LOCAL_MACHINE\Cluster\ResourceTypes\SQL Server
2. HKEY_LOCAL_MACHINE\Cluster\ResourceTypes\SQL Server Agent

 

SQL Server Software Related:

1. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server

 

MSSQL Instance Related:

1. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ContentIndexCommon\LanguageResources\
Override\SQLServer$ONESQL_1
2. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009
3. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\LEGACY_MSSQL$ONESQL_1
4. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\Root\LEGACY_MSSQL$ONESQL_1
5. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_MSSQL$ONESQL_1
6. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\MSSQL$ONESQL_1
7. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\MSSQLServerADHelper
8. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SQLAgent$ONESQL_1

 

Step-7 Erase the Shortcuts

1. Remove the SQL Server shortcuts in Startup menu as well as desktop.
2. Remove the Service manager entry located in startup menu.
3. Remove the Programs\ Microsoft SQL Server folder

 

Step-8 Restart the Cluster

Restart the Cluster Nodes one by one.


    Next Page>>    








Home | Peformance Articles | Audit Articles | Business Intelligence Articles | Clustering Articles | Developer Articles | Reporting Services Articles | DBA Articles | ASP.NET / ADO.NET Articles | DBA FAQ's | Developer Peformance FAQ's | DBA Peformance FAQ's | Developer FAQ's | Clustering FAQ's | Error Messages | Audit Tool Reviews | Backup Tool Reviews | Coding Tool Reviews | Compare Tool Reviews | Documentation Tool Reviews | Design Tool Reviews | Monitoring Tool Reviews | Log Tool Reviews | Reporting Tool Reviews | Clustering Tool Reviews | Security Tool Reviews | Change Management Tool Reviews | Remote Access Tool Reviews | Book Reviews | Security Tool Reviews | QDPMA Performance Tuning | ADO.NET / ASP.NET | Administration | Analysis/OLAP Services | Application Development | Configuration | Components | ETL | Hardware | High Availability | Hints | Index | Misc | Operating Systems | Performance Tuning | Replication | T-SQL | Views


              © 1999-2008 by T10 Media. All rights reserved