If the servers are all identical hardware, I would just build one machine, then
boot each other box off a live CD, and dd the contents of the entire
drive/array over. (You could do this partition by partition as well.. but if
you do the whole drive/array you only have to do it once.)
dd if=/dev/<DRIVE/ARRAY> | ssh [EMAIL PROTECTED] "dd of=/dev<DRIVE/ARRAY>"
That should do it. (as long as the hardware is identical.) Of course.. it will take time to
transfer, and you'll have to change the IP's & hostname of each server. This is a lot like
making & deploying a GHOST image.. it's just skipping the "make" part and moving
right to deploy. You could also send it to a file, then DD the file into place on each host from
a DVD if they're small enough (or bzip2 compress them to see if they can be made to fit.)
If you're doing machines that aren't identical, but you can use a standard
structure for most disk elements (same size /boot, /, /var, /usr, etc..) you
can build one machine, create an image for each of the standard partitions, and
dd those over.
You could create a tarball that has the kernel, including /boot, /usr/src,
/lib/modules etc.., but you might not end up with world files that are in-step
with what's actually on the machine.
I hope this is helpful.
--Todd
Thilo Bangert wrote:
Hi guys,
in the near future i am looking at installing gentoo onto a number of
hosts. i already have a buildhost preparing binary packages for the
clients - one of the missing pieces is the kernel install.
i'd like to avoid having to compile a kernel on each and every host. how
do you install a prebuilt kernel onto the host, fx. after having deployed
a stage4 using quickstart? the best thing i can come up with is writing
my own custom script, which pulls a tarball via http. the tarball has the
modules, the initrd and the kernel...
thanks.
kind regards
Thilo
----- Items below this line are required under Irish law. -----
**********************************************************************
"Private Confidential & Privileged"
This Email and any files and attachments transmitted with it are
confidential and/or privileged. They are intended solely for
the use of the intended recipient. Any views and opinions expressed
are those of the individual author/sender and are not necessarily
shared or endorsed by Independent Newspapers (Ireland) Limited or any
associated or related company. The content of this Email and any file
or attachment transmitted with it may have been changed or altered
without the consent of the author. If you are not the intended
recipient, please note that any review, dissemination, disclosure,
alteration, printing, circulation or transmission of this Email and/or
any file or attachment transmitted with it, is prohibited and may be
unlawful. If you have received this Email or any file attachment
transmitted with it in error, please notify [EMAIL PROTECTED] or contact
Systems Administrator Tel: +353 (1) 411 2244
Internet Interaction Limited
3050 Lake Drive, Citywest digital Park, Co Dublin
CRO # 247783
--
[email protected] mailing list