From owner-freebsd-questions@FreeBSD.ORG Fri Feb 9 16:04:58 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4234716A400 for ; Fri, 9 Feb 2007 16:04:58 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id ED43F13C4A7 for ; Fri, 9 Feb 2007 16:04:57 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l19G3LX8030611; Fri, 9 Feb 2007 11:03:21 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l19G3Kjb030610; Fri, 9 Feb 2007 11:03:20 -0500 (EST) (envelope-from jerrymc) Date: Fri, 9 Feb 2007 11:03:20 -0500 From: Jerry McAllister To: Grant Peel Message-ID: <20070209160320.GD30383@gizmo.acns.msu.edu> References: <00eb01c74c59$37db0790$6501a8c0@GRANT> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00eb01c74c59$37db0790$6501a8c0@GRANT> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Importing a server setup. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Feb 2007 16:04:58 -0000 On Fri, Feb 09, 2007 at 09:47:27AM -0500, Grant Peel wrote: > Hi all, > > I have a very good setup on a server that I would like to clone to a > brand new server, and an existing server. > > My plan is dependant on two things, feel free to comment on them if I > am missing something: > > 0. Make sure the machine to be cloned is using a generic kernel, and > ensure the SAS driver is enabled. > > 1. I will take complete dumps of all the file systems (less swap and > dev of course). These will be kept on a local machine that has > filesharing setup (another freebsd box). > > 2. a. I will boot the new box using FreeBSD 6.1 or 6.2 CD. > (How do I keep from entering sysinstall?) > b.Setup the new filesystems, > c. setup a local network IP and configure a network fileshare client > so I can get to the dumps, (this is doable, right?) > d. inport the stored data, and configure the machine specific > details (hostname, IP etc etc etc), > > Am I missing antything here? Yes. How do you plan to set up file systems and configure a network if you don't install anything? My suggestion is that you install FreeBSD 6.2 and only move locally created files to it. This is presuming the image you want to duplicate is at lower than 6.2. Anyway, you can use the fixit system from CD to create filesystems and then to restore the dumps which would give you an identical system on the new machine, including IP and hostname. You should then be able to turn off the old machine and boot the new one in its place. I would then modify the hostname and IP on the old machine rather than make the new server have the different name so those things that are looking to it as server do not need to be changed. As for setting up filesharing before installing a system, I can't say. I haven't used it. ////jerry > > -Grant > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >