I have installed and uninstalled several instances of SQL Server in the past. Today, I need to uninstall a SQL Server 2008 R2 clustered instance. I have never uninstalled a clustered instance of SQL Server before. Can you provide a how-to guide to uninstall a clustered instance of SQL Server 2008 R2?
Solution
Uninstalling a clustered instance of SQL Server 2008 R2 is actually an easy thing to do. It might be intimidating for your first attempt so I would highly recommend doing this first on a non-production cluster.
Step 1: Remote into the non-active node for the SQL Server clustered instance that needs to be uninstalled. This instance might be an active node for another instance of SQL Server and this is fine.
Step 2: Start the SQL Server 2008 R2 installer and go to Maintenance section and select remove node from a SQL Server failover cluster
Step 3: Go through the setup support rules and click ok.
Step 4: Go through next screen of setup support rules and click next. If you don't see "Passed" for all items address this issue before going forward.
Step 5: Select the clustered instance you want to uninstall. Notice that we will uninstall the SP2010 instance which has two clustered nodes cln01 and cln02. This is an active passive cluster and we will are starting with the passive (not active) node cln02.
Step 6: Verify that all components you want to remove are selected. Click on the remove button to start the process to remove the SQL Server clustered instance on this node.
Step 7: Watch SQL Server uninstall the clustered node.
Step 8: Uninstall is complete on this node. Congratulations you just uninstalled SQL Server node. Now it's time to uninstall the other nodes use by the SQL Server Clustered instance.
Step 9: Repeat steps 1 through 8 on all nodes used for the SQL Server clustered instance. Make sure you uninstall the active node last.
Note: when you repeat step 5 you should notice that the previous uninstalled node is not listed under nodes. In this example you should only see cln01 as we already removed cln02.
I'm using sql 2008 r2. So when i want to upgrade to sql 2012, the setup says "no connect to sql cluster node". I did not install cluster. And when i run setup 2008 r2, i can not see remove node in maintence menu.
Very useful article. Thanks for articulating this in a detailed manner.
Before uninstalling the SQL instance, I think, we should check for dependencies on SQL Server like SQL Network(IP addresses), LUNs, Mounting points etc. It would be great, if you can explain how to clear dependencies before we start of the SQL instance uninstallation.
Thanks in advance.
Friday, September 6, 2013 - 12:40:10 AM - Sanjeev Baranwal
How to uninstall the SQL server in Active-Active clustering environment? I have requirement of uninstalling the sql server and reinstall again the same version but from other package due to licensing issues.
This tip just removes the SQL Server Instance from the Windows cluster. It doesn't remove the the node from the cluster just the instance used during the uninstall process.
Regards, John
Tuesday, June 5, 2012 - 9:58:02 AM - Marcelo Moraes
I have a doubt about the procedure above. Are you removing just the SQL Server Instance or you are removing the Node from Cluster? I couldn't understand very well.
I have a 2 node SQL 2005 cluster based on Windows Server 2008. There are 4 SQL Server instances into this cluster and I need to remove just one of them. Can I follow this procedure without worries?
Nice article, I had to learn it the hard way with some googling. I have one question though, how do the remaining nodes handle it if you completly lose a node and have to do a re-build from scratch and do not have the chance to gracefully uninstall/evict from the SQL Cluster environment?
We are trying to find information on this as it is something we need to write up but do not have teh spare kit to try and simulate. If anyone has any advice it would be appreciated.