Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Alias name for SQL server

Posted on 2010-08-23
6
Medium Priority
?
426 Views
Last Modified: 2013-12-05
We have an old WIndows 2000/SQL2000 server that runs one custom program we still need. The frontend installed on our XP/WIn7 boxes points to this SQL server to make the program work. I can export the db and import it into SQL 2008 but the clients will not be looking for this new server since it has a different name. There is no ODBC connection to change and I do not have the source code for the frontend to tweak where it is looking.

Is there some way in AD/DNS to have the old server name aliased to the new server so the frontend still works. I am assuming that the code looks at the server name and not the IP address.
0
Comment
Question by:LarryDAH
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 3

Expert Comment

by:shawnmstout
ID: 33505839
couldnt you simply rename the 2 machines, this would be the simplest way under the computer name, it might require you to delete and re-add the machine from active directory.

also you could change the ip addresses as well and switch them around
0
 
LVL 13

Accepted Solution

by:
SagiEDoc earned 2000 total points
ID: 33508059
In DNs create a new Alias (CNAME) entry. Put the old server name in and point it to the new SQL 2008 server.
0
 

Author Comment

by:LarryDAH
ID: 33510708
shawnmstout: I thought of that but we changed our server naming convention and the old name style something we are getting away from. We can do that as a last resort, the problem with that is the new SQL 2008 server is up and running with other db on it and I am not sure what a name change would do to it.

saqiedoc: I will try your suggestion and see if that works.
0
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 13

Expert Comment

by:SagiEDoc
ID: 33518317
It's never a good idea to rename a SQL server, but it can be done just follow this:
http://msdn.microsoft.com/en-us/library/ms143799.aspx
Leaving the name unchanged and adding a DNS alias will work, I have done this several times in the past.
0
 

Author Comment

by:LarryDAH
ID: 33562699
I assume that when I make the CNAME and point it to the new SQL server that I need to shut down the old one so DNS does not get confused as to which one is correct...
0
 

Author Closing Comment

by:LarryDAH
ID: 33586988
This sounds like the best solution, will do it this weekend.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question