Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Deploying SQL Server database backup into the new server environment with same name but different IP address

Posted on 2014-04-04
8
Medium Priority
?
341 Views
Last Modified: 2014-04-26
Hi People,

I'm in the process of migrating couple bunch of SQL Server 2005 Databases from the old hardware server into a virtual machine that I will be building with the exact same name but different IP address. (in other words it is using P2V (Physical to Virtual conversion).

Existing application connect by using Database2005 (IP 192.168.15.22), the new server will be the exact same name DATABASE2005 but with different IP 10.1.1.54.

How to make sure that the back end application can still talk to this newly created database without any issue ?

is there any caveats that I need to know or check before hand ?

Thanks in advance.
0
Comment
8 Comments
 
LVL 17

Assisted Solution

by:Kent Dyer
Kent Dyer earned 400 total points
ID: 39979625
Are these in the same forest of in AD?  Or, is this on your private network?

If you are dealing with the same forest in AD, your machine names will need to be different (DNS isssues, tombstones, etc.).

HTH..
0
 
LVL 143

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 800 total points
ID: 39979689
as long as the application connects to the server name, and not via the ip address, and as long as you also put in place the same logins/permissions the application uses, it will continue to work just fine.

the best way to know is to test this, with a DIFFERENT name, so you can review & test the application configuration with a test database/server ...
0
 
LVL 8

Author Comment

by:Senior IT System Engineer
ID: 39979712
Thanks kent,
the domain will still be the same only the AD site is different

Guy,
what do you mean by "as long as you also put in place the same logins/permissions" ?
does the Backup of the Database object in SQL Server 2005 also includes the Security & logins as well ?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 38

Assisted Solution

by:Mahesh
Mahesh earned 400 total points
ID: 39979761
I don't see any issue as long as your SQL server hostnames are same and configured in applications, U don't have to worry
Just ensure that DNS host(A) record points to correct IP in advance
Also if there is network \ software firewall in between SQL and application ensure that SQL static port (1433) or dynamic ports (If SQL is configured to listen on dynamic ports) are opened between SQL and application

You can check from application server whether connection to SQL is successful or not hopefully

Mahesh.
0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 800 total points
ID: 39979770
a backup of a database does only contain the USERS inside the database, but not the LOGINS (which are server-based).
so, you shall need to migrate the logins first, and after the restore you may need to "map" the user back to the login...
http://technet.microsoft.com/en-us/library/ms176060.aspx
ALTER USER ... WITH LOGIN ...
0
 
LVL 80

Assisted Solution

by:arnold
arnold earned 400 total points
ID: 39980720
Different AD site means separate/delegated?

To transfer login (sql server logins), http://support.microsoft.com/kb/918992
The issue deals with maintaining the same SIDs
sql server has logins and each database has the login account reference with the requisite security rights on the database.

The reference between the server login and the database account uses the SID.
0
 
LVL 8

Author Comment

by:Senior IT System Engineer
ID: 39980725
Arnold,

The different is referring to the AD site when you issue Nltest /dsgetsite command.
But the domain is still in the same name.
0
 
LVL 8

Author Closing Comment

by:Senior IT System Engineer
ID: 40024616
Thanks !
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

773 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