From owner-freebsd-stable@FreeBSD.ORG Thu Jul 21 22:14:04 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2168D16A42A for ; Thu, 21 Jul 2005 22:14:04 +0000 (GMT) (envelope-from karl@FS.denninger.net) Received: from FS.denninger.net (wsip-68-15-213-52.at.at.cox.net [68.15.213.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CFEE43DCF for ; Thu, 21 Jul 2005 22:13:25 +0000 (GMT) (envelope-from karl@FS.denninger.net) Received: from fs.denninger.net (localhost [127.0.0.1]) by FS.denninger.net (8.13.3/8.13.1) with SMTP id j6LMDPKA064919 for ; Thu, 21 Jul 2005 17:13:25 -0500 (CDT) (envelope-from karl@FS.denninger.net) Received: from fs.denninger.net [127.0.0.1] by Spamblock-sys (LOCAL); Thu Jul 21 17:13:25 2005 Received: (from karl@localhost) by FS.denninger.net (8.13.3/8.13.1/Submit) id j6LMDPai064917 for freebsd-stable@freebsd.org; Thu, 21 Jul 2005 17:13:25 -0500 (CDT) (envelope-from karl) Date: Thu, 21 Jul 2005 17:13:25 -0500 From: Karl Denninger To: freebsd-stable@freebsd.org Message-ID: <20050721221325.GA64851@FS.denninger.net> Mail-Followup-To: freebsd-stable@freebsd.org References: <42DFF582.1050406@unixforge.net> <20050721211305.GC10821@aoi.wolfpond.org> <010f01c58e3e$28458b50$37cba1cd@emerytelcom.com> <42E01BB3.1040801@unixforge.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42E01BB3.1040801@unixforge.net> User-Agent: Mutt/1.4.2.1i Organization: Karl's Sushi and Packet Smashers X-Die-Spammers: Spammers cheerfully broiled for supper and served with ketchup! Subject: Re: Machine Replication X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 22:14:04 -0000 Yep. Pretty much what I used to do with my ISP. -- -- Karl Denninger (karl@denninger.net) Internet Consultant & Kids Rights Activist http://www.denninger.net My home on the net - links to everything I do! http://scubaforum.org Your UNCENSORED place to talk about DIVING! http://homecuda.com Emerald Coast: Buy / sell homes, cars, boats! http://genesis3.blogspot.com Musings Of A Sentient Mind On Thu, Jul 21, 2005 at 03:03:31PM -0700, Eli K. Breen wrote: > I should point out, this is for replication in a running production > environment. Machines cannot be taken down, and swapping hardware is not > an option. > > I'm currently experimenting with a copy of the MBR, and the root > partition on a CD, with enough tools to attach to the network to > retrieve images of the rest of the partitions (which can be taken as > current snapshots from various servers). > > This _should_ result in the following scenario: > > Boot new machine with CD > partition drive(s) > dump MBR > dump root > ssh foo@server 'dump -C 64 -0af - /sliceX'| (cd /usr; restore -rf -) > [repeat above for all drives, could be automated] > > Seem reasonable? > > -E- > > > Elliot Finley wrote: > >----- Original Message ----- > >From: "Francois Tigeot" > > > >>On Thu, Jul 21, 2005 at 12:20:34PM -0700, Eli K. Breen wrote: > >> > >>>Does anyone have a good handle on how to replicate (read: image) a > >>>freebsd machine from one machine to an ostensibly similar machine? > >> > >>[...] > >> > >> > >>>Now whether my details are a bit off, that's fine, I don't want this to > >>>be diluted in to discussion of minute frivolous details (as these > >>>things > >>>are wont to do), but what I _am_ looking for is a tried, tested and > >>>true > >>>method of FreeBSD machine replication, specifically for the 5.3+ > > > >releases. > > > >>I have found the following paper to be incredibly usefull : > >> > >>http://www.pix.net/software/pxeboot/archive/SANE.pdf > >> > >>I used some of the ideas in it to clone machines in the 5.1-5.2 era. > > > > > >You could also just mirror the drive with a Promise RAID 1 card. I've > >done > >that a couple of times and it works really well. > > > >Elliot > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > > %SPAMBLOCK-SYS: Matched [@freebsd.org+], message ok