From owner-freebsd-questions@FreeBSD.ORG Thu Feb 28 16:16:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F38AE1065670 for ; Thu, 28 Feb 2008 16:16:29 +0000 (UTC) (envelope-from raggen@passagen.se) Received: from av9-2-sn2.hy.skanova.net (av9-2-sn2.hy.skanova.net [81.228.8.180]) by mx1.freebsd.org (Postfix) with ESMTP id 7A69B8FC21 for ; Thu, 28 Feb 2008 16:16:29 +0000 (UTC) (envelope-from raggen@passagen.se) Received: by av9-2-sn2.hy.skanova.net (Postfix, from userid 502) id B74F838AE8; Thu, 28 Feb 2008 17:16:27 +0100 (CET) Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av9-2-sn2.hy.skanova.net (Postfix) with ESMTP id 9CF4C38AE5; Thu, 28 Feb 2008 17:16:27 +0100 (CET) Received: from [192.168.1.31] (90-230-141-139-no41.tbcn.telia.com [90.230.141.139]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id 515FE37E76; Thu, 28 Feb 2008 17:16:27 +0100 (CET) Message-ID: <47C6DE56.7000808@passagen.se> Date: Thu, 28 Feb 2008 17:16:22 +0100 From: Roger Olofsson User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: FreeBSD-Utah References: <173107.60129.qm@web50301.mail.re2.yahoo.com> In-Reply-To: <173107.60129.qm@web50301.mail.re2.yahoo.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Mirroring / Cloning FreeBSD System 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: Thu, 28 Feb 2008 16:16:30 -0000 FreeBSD-Utah skrev: > I have a question on how to mirror a FreeBSD > installation / system. > > This environment will have two identical / separate > systems referred to as “System A” and “System B” > > - I want to install FreeBSD on to “System A” > - Once that installation is complete with selected > ports and custom applications, I want to make an exact > duplicate of “System A” on “System B” > > I don’t want to do this with drives in the same > system, rather I would like to “clone” “System A” > > Also, it would be nice to be able to do this as a > “mirroring” solution to keep a clone over time of the > system in the case of failure of either “System A” or > “System B” > > Is this possible to do? If so, any direction on how I > would do this would be welcome. > > Is there a port / application that enables this? > > Thank you in advance! > > > > ____________________________________________________________________________________ > Never miss a thing. Make Yahoo your home page. > http://www.yahoo.com/r/hs > _______________________________________________ > 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" > > I use rsync to mirror and freevrrpd for failover via heartbeat. Freevrrpd should be in ports. Freevrrpd gives both systems the same virtual ip so you will need to avoid rsyncing the configuration file for it. There is a nice feature that makes you trigger a script when one system goes down to initialize configurations on the system taking over. Mind you, if you are using firewall as part of the system you will need to alias the interfaces and use dns names in configuration files. Just my nickels worth /R