Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Rename Virtual Server

Author  Topic 

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2010-08-31 : 13:24:50
I am going to rename a clustered instance (default).

1. Change SQL Network Name
2. Take offline
3. Bring online
4. Flush DNS, Cache
5. Test failover
6. Rebuild replication publications/subscriptions

Am I missing anything?

What about SPN...does that need to be re-registered?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-08-31 : 13:33:15
If you are using Windows 2008, then yes you'll need to handle the SPN. Have the SPN prepped ahead of time in the AD.

We recently renamed our virtual server on one of our Windows 2008 clusters. We had the AD team add the SPN ahead of time. We ran "setspn -L domain\user" before our work to ensure it was setup properly. Then when we were ready for the switcheroo, we followed the procedure you have listed, which is the same as what BOL shows.

Our SQL service account does not have access in the AD to add/drop SPNs, hence the reason why our AD team does it for us.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2010-08-31 : 13:47:35
Thanks Tara. Same with us, always have Network/AD team set our SPNs -- not going to allow SQL Service to be domain admin . Since I never renamed a virtual server, thought I'd best run it out here in case of any "gotchas" Thank you
Go to Top of Page

Jim Beam
Posting Yak Master

137 Posts

Posted - 2011-01-01 : 20:31:51
SPN ??
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-01-01 : 20:37:06
http://msdn.microsoft.com/en-us/library/ms677949(v=vs.85).aspx

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2011-01-01 : 23:48:31
By the way, this went almost flawlessly. DTC (on a different server) failed after the rename. I had forgotten and failed to notice that we enlist the DTC from a web app -- meaning that the web server and SQL server participate -- yeah, bad idea, and it turns out, unnecessary in this case, but is something to be on the lookout for if anyone runs into this.
Go to Top of Page
   

- Advertisement -