3

I have 4 nodes cluster on Windows Core with SQL Server 2016 installed on them (4 instances, 1 instance on each node).

I would like to remove 2 nodes from the cluster (2 instances aren't needed).

I can't run the SQL Server SETUP.exe utility in order to Choose "Remove node from a SQL Server failover cluster".

I can open Failover Cluster Manager on another server remove it from there, OR use WAC (Windows Admin Center) to perform the action.

However, most of the links I read about evicting SQL Cluster nodes are using that GUI utility (Setup.exe)

Will evicting via the WAC/Failover Cluster manager without the 'Setup.exe' step will hurt the cluster's validity ? What is the correct way to perform it ?

Many thanks, Roni.

Hannah Vernon
71.1k22 gold badges178 silver badges323 bronze badges
asked May 1, 2019 at 13:43

2 Answers 2

2

Use the command-line parameters for setup.exe on Windows Core. The details can be found at Microsoft Docs. Using the command-line parameters allows use of the setup.exe without requiring the GUI pieces, which are problematic on Windows Core.

From that page:

Use the parameters in the following table to develop command-line scripts for RemoveNode. To uninstall a failover cluster, you must run RemoveNode on each failover cluster node. For more information, see Always On Failover Cluster Instances (SQL Server).

A simple example, taken from the page linked, is:

setup.exe /q /ACTION=RemoveNode /INSTANCENAME="<Insert Instance Name>" [/INDICATEPROGRESS] /CONFIRMIPDEPENDENCYCHANGE=0 
answered May 1, 2019 at 13:56
0
1

As per your statement you have 4 instances installed. This should be "Always On" not "FCI" (Failover Cluster Instance). If yes, please follow the steps

1- Remove unwanted nodes from Always on Replicas.

2- Evict these nodes from Windows Failover Cluster.

3- Remove databases which should be in restoring mode on unwanted nodes.

Anthony Genovese
2,0673 gold badges22 silver badges34 bronze badges
answered May 2, 2019 at 13:43

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.