public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
From: "\"Todd M. Hébert\"" <todd@iil.ie>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] binary kernel package
Date: Sun, 10 Feb 2008 12:44:44 +0000	[thread overview]
Message-ID: <47AEF1BC.8060906@iil.ie> (raw)
In-Reply-To: <200802101215.14304.bangert@gentoo.org>

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 root@host "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 support@iil.ie or contact
Systems Administrator Tel:  +353 (1) 411 2244
Internet Interaction Limited
3050 Lake Drive, Citywest digital Park, Co Dublin
CRO # 247783


-- 
gentoo-server@lists.gentoo.org mailing list



  reply	other threads:[~2008-02-10 12:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-10 11:15 [gentoo-server] binary kernel package Thilo Bangert
2008-02-10 12:44 ` "Todd M. Hébert" [this message]
2008-02-10 14:58   ` Thilo Bangert
2008-02-10 16:26     ` "Todd M. Hébert"
2008-02-10 18:59 ` Petteri Räty
2008-02-10 19:35   ` Todd Hebert
2008-02-10 19:54     ` Tom Grace
2008-02-11  4:03       ` RijilV
2008-02-11  9:13 ` Ramon van Alteren
2008-02-11 18:25   ` Thilo Bangert
2008-02-11 18:59     ` Brandon Adams
2008-02-12  9:45       ` Ramon van Alteren
2008-02-12  8:19     ` Ramon van Alteren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47AEF1BC.8060906@iil.ie \
    --to=todd@iil.ie \
    --cc=gentoo-server@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox