* [gentoo-server] binary kernel package
@ 2008-02-10 11:15 Thilo Bangert
2008-02-10 12:44 ` "Todd M. Hébert"
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Thilo Bangert @ 2008-02-10 11:15 UTC (permalink / raw
To: gentoo-server
[-- Attachment #1: Type: text/plain, Size: 588 bytes --]
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
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-server] binary kernel package
2008-02-10 11:15 [gentoo-server] binary kernel package Thilo Bangert
@ 2008-02-10 12:44 ` "Todd M. Hébert"
2008-02-10 14:58 ` Thilo Bangert
2008-02-10 18:59 ` Petteri Räty
2008-02-11 9:13 ` Ramon van Alteren
2 siblings, 1 reply; 13+ messages in thread
From: "Todd M. Hébert" @ 2008-02-10 12:44 UTC (permalink / raw
To: gentoo-server
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-server] binary kernel package
2008-02-10 12:44 ` "Todd M. Hébert"
@ 2008-02-10 14:58 ` Thilo Bangert
2008-02-10 16:26 ` "Todd M. Hébert"
0 siblings, 1 reply; 13+ messages in thread
From: Thilo Bangert @ 2008-02-10 14:58 UTC (permalink / raw
To: gentoo-server
[-- Attachment #1: Type: text/plain, Size: 932 bytes --]
"Todd M. Hébert" <todd@iil.ie> said:
> If the servers are all identical hardware,
they are not - and they are not in one datacenter either :-)
they also have many different purposes (db server, web node, load balancer
etc.)
sorry for not mentioning it.
the plan is to deploy generic (i686) stage4 images using quickstart. the
stage4 will roughly be a stage3 + puppet. puppet will then install and
configure the server according to its purpose.
i just can't seem to find a nice way to do the kernel image install.
> 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.
ahh, yes. /usr/src/linux - i'd almost forgot about that one...
what is it that i would need, only /usr/src/linux/include?
>
> I hope this is helpful.
it is - thanks!
regards
Thilo
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-server] binary kernel package
2008-02-10 14:58 ` Thilo Bangert
@ 2008-02-10 16:26 ` "Todd M. Hébert"
0 siblings, 0 replies; 13+ messages in thread
From: "Todd M. Hébert" @ 2008-02-10 16:26 UTC (permalink / raw
To: gentoo-server
If they are different hardware, then using the same kernel on them might not be a good idea. (Unless you're planning on using a genkernel & loading everything as modules, rather than going with a monolithic kernel.)
It sounds like a project that could end up being very complicated.
I'd probably make a base build for each hardware model, then use that to make a base-build for each server type (db etc..)
I'd end up with more base builds to deploy, but they'd still image over easily once built.
Good luck!
Thilo Bangert wrote:
> "Todd M. Hébert" <todd@iil.ie> said:
>> If the servers are all identical hardware,
>
> they are not - and they are not in one datacenter either :-)
> they also have many different purposes (db server, web node, load balancer
> etc.)
>
> sorry for not mentioning it.
>
> the plan is to deploy generic (i686) stage4 images using quickstart. the
> stage4 will roughly be a stage3 + puppet. puppet will then install and
> configure the server according to its purpose.
>
> i just can't seem to find a nice way to do the kernel image install.
>
>> 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.
>
> ahh, yes. /usr/src/linux - i'd almost forgot about that one...
> what is it that i would need, only /usr/src/linux/include?
>
>
>> I hope this is helpful.
>
> it is - thanks!
> regards
> Thilo
----- items below this line 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-server] binary kernel package
2008-02-10 11:15 [gentoo-server] binary kernel package Thilo Bangert
2008-02-10 12:44 ` "Todd M. Hébert"
@ 2008-02-10 18:59 ` Petteri Räty
2008-02-10 19:35 ` Todd Hebert
2008-02-11 9:13 ` Ramon van Alteren
2 siblings, 1 reply; 13+ messages in thread
From: Petteri Räty @ 2008-02-10 18:59 UTC (permalink / raw
To: gentoo-server
[-- Attachment #1: Type: text/plain, Size: 472 bytes --]
Thilo Bangert kirjoitti:
>
> 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...
>
You could write an ebuild installing a binary kernel to /boot
Regards,
Petteri
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-server] binary kernel package
2008-02-10 18:59 ` Petteri Räty
@ 2008-02-10 19:35 ` Todd Hebert
2008-02-10 19:54 ` Tom Grace
0 siblings, 1 reply; 13+ messages in thread
From: Todd Hebert @ 2008-02-10 19:35 UTC (permalink / raw
To: gentoo-server
Wow!
That's a Gentoo-minded admin. :)
That would be easy too.. make a tarball of the binary kernel, copy the
standard kernel ebuild and add a new section to drop the binaries in place
from the new tarball, then put the new ebuild in an overlay!
Petteri, that is one very elegant idea! Kudos! (I'll make note of it for
future kit rollouts myself!)
--Todd
-----Original Message-----
From: Petteri Räty <petteri.raty@saunalahti.fi>
To: gentoo-server@lists.gentoo.org
Date: Sun, 10 Feb 2008 20:59:46 +0200
Subject: Re: [gentoo-server] binary kernel package
> Thilo Bangert kirjoitti:
> >
> > 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...
> >
>
> You could write an ebuild installing a binary kernel to /boot
>
> Regards,
> Petteri
>
----- anything below this line is 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-server] binary kernel package
2008-02-10 19:35 ` Todd Hebert
@ 2008-02-10 19:54 ` Tom Grace
2008-02-11 4:03 ` RijilV
0 siblings, 1 reply; 13+ messages in thread
From: Tom Grace @ 2008-02-10 19:54 UTC (permalink / raw
To: gentoo-server
[-- Attachment #1: Type: text/plain, Size: 3069 bytes --]
Hi,
> 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?
Just curiosity, but what is the problem with doing a kernel compile on each
machine?
I was thinking could you config/make the kernel on one machine, then
.tar.bz2 up the whole /usr/src/linux directory, then just do the install
phase on the target machine?
Just wondering if there's a simple solution to this :)
On 10/02/2008, Todd Hebert <todd@iil.ie> wrote:
>
> Wow!
>
> That's a Gentoo-minded admin. :)
>
> That would be easy too.. make a tarball of the binary kernel, copy the
> standard kernel ebuild and add a new section to drop the binaries in place
> from the new tarball, then put the new ebuild in an overlay!
>
> Petteri, that is one very elegant idea! Kudos! (I'll make note of it for
> future kit rollouts myself!)
>
> --Todd
>
>
> -----Original Message-----
> From: Petteri Räty <petteri.raty@saunalahti.fi>
> To: gentoo-server@lists.gentoo.org
> Date: Sun, 10 Feb 2008 20:59:46 +0200
> Subject: Re: [gentoo-server] binary kernel package
>
> > Thilo Bangert kirjoitti:
> > >
> > > 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...
> > >
> >
> > You could write an ebuild installing a binary kernel to /boot
> >
> > Regards,
> > Petteri
> >
>
> ----- anything below this line is 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
>
>
--
I include the source code below for those who are masochistic enough to want
to explore it
[-- Attachment #2: Type: text/html, Size: 3955 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-server] binary kernel package
2008-02-10 19:54 ` Tom Grace
@ 2008-02-11 4:03 ` RijilV
0 siblings, 0 replies; 13+ messages in thread
From: RijilV @ 2008-02-11 4:03 UTC (permalink / raw
To: gentoo-server
[-- Attachment #1: Type: text/plain, Size: 3631 bytes --]
Might be alot of work, if you have a few hundred machines, having to go an
touch each of them to compile the kernel is going to be alot of work. Also,
it might be ideal not to have a compiler on all of these systems.
.r'
On 10/02/2008, Tom Grace <stonertom@gmail.com> wrote:
>
> Hi,
>
> > 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?
> Just curiosity, but what is the problem with doing a kernel compile on
> each machine?
> I was thinking could you config/make the kernel on one machine, then
> .tar.bz2 up the whole /usr/src/linux directory, then just do the install
> phase on the target machine?
>
> Just wondering if there's a simple solution to this :)
>
> On 10/02/2008, Todd Hebert <todd@iil.ie> wrote:
> >
> > Wow!
> >
> > That's a Gentoo-minded admin. :)
> >
> > That would be easy too.. make a tarball of the binary kernel, copy the
> > standard kernel ebuild and add a new section to drop the binaries in
> > place
> > from the new tarball, then put the new ebuild in an overlay!
> >
> > Petteri, that is one very elegant idea! Kudos! (I'll make note of it
> > for
> > future kit rollouts myself!)
> >
> > --Todd
> >
> >
> > -----Original Message-----
> > From: Petteri Räty <petteri.raty@saunalahti.fi>
> > To: gentoo-server@lists.gentoo.org
> > Date: Sun, 10 Feb 2008 20:59:46 +0200
> > Subject: Re: [gentoo-server] binary kernel package
> >
> > > Thilo Bangert kirjoitti:
> > > >
> > > > 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...
> > > >
> > >
> > > You could write an ebuild installing a binary kernel to /boot
> > >
> > > Regards,
> > > Petteri
> > >
> >
> > ----- anything below this line is 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
> >
> >
>
>
> --
> I include the source code below for those who are masochistic enough to
> want to explore it
[-- Attachment #2: Type: text/html, Size: 5025 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-server] binary kernel package
2008-02-10 11:15 [gentoo-server] binary kernel package Thilo Bangert
2008-02-10 12:44 ` "Todd M. Hébert"
2008-02-10 18:59 ` Petteri Räty
@ 2008-02-11 9:13 ` Ramon van Alteren
2008-02-11 18:25 ` Thilo Bangert
2 siblings, 1 reply; 13+ messages in thread
From: Ramon van Alteren @ 2008-02-11 9:13 UTC (permalink / raw
To: gentoo-server
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Thilo,
Thilo Bangert wrote:
| 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...
What's wrong with building your stage4 with catalyst and have it include
a kernel ?
We use catalyst to generate all our install images and catalyst uses
genkernel internally to include it in the image. Just specify which
kernel you'd like and provide a .config for it.
We've installed 1300 servers that way, I'll personally guarantee you
that it works :-D
Regards,
Ramon van Alteren
Teamlead System Engineering Hyves.nl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD8DBQFHsBG+wiVM6CtDHQ0RAuQqAJ9Skjom5EfV85IqW2rQei9fU62B7QCffMD8
vu8QqElvFhyc5OU2bTuYlIo=
=V5Mi
-----END PGP SIGNATURE-----
--
gentoo-server@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-server] binary kernel package
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 8:19 ` Ramon van Alteren
0 siblings, 2 replies; 13+ messages in thread
From: Thilo Bangert @ 2008-02-11 18:25 UTC (permalink / raw
To: gentoo-server
[-- Attachment #1: Type: text/plain, Size: 1307 bytes --]
Ramon van Alteren <ramon@vanalteren.nl> said:
> Hi Thilo,
>
> Thilo Bangert wrote:
> | 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...
>
> What's wrong with building your stage4 with catalyst and have it
> include a kernel ?
and what do you do after a weekend like this one: kernel upgrade on 1300
hosts?
but you are right - i somehow missed that possibility.
>
> We use catalyst to generate all our install images and catalyst uses
> genkernel internally to include it in the image. Just specify which
> kernel you'd like and provide a .config for it.
>
> We've installed 1300 servers that way, I'll personally guarantee you
> that it works :-D
:)
thats more than good enough for me.
Thanks!
>
> Regards,
>
> Ramon van Alteren
kind regards
Thilo
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-server] binary kernel package
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
1 sibling, 1 reply; 13+ messages in thread
From: Brandon Adams @ 2008-02-11 18:59 UTC (permalink / raw
To: gentoo-server
I woild assume that you would configure / build a new kernel for each
hardware spec in your farm in your test environment, verify there are
no glitches and then distibute the .config file to all servers and
cron a kernel build / installation.
The reboot required for the servers would then be done during that
server's maintenance window.
On 2/11/08, Thilo Bangert <bangert@gentoo.org> wrote:
> Ramon van Alteren <ramon@vanalteren.nl> said:
> > Hi Thilo,
> >
> > Thilo Bangert wrote:
> > | 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...
> >
> > What's wrong with building your stage4 with catalyst and have it
> > include a kernel ?
>
> and what do you do after a weekend like this one: kernel upgrade on 1300
> hosts?
>
> but you are right - i somehow missed that possibility.
>
> >
> > We use catalyst to generate all our install images and catalyst uses
> > genkernel internally to include it in the image. Just specify which
> > kernel you'd like and provide a .config for it.
> >
> > We've installed 1300 servers that way, I'll personally guarantee you
> > that it works :-D
>
> :)
> thats more than good enough for me.
> Thanks!
>
> >
> > Regards,
> >
> > Ramon van Alteren
>
> kind regards
> Thilo
>
--
[ Brandon Adams ]
bmadams at gmail dot com
--
gentoo-server@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-server] binary kernel package
2008-02-11 18:25 ` Thilo Bangert
2008-02-11 18:59 ` Brandon Adams
@ 2008-02-12 8:19 ` Ramon van Alteren
1 sibling, 0 replies; 13+ messages in thread
From: Ramon van Alteren @ 2008-02-12 8:19 UTC (permalink / raw
To: gentoo-server
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thilo Bangert wrote:
| Ramon van Alteren <ramon@vanalteren.nl> said:
|> What's wrong with building your stage4 with catalyst and have it
|> include a kernel ?
|
| and what do you do after a weekend like this one: kernel upgrade on 1300
| hosts?
What would you do ?
But yes if there's a kernel vurnerability that affects our environment
we upgrade kernels on all servers starting with the internet-facing ones.
Although the question is interesting I fail to see any relevance to
installing (or upgrading) kernels in a automated manner.
Actually I'd say that if you have a trusted and well-defined automated
way to build and install/upgrade kernels you're actually better off.
|> We use catalyst to generate all our install images and catalyst uses
|> genkernel internally to include it in the image. Just specify which
|> kernel you'd like and provide a .config for it.
|>
|> We've installed 1300 servers that way, I'll personally guarantee you
|> that it works :-D
|
| :)
| thats more than good enough for me.
Grin, no thanks.
It also helps in other ways: You gain repeatable image builds including
kernels so after a weekend like this one you can easily rebuild your
kernel + image and *just* distribute the updated kernel to your serverpark.
Ramon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD8DBQFHsVaqwiVM6CtDHQ0RAgLmAJwJ9J1mQ2rPkRgndy0RFQ2SQX7IxACfV0oV
ntczcCCNwpd2xuqxKUnx1mI=
=9kGM
-----END PGP SIGNATURE-----
--
gentoo-server@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-server] binary kernel package
2008-02-11 18:59 ` Brandon Adams
@ 2008-02-12 9:45 ` Ramon van Alteren
0 siblings, 0 replies; 13+ messages in thread
From: Ramon van Alteren @ 2008-02-12 9:45 UTC (permalink / raw
To: gentoo-server
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Brandon Adams wrote:
| I woild assume that you would configure / build a new kernel for each
| hardware spec in your farm in your test environment, verify there are
| no glitches and then distibute the .config file to all servers and
| cron a kernel build / installation.
I'd say that depends on your idea of kernel building.
We prefer a general kernel with static drivers for crucial
hardware/option and module drivers for non-crucial hardware/options
Combined with module autoloading this allows for a flexible system with
little overhead.
I know that there are several people in the security community that
advertise disabling module-loading, however consider the problems you're
in if someone is actually able to load modules on one of your servers.
| The reboot required for the servers would then be done during that
| server's maintenance window.
We're currently researching if we can reduce the maintenance down-time
for kernel reloading by using kexec. On large memory servers and
scsi/raid controllers bios re-initialization can easily take up to 10
minutes. (that's pre-bootloader)
Ramon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD8DBQFHsWqtwiVM6CtDHQ0RAujCAJkB4lBFyxLTfIcGI1Iwfx1k8b5AOgCbBrrk
SJIlqHBVcFsfx4VVcFoEdRU=
=ZdJY
-----END PGP SIGNATURE-----
--
gentoo-server@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2008-02-12 9:45 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-10 11:15 [gentoo-server] binary kernel package Thilo Bangert
2008-02-10 12:44 ` "Todd M. Hébert"
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox