How to Rename SQL Server Network Name (Virtual Server Name) in SQL Server 2019 Failover Cluster Instance (FCI).


In SQL Server Failover Cluster Instance (FCI), the SQL Server Network Name (also called the Virtual Server Name) is what applications and users use to connect. Sometimes, we may need to rename to match new naming standards or after a migration.

This blog explains the recommended way to rename the SQL Server Network Name in SQL Server 2019 FCI, along with key points to check after the change.

Environment details:

Component

Name

Version

Purpose

Node 1

sql01-chn.corp.local

Windows Server 2019

First cluster server

Node 2

sql02-chn.corp.local

Windows Server 2019

Second cluster server

Cluster Name

WINSQLPRD01

 

Windows failover cluster name

SQL Network Name

Before: CHNSQLVS01-MIG
After: CHNSQLVS01

SQL Server 2019

Name used by applications to connect

SQL Instance ID

PRD01

SQL Server 2019

SQL Server instance name

 

1. Open Failover Cluster Manager by pressing Win + R, typing cluadmin.msc and clicking OK.


2. In Failover Cluster Manager, navigate to Roles → SQL Server (PRD01) → Resources tab, select the Server Name (CHNSQLVS01-MIG) resource and right-click to open Properties.




3. Rename the SQL Server network name from CHNSQLVS01-MIG to CHNSQLVS01, SQL Server resource and its dependent resources will go offline and then come back online.









4. From Failover Cluster Manager, confirm the SQL Server network name reflects the new VNN.



5. Review cluster events for any errors and ensure the new Virtual Server Name (VNN) is updated in Active Directory (AD) and DNS.







6. Old Virtual Server Name CHNSQLVS01-MIG is no longer resolvable in DNS, while the new Virtual Server Name CHNSQLVS01 resolves successfully and the SQL query SELECT @@SERVERNAME confirms the instance name as CHNSQLVS01\PRD01.



7. Flush and re-register DNS on the client machines if needed.

ipconfig /flushdns

ipconfig /registerdns

nbtstat –RR



Comments

Popular posts from this blog

Step-by-Step Guide to Configure Oracle GoldenGate Plug-in for Enterprise Manager 13cR5

How to Reposition Extract, Data Pump and Replicat in GoldenGate During Trail File Corruption

Step-by-Step Guide to Configure Oracle GoldenGate Veridata 23c