dbTalk Databases Forums  

SQL Server 2000 Virtual Server Renaming

microsoft.public.sqlserver.clustering microsoft.public.sqlserver.clustering


Discuss SQL Server 2000 Virtual Server Renaming in the microsoft.public.sqlserver.clustering forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
BarryLynch
 
Posts: n/a

Default Re: SQL Server 2000 Virtual Server Renaming - 07-30-2004 , 03:42 AM






Hi Uttam et al
Uttam, well done for putting the work in. We are agreed then!!
Another clustering old wives tale finally put to rest maybe.

I am going to do this for real in about an hour so I will report back.
Many thanks

Barry Lynch

"Luca Bianchi" <rightjoinREMOVE_THIS (AT) hotmail (DOT) com> wrote

Quote:
BarryLynch wrote:
Hi All
Client has decided they want to rename the Virtual SQL Server from
(lets say) SQLA to SQLB.

To avoid to reinstall the server, could you set an alias on your DNS server?
In this way your client can connect to SQL Server with both SQLA or SQLB

Thanks in advance

Barry

Bye

Reply With Quote
  #12  
Old   
BarryLynch
 
Posts: n/a

Default Re: OK then - the outcome - 07-30-2004 , 04:58 AM






Hi All

Ok then I reinstalled SQL Server yesterday evening and decided to go
for it this morning.
In the end I didn't even restore master I just stopped sql Server
service renamed the SQLB Data folder to xData and copied in the SQLA
data folder containing all the original systems databases and log
files from the SQLA install which I had copied before uninstalling
(just need to stop SQL first)

I then restarted the SQL server service and did a select @@Servername
It returned, as expected SQLA
then it was...
sp_dropserver 'SQLA'
sp_addserver 'SQLB', local
Stop the SQL service
Restart SQL Service
select @@servername now equals 'SQLB' as planned

Failed over to Node 2 sucessfully
select @@servername on node 2 equals 'SQLB' as expected
Failed back to Node 1 successfully
All databases on line and tested logins functional.

QED ;-)

If any problems do arise you can rest assured I will post them. Right
now though (for a little while at least) I'm feeling pleased with
myself - this saved me a lot of work.

Comments welcomed

Barry Lynch

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.