From owner-freebsd-isp Mon Mar 10 8:53:23 2003 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85F3037B401 for ; Mon, 10 Mar 2003 08:53:22 -0800 (PST) Received: from pop015.verizon.net (pop015pub.verizon.net [206.46.170.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C9A443FBD for ; Mon, 10 Mar 2003 08:53:21 -0800 (PST) (envelope-from cswiger@mac.com) Received: from mac.com ([129.44.42.236]) by pop015.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030310165320.XOGY14460.pop015.verizon.net@mac.com> for ; Mon, 10 Mar 2003 10:53:20 -0600 Message-ID: <3E6CC2FE.3070606@mac.com> Date: Mon, 10 Mar 2003 11:53:18 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-isp@FreeBSD.ORG Subject: Re: preconfiguring servers / changing IP addresses References: In-Reply-To: X-Enigmail-Version: 0.73.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at pop015.verizon.net from [129.44.42.236] at Mon, 10 Mar 2003 10:53:20 -0600 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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