Solved

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

Posted on 2014-04-04
8
335 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 100 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 142

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 200 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 7

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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 36

Assisted Solution

by:Mahesh
Mahesh earned 100 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 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 200 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 77

Assisted Solution

by:arnold
arnold earned 100 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 7

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 7

Author Closing Comment

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

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

821 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