Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2003 11:53:18 -0500
From:      Chuck Swiger <cswiger@mac.com>
To:        freebsd-isp@FreeBSD.ORG
Subject:   Re: preconfiguring servers / changing IP addresses
Message-ID:  <3E6CC2FE.3070606@mac.com>
In-Reply-To: <DBEIKNMKGOBGNDHAAKGNMEEAJPAB.dave@hawk-systems.com>
References:  <DBEIKNMKGOBGNDHAAKGNMEEAJPAB.dave@hawk-systems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dave [Hawk-Systems] wrote:
> We are configuring a bunch (8) of servers for installation in the datacenter.
> The setup at the office uses an entirely seperate IP block than the datacenter.
> Is there an easy way to configure the servers with the IP address informatin for
> the office, than change all the IP addresses once it is installed in the
> datacenter (without hunting down all the specific IP addresses littered thruout
> the system in djbdns, qmail, etc...).

/etc/rc.conf and /etc/hosts contain most of the data which would change, 
although if you've installed other software that depends on the hosts IP 
address, you'll have to deal with that in addition, yourself.

> We are also going to be moving servers from one datacenter to another next month
> and will be running into a similar problem, having to ensure that all IP
> addresses that are on the servers are changed/updated.
> 
> Any high-speed method of accomplishing this or is it dig and replace for each
> server?

You can use scp to push a common /etc/hosts file, and can make minor 
changes to the /etc/rc.conf file per machine without much effort.  It 
would be reasonable to renetwork these 8 machines by hand in less than 
10 minutes; is that "high-speed"?

-Chuck


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E6CC2FE.3070606>