How to Rename SQL Server Network Name (Virtual Server Name) in SQL Server 2019 Failover Cluster Instance (FCI).
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 |
SQL
Server 2019 |
Name
used by applications to connect |
SQL
Instance ID |
PRD01 |
SQL
Server 2019 |
SQL
Server instance name |
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.
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.
ipconfig /flushdns
ipconfig /registerdns
nbtstat –RR
Comments
Post a Comment