Solved

Redirecting Network File Paths

Posted on 2009-03-29
4
315 Views
Last Modified: 2012-06-27
Hello,

I am in the process of moving a considerable amount of files from one network to another.  I am using a series of control XML files to define the files that are being migrated from my old network.  My problem is that I will now need to import these files into the software I am using on my new network.  I would like to do this by referencing the control files I have already created, but the network files paths will be incorrect.  Changing these files paths manually or through an automated fashion, will be troublesome as the XML files are spread out of a wide range of directories containing nearly 50,000,000 assets.

So what I would like to do is implement some sort of logic at the system or network level that detects when a certain file path from my old network is called that it redirects the path to a path that works in my new network. So for example:

\\old_network_share\directory_0001

gets redirected to:

\\new_network_share\directory_0001

I thought there was a way to do this on Windows servers through the hosts file, but I can't figure it out.  Can someone please help me?

Thank you!
0
Comment
Question by:bgsullivan
  • 2
4 Comments
 
LVL 4

Expert Comment

by:freer
ID: 24012269
There's a Microsoft File Server Migration Toolkit that is meant to help with this scenario:

http://www.microsoft.com/windowsserver2003/upgrading/nt4/tooldocs/msfsc.mspx

There's also a KB article: http://support.microsoft.com/default.aspx?scid=kb;[LN];829885

Tim

0
 
LVL 4

Accepted Solution

by:
freer earned 500 total points
ID: 24012312
You can also try adding a second CNAME for the new server to match the old server. For this to work you must disable strict name checking, see:

http://support.microsoft.com/?kbid=281308

Tim
0
 
LVL 11

Expert Comment

by:mildurait
ID: 24012326
When you are talking about host's file, you are talking about resolving domain names.
Setting entries in the hostfile or dns resolve names to ip addresses.
So in theory using dns/hostsfile you could have the server named "old_network_address" resolve to the ip address that is now assigned to the server named "new_network_address".
But it would not be possible, as far as I am aware to resolve a network path name to an ip address because backslashes (\) are not legal characters in host names.
0
 

Author Closing Comment

by:bgsullivan
ID: 31564010
Sorry for the delay.  I wanted to test this from the office and then forgot about resolving the issue here.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

789 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