Re: Host ID.




On Sun, 8 Apr 2007, Dag-Erling Smørgrav wrote:

Pawel Jakub Dawidek <pjd@xxxxxxxxxxx> writes:
If we move disks with root file system, it's this more or less the same host, isn't it?

No. I recently installed three servers by replicating the disk from a fourth and changing the host name and IP address in rc.conf.

Yes, one of the nice properties of FreeBSD -- as opposed to, say, Windows, is that it's trivial to install a hundred boxes by dropping the same image onto all of them and configuring host-specific parameters using DHCP. But there is a tricky tension here: the notion of a persisting host ID is very useful, in the a similar way to the way in which a persisting SSH host key is useful. If we're going to adopt a host ID model, we may want to make generation and configuration of the host ID conditional on an explicit variable in rc.conf (i.e., hostid_enable="YES" which causes it to be generated the first time and loaded future times, similar to SSH keys), and make it very easy to force a regen. That way, you can image the boxes with the rc.conf setting set, but they don't generate host IDs until they boot the first time.

Robert N M Watson
Computer Laboratory
University of Cambridge_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"

Relevant Pages

  • Re: assessing winusb potential
    ... I am now pouring over a USB book but the issue is still not clear. ... What prevents the host from ... Please do not send e-mail directly to this alias. ... able to install downlevle (IIRC, ...
    (microsoft.public.development.device.drivers)
  • Re: assessing winusb potential
    ... I am now pouring over a USB book but the issue is still not clear. ... What prevents the host from ... Please do not send e-mail directly to this alias. ... able to install downlevle (IIRC, ...
    (microsoft.public.development.device.drivers)
  • Re: Virtual PC
    ... Once you install the trial software, make sure to change the date to some far distant time in the future to see if it might trigger on a date. ... You could unlock the snapshot to apply updates to Windows or your known good apps and then save another snapshot and then lock that one to prevent accidental pollution. ... if you do system/data backups of your host then you could just restore the VM's directory from your backups. ... I gave up it very quickly because it was clumsy, poorly documented, and I no longer have it in my download directory to look it up to know its name (but then I already had the free version of ShadowSurfer that did the same thing so I wasn't really motivated to find an alternate free "partition virtualizer" (http://wiki.castlecops.com/System_Partition_Virtualization_-_Comparison). ...
    (microsoft.public.windowsxp.general)
  • Re: Virtual PC
    ... Once you install the trial ... if you don't backup your host then you have ... So do you actually have a 2nd license of Windows XP (either a full ... free "partition virtualizer" ...
    (microsoft.public.windowsxp.general)
  • Re: Virtual PC
    ... Once you install the trial ... if you don't backup your host then you have ... So do you actually have a 2nd license of Windows XP (either a full ... use something like ShadowSurfer to return the system back to its prior ...
    (microsoft.public.windowsxp.general)