From owner-freebsd-arch@FreeBSD.ORG Mon Apr 9 22:15:36 2007 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5EF0116A400 for ; Mon, 9 Apr 2007 22:15:36 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outR.internet-mail-service.net (outR.internet-mail-service.net [216.240.47.241]) by mx1.freebsd.org (Postfix) with ESMTP id 47C5E13C457 for ; Mon, 9 Apr 2007 22:15:36 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Mon, 09 Apr 2007 14:33:53 -0700 Received: from [10.251.22.38] (nat.ironport.com [63.251.108.100]) by idiom.com (Postfix) with ESMTP id E051F125AF7; Mon, 9 Apr 2007 15:04:27 -0700 (PDT) Message-ID: <461AB86C.3080308@elischer.org> Date: Mon, 09 Apr 2007 15:04:28 -0700 From: Julian Elischer User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: <20070407120656.GD63916@garage.freebsd.pl> <20070408151358.GX63916@garage.freebsd.pl> <200704091335.42092.jkim@FreeBSD.org> <20070409190743.GL76673@garage.freebsd.pl> <47d0403c0704091338p4c6476fey5d90e0dfb3a50cbf@mail.gmail.com> <86odlxcj0i.fsf@dwp.des.no> In-Reply-To: <86odlxcj0i.fsf@dwp.des.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Pawel Jakub Dawidek , Ben Kaduk , freebsd-arch@freebsd.org Subject: Re: Host ID. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Apr 2007 22:15:36 -0000 Dag-Erling Smørgrav wrote: > "Ben Kaduk" writes: >> Pawel Jakub Dawidek writes: >>> I don't agree. As Robert pointed out there are situation you would >>> like to share the same UUID between many hosts. >> This may be a bit pedantic, but I thought the case Robert described >> was for a way to have an identical setup on many machines but still >> allow for having a different UUID on each one. > > If a host is a hot spare for another, you might want it to have the > same UUID as the primary. > > Reading the UUID from hardware is fine as long as it is only done when > initializing /hostid on a system which does not already have it. > > (any particular reason to store it in /hostid instead of /etc/hostid?) I prefer /etc/hostid with rc scripts that ask for one (with easy default) if there isn't one, and something you can set in an image to say "don't ask.. just use what the hardware suggests". My favourite place is just in /etc/rc.conf.... rc.conf use_hw_hostid="yes" # don't prompt the user if one is not already defined alternatively for a machine that is going to replace one already in service.... hostid_override="xcxcxcxcxcxcxc" # temporarily Use this value > > DES