The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Script runs fine on UNIX Server...Not through MSK Tool kit on Windows Server madhunk UNIX for Dummies Questions & Answers 5 01-31-2008 12:30 PM
Unix and Windows Server 2003 italia UNIX for Dummies Questions & Answers 1 03-01-2007 10:09 PM
VPN client (windows Box),and Server (Unix Box) zillah UNIX for Advanced & Expert Users 0 05-10-2005 03:10 AM
Windows Client Vs Unix Server? collins High Level Programming 0 10-05-2004 10:49 PM
Windows Server 2k3 vs. Unix CapsuleCorpJX UNIX for Dummies Questions & Answers 1 08-08-2004 05:21 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-26-2008
Registered User
 

Join Date: Sep 2007
Location: AIX-VILLE
Posts: 84
Changing windows server alias name on windows or unix?

My situation is that we have production unix scripts that ftp files over to a windows server. I'm not sure if its a 2000 or 2003 server as I dont work on server, more on the unix side. It turns out that they are changing servers on the network. So they are migrating our data over from say Server 1 to Server 2. This will cause us to have to change our scripts to now point to Server 2. Is there anyway that a systems admin on their side can create an alias/pointer name to Server 2 using the Server 1 name, so in conclusion we wouldnt have to change our unix scripts. Or can we create an alias on the unix side to point to Server 2 where any script would reference Server 1? Thanks in advance.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-26-2008
Registered User
 

Join Date: Mar 2008
Posts: 7
I'm not sure, if I understand you clearly.

If there is hostname usage in scripts (DNS names) you could use "/etc/hosts" file (or equivalent) on your server to override hostname <-> IP assignment:
Code:
#/etc/hosts

IP.ADDRESS.OF.SERVER2    Server1
The disadvantage of this resolution is that physical Server1 will be not accessible via DNS name.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Bookmarks

Tags
None

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:




All times are GMT -4. The time now is 08:29 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66