Re: More details on system imaging -- livecd based proposal

2008-10-08 Thread Andrew Brown
I got some more things to work. To solve the issue of the netboot loop, here's what I did. Let me know if this solution is to "hacky" Since the machine booting doesn't inherently know the cobbler server or even its own name, I have it look at the kernel command line for the kickstart file. It th

Re: More details on system imaging -- livecd based proposal

2008-10-01 Thread Michael DeHaan
Andrew Brown wrote: > > > On Wed, Oct 1, 2008 at 3:52 PM, Michael DeHaan <[EMAIL PROTECTED] > > wrote: > > > When you make these changes, you can use "git-format-patch" to send a > diff back of the changes you are making to base.cfg, that way we can > keep the

Re: More details on system imaging -- livecd based proposal

2008-10-01 Thread Andrew Brown
On Wed, Oct 1, 2008 at 3:52 PM, Michael DeHaan <[EMAIL PROTECTED]> wrote: > > When you make these changes, you can use "git-format-patch" to send a > diff back of the changes you are making to base.cfg, that way we can > keep the code all in one place and others who are interested can look at > th

Re: More details on system imaging -- livecd based proposal

2008-10-01 Thread Michael DeHaan
Andrew Brown wrote: > I figured out why the machines weren't being rebooted, It was > something to do with not unmounting the nfs share before issuing the > shutdown command. I added in lines to unmount the nfs share, and now > the reboot goes smoothly. > > The only thing left in this equation

Re: More details on system imaging -- livecd based proposal

2008-10-01 Thread Michael DeHaan
Andrew Brown wrote: > On Tue, Sep 30, 2008 at 3:14 PM, Michael DeHaan <[EMAIL PROTECTED] > > wrote: > > > > the cloner-live-cd.iso is a live cd built from the fedora > > livecd-tools. You use the base.cfg along with the build.py script > > that I think I post

Re: More details on system imaging -- livecd based proposal

2008-10-01 Thread Michael DeHaan
[EMAIL PROTECTED] wrote: >> Indeed. I know of one particular installation that was installing >> 200-300 nodes at once and kickstart >> was still rather zippy (15 minutes or so), without a mirror. >> Unless you >> are seeing time problems this way, I'd go >> the kickstart route, and then if you

Re: More details on system imaging -- livecd based proposal

2008-10-01 Thread Andrew Brown
I figured out why the machines weren't being rebooted, It was something to do with not unmounting the nfs share before issuing the shutdown command. I added in lines to unmount the nfs share, and now the reboot goes smoothly. The only thing left in this equation is getting it to disable netboot I

Re: More details on system imaging -- livecd based proposal

2008-10-01 Thread Andrew Brown
On Tue, Sep 30, 2008 at 3:14 PM, Michael DeHaan <[EMAIL PROTECTED]> wrote: > > > the cloner-live-cd.iso is a live cd built from the fedora > > livecd-tools. You use the base.cfg along with the build.py script > > that I think I posted somewhere earlier in this thread to generate > > it. Then use

Re: More details on system imaging -- livecd based proposal

2008-10-01 Thread Ben Riggs
mark > > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Michael > DeHaan > Sent: Tuesday, September 30, 2008 3:00 PM > To: cobbler mailing list > Subject: Re: More details on system imaging -- livecd ba

RE: More details on system imaging -- livecd based proposal

2008-10-01 Thread khan_don
> Indeed. I know of one particular installation that was installing > 200-300 nodes at once and kickstart > was still rather zippy (15 minutes or so), without a mirror. > Unless you > are seeing time problems this way, I'd go > the kickstart route, and then if you /are/ seeing time problems then

Re: More details on system imaging -- livecd based proposal

2008-09-30 Thread Michael DeHaan
seth vidal wrote: > On Tue, 2008-09-30 at 16:21 -0400, [EMAIL PROTECTED] wrote: > >> I would love to use kickstart but my peers are directing me to use >> images. The perception is that images would deploy faster than >> kickstart. Has anyone on this list done any performance measurements of >>

RE: More details on system imaging -- livecd based proposal

2008-09-30 Thread seth vidal
On Tue, 2008-09-30 at 16:21 -0400, [EMAIL PROTECTED] wrote: > I would love to use kickstart but my peers are directing me to use > images. The perception is that images would deploy faster than > kickstart. Has anyone on this list done any performance measurements of > images verses kickstart or ju

RE: More details on system imaging -- livecd based proposal

2008-09-30 Thread khan_don
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael DeHaan Sent: Tuesday, September 30, 2008 3:00 PM To: cobbler mailing list Subject: Re: More details on system imaging -- livecd based proposal [EMAIL PROTECTED] wrote: > Hi Andrew, > > I'm very interested in using this fu

Re: More details on system imaging -- livecd based proposal

2008-09-30 Thread Michael DeHaan
> > By the way, I read the instructions on the wiki but could not > figure out where to get the cloner-live-cd.iso. Is this just the > Fedora Live iso? > > > the cloner-live-cd.iso is a live cd built from the fedora > livecd-tools. You use the base.cfg along with the build.py s

Re: More details on system imaging -- livecd based proposal

2008-09-30 Thread Michael DeHaan
- > *From:* [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] *On Behalf Of *Andrew > Brown > *Sent:* Tuesday, September 30, 2008 12:08 PM > *To:* cobbler mailing list > *Subject:* Re: More details on system imaging -- livecd based proposal >

Re: More details on system imaging -- livecd based proposal

2008-09-30 Thread Andrew Brown
On Tue, Sep 30, 2008 at 1:00 PM, <[EMAIL PROTECTED]> wrote: > Hi Andrew, > > I'm very interested in using this functionality to deploy a large number of > systems for a datacenter project that I am working on. I do have some ideas > for functionality in case you might be interested. > > 1. Since

RE: More details on system imaging -- livecd based proposal

2008-09-30 Thread khan_don
Sent: Tuesday, September 30, 2008 12:08 PM To: cobbler mailing list Subject: Re: More details on system imaging -- livecd based proposal Michael, I made a few changes to my script. I changed the kernel parameter from being "save" or "load" to "cloneraction=save"

Re: More details on system imaging -- livecd based proposal

2008-09-30 Thread Andrew Brown
Michael, I made a few changes to my script. I changed the kernel parameter from being "save" or "load" to "cloneraction=save" or "cloneraction=load". That way it inherits properly with cobbler profiles and such. Testing things out, it seems to work very well with cobbler. I have my distro set u

Re: More details on system imaging -- livecd based proposal

2008-09-11 Thread Andrew Brown
On Thu, Sep 11, 2008 at 9:03 PM, Michael DeHaan <[EMAIL PROTECTED]> wrote: > > I think trying to do this securely in the NFS realm is going to be > difficult if not impossible, indeed. > > Maybe we just document it with scary blinking lights on the page that > (when using this feature) it's very e

Re: More details on system imaging -- livecd based proposal

2008-09-11 Thread Michael DeHaan
Andrew Brown wrote: > > > On Thu, Sep 11, 2008 at 1:22 PM, Michael DeHaan <[EMAIL PROTECTED] > > wrote: > > Excellent. Glad to see this is still going on.I've added this to > "/contrib" in Cobbler's git and will go about testing this shortly (as > in nex

Re: More details on system imaging -- livecd based proposal

2008-09-11 Thread Andrew Brown
On Thu, Sep 11, 2008 at 1:22 PM, Michael DeHaan <[EMAIL PROTECTED]> wrote: > Excellent. Glad to see this is still going on.I've added this to > "/contrib" in Cobbler's git and will go about testing this shortly (as > in next thing I do here). > > Yes, moving to something a bit smarter than d

Re: More details on system imaging -- livecd based proposal

2008-09-11 Thread Michael DeHaan
Andrew Brown wrote: > > > On Thu, Sep 11, 2008 at 1:38 PM, Michael DeHaan <[EMAIL PROTECTED] > > wrote: > > > This file also came across without a GPL license header. Can you > please > add one (GPLv2+) as found on the other cobbler files or otherwise > r

Re: More details on system imaging -- livecd based proposal

2008-09-11 Thread Michael DeHaan
Andrew Brown wrote: > > > On Thu, Sep 11, 2008 at 1:38 PM, Michael DeHaan <[EMAIL PROTECTED] > > wrote: > > > This file also came across without a GPL license header. Can you > please > add one (GPLv2+) as found on the other cobbler files or otherwise > r

Re: More details on system imaging -- livecd based proposal

2008-09-11 Thread Andrew Brown
On Thu, Sep 11, 2008 at 1:38 PM, Michael DeHaan <[EMAIL PROTECTED]> wrote: > > This file also came across without a GPL license header. Can you please > add one (GPLv2+) as found on the other cobbler files or otherwise reply > and say I can add it? This is also needed for us to host the ISO in

Re: More details on system imaging -- livecd based proposal

2008-09-11 Thread Michael DeHaan
Andrew Brown wrote: > So I've figured out the issue (finally). Apparently, the optional > grub stage 1.5 is stored in the normally unused space between the mbr > and the start of the first partition. The image I chose to use for my > testing did use this grub stage 1.5 (I think fedora doesn't

Re: More details on system imaging -- livecd based proposal

2008-09-11 Thread Michael DeHaan
Andrew Brown wrote: > So I've figured out the issue (finally). Apparently, the optional > grub stage 1.5 is stored in the normally unused space between the mbr > and the start of the first partition. The image I chose to use for my > testing did use this grub stage 1.5 (I think fedora doesn't

Re: More details on system imaging -- livecd based proposal

2008-09-10 Thread Andrew Brown
So I've figured out the issue (finally). Apparently, the optional grub stage 1.5 is stored in the normally unused space between the mbr and the start of the first partition. The image I chose to use for my testing did use this grub stage 1.5 (I think fedora doesn't by default though), and of cour

Re: More details on system imaging -- livecd based proposal

2008-08-28 Thread Andrew Brown
On Wed, Aug 27, 2008 at 4:29 PM, Michael DeHaan <[EMAIL PROTECTED]> wrote: > > 30-60's not horrific if you really need it done. > > Just being kernel+initrd+kernel arguments (--kopts) is fantastically > easy to set up. > > Also very nice that the embedded script is Python :) > > See if you can get

Re: More details on system imaging -- livecd based proposal

2008-08-27 Thread Michael DeHaan
Andrew Brown wrote: > On Wed, Aug 27, 2008 at 3:44 PM, Michael DeHaan <[EMAIL PROTECTED] > > wrote: > > That's ok, we're chasing lots of random features at the same time, > so no > rush on this one. Ultimately we have a pretty good solution now for > sup

Re: More details on system imaging -- livecd based proposal

2008-08-27 Thread Andrew Brown
On Wed, Aug 27, 2008 at 3:44 PM, Michael DeHaan <[EMAIL PROTECTED]> wrote: > That's ok, we're chasing lots of random features at the same time, so no > rush on this one. Ultimately we have a pretty good solution now for > supporting foreign OS's by using "cobbler image add" and "koan with > --im

Re: More details on system imaging -- livecd based proposal

2008-08-27 Thread Michael DeHaan
Andrew Brown wrote: > Things have been going slow for me since I started classes, so sorry > for the sparse updates. > > I never did figure out why restoring the mbr and partitions separately > produced an unbootable system, and it's something I'll need to > eventually solve. > > However, for no

Re: More details on system imaging -- livecd based proposal

2008-08-27 Thread Andrew Brown
Things have been going slow for me since I started classes, so sorry for the sparse updates. I never did figure out why restoring the mbr and partitions separately produced an unbootable system, and it's something I'll need to eventually solve. However, for now I've taken a step back and just foc

Re: More details on system imaging -- livecd based proposal

2008-08-20 Thread Michael DeHaan
Andrew Brown wrote: > Running "grub-install /dev/sda" in a live environment "fixes" the > machine so it will boot. > > Unless there's a good reason not to though, I'd like to know why the > current method doesn't work, and find a general solution that will > work for any setup. See my last emai

Re: More details on system imaging -- livecd based proposal

2008-08-20 Thread Michael DeHaan
Andrew Brown wrote: > Running "grub-install /dev/sda" in a live environment "fixes" the > machine so it will boot. > > Unless there's a good reason not to though, I'd like to know why the > current method doesn't work, and find a general solution that will > work for any setup. See my last emai

Re: More details on system imaging -- livecd based proposal

2008-08-20 Thread Andrew Brown
Running "grub-install /dev/sda" in a live environment "fixes" the machine so it will boot. Unless there's a good reason not to though, I'd like to know why the current method doesn't work, and find a general solution that will work for any setup. See my last email. And also, I can't seem to find

Re: More details on system imaging -- livecd based proposal

2008-08-20 Thread Andrew Brown
On Wed, Aug 20, 2008 at 7:44 AM, Michael DeHaan <[EMAIL PROTECTED]> wrote: > Andrew Brown wrote: > > On Tue, Aug 19, 2008 at 6:16 PM, Michael DeHaan <[EMAIL PROTECTED] > > > wrote: > > > > Andrew Brown wrote: > > > Okay, a few things since yesterday: > > > I'm

Re: More details on system imaging -- livecd based proposal

2008-08-20 Thread Michael DeHaan
Andrew Brown wrote: > On Tue, Aug 19, 2008 at 6:16 PM, Michael DeHaan <[EMAIL PROTECTED] > > wrote: > > Andrew Brown wrote: > > Okay, a few things since yesterday: > > I'm not worrying about the hard drive device issue for the > moment, it > > seems to

Re: More details on system imaging -- livecd based proposal

2008-08-19 Thread Andrew Brown
On Tue, Aug 19, 2008 at 6:16 PM, Michael DeHaan <[EMAIL PROTECTED]> wrote: > Andrew Brown wrote: > > Okay, a few things since yesterday: > > I'm not worrying about the hard drive device issue for the moment, it > > seems to be related to whether the bladecenter media tray is assigned > > to that b

Re: More details on system imaging -- livecd based proposal

2008-08-19 Thread Michael DeHaan
Andrew Brown wrote: > Okay, a few things since yesterday: > I'm not worrying about the hard drive device issue for the moment, it > seems to be related to whether the bladecenter media tray is assigned > to that blade or not. > > I've also edited the code to ignore listed partitions of type "Empt

Re: More details on system imaging -- livecd based proposal

2008-08-19 Thread Andrew Brown
Okay, a few things since yesterday: I'm not worrying about the hard drive device issue for the moment, it seems to be related to whether the bladecenter media tray is assigned to that blade or not. I've also edited the code to ignore listed partitions of type "Empty" or "Extended" But somehow the

Re: More details on system imaging -- livecd based proposal

2008-08-19 Thread Andrew Brown
Hi All, I thought I'd give an update on where I am. I've been working on a live cd image that will boot up and take/restore an image to an nfs export and then reboot. Attached are the base.cfg kickstart file and build.py script to build the live cd. It is somewhat untested at the moment. Taking

Re: More details on system imaging -- livecd based proposal

2008-08-07 Thread Michael DeHaan
Andrew Brown wrote: > > I'm assuming you are building this on F9? > > > I wasn't, I was using the script and kickstart in the koan source > which was fc8. I've switched to the development branch which is fc9 > and re-built it. > > The cd image that comes out of that works, as in, it boots an

Re: More details on system imaging -- livecd based proposal

2008-08-06 Thread Andrew Brown
> > I'm assuming you are building this on F9? > I wasn't, I was using the script and kickstart in the koan source which was fc8. I've switched to the development branch which is fc9 and re-built it. The cd image that comes out of that works, as in, it boots and starts executing the scripts. I b

Re: More details on system imaging -- livecd based proposal

2008-08-05 Thread Michael DeHaan
Andrew Brown wrote: > So I've started looking at the script that builds a koan live cd (the > 'live' directory in the koan source) to modify it to do what we need, > but I'm having trouble getting the code to produce a bootable iso. > > I'm just trying to run the build.py script as is, and it pro

Re: More details on system imaging -- livecd based proposal

2008-08-05 Thread Andrew Brown
So I've started looking at the script that builds a koan live cd (the 'live' directory in the koan source) to modify it to do what we need, but I'm having trouble getting the code to produce a bootable iso. I'm just trying to run the build.py script as is, and it produces a koan-live-cd.iso. But

RE: More details on system imaging -- livecd based proposal

2008-08-01 Thread Hristov, Georgi
Thanks James, That's very good info. -Georgi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, August 01, 2008 11:07 To: cobbler mailing list Subject: RE: More details on system imaging -- livecd based proposal [

RE: More details on system imaging -- livecd based proposal

2008-08-01 Thread James_Martin
[EMAIL PROTECTED] wrote on 08/01/2008 11:45:36 AM: > "Hristov, Georgi" <[EMAIL PROTECTED]> > Sent by: [EMAIL PROTECTED] > > 08/01/2008 11:45 AM > > > Subject > > RE: More details on system imaging -- livecd based proposal > > The problem with

RE: More details on system imaging -- livecd based proposal

2008-08-01 Thread Hristov, Georgi
t: Re: More details on system imaging -- livecd based proposal > > All that said, I am perhaps not the target for cobbler; the > increasing power of cobbler et al is far beyond my needs, as I've not > really changed how I've been doing things since 0.3.3 when I started > u

Re: More details on system imaging -- livecd based proposal

2008-07-31 Thread Michael DeHaan
Andrew Brown wrote: > We're open to suggestions on how the interface should look for this. > > Right now, to elaborate on what Michael described, we'll have a > "cloner" distro installed. This will be generated from an actual > distro, but modified to be a live environment with scripts to save o

Re: More details on system imaging -- livecd based proposal

2008-07-31 Thread Michael DeHaan
> > All that said, I am perhaps not the target for cobbler; the > increasing power of cobbler et al is far beyond my needs, as I've not > really changed how I've been doing things since 0.3.3 when I started > using it. > > It seems as you are talking about tar you really don't understand the

Re: More details on system imaging -- livecd based proposal

2008-07-30 Thread Jim Wildman
On Wed, 30 Jul 2008, Andrew Brown wrote: The theory behind this feature is to be able to take a snapshot of a customized system.  Kickstarts are usually preferred, but in some environments it is desirable to be able to save a machine's current state off to an image.  Then perhaps something exper

Re: More details on system imaging -- livecd based proposal

2008-07-30 Thread Andrew Brown
We're open to suggestions on how the interface should look for this. Right now, to elaborate on what Michael described, we'll have a "cloner" distro installed. This will be generated from an actual distro, but modified to be a live environment with scripts to save off or load the hard drive over

Re: More details on system imaging -- livecd based proposal

2008-07-30 Thread Harry Hoffman
this sounds alot like flar archives for use in jumpstart. It's been a while since I've messed with solaris (thank god!) but jumpstart with flar archives used to work really well. Cheers, Harry David Mackintosh wrote: > On Wed, Jul 30, 2008 at 12:02:36PM -0400, Michael DeHaan wrote: > >> Comm

Re: More details on system imaging -- livecd based proposal

2008-07-30 Thread David Mackintosh
On Wed, Jul 30, 2008 at 12:02:36PM -0400, Michael DeHaan wrote: > Comments? Questions? Well I agree with the previous commenter, who considered it complicated. What I've done for one of my customer's imaging needs is to create an image of a system using tar (which isn't perfect, I know) plus

RE: More details on system imaging -- livecd based proposal

2008-07-30 Thread Hristov, Georgi
Sent: Wednesday, July 30, 2008 11:03 To: cobbler@lists.fedorahosted.org Subject: More details on system imaging -- livecd based proposal I've been talking with Andrew Brown from NCSU, and we have some ideas on how to implement a cobbler imaging solution utilizing livecd's and partima

More details on system imaging -- livecd based proposal

2008-07-30 Thread Michael DeHaan
I've been talking with Andrew Brown from NCSU, and we have some ideas on how to implement a cobbler imaging solution utilizing livecd's and partimage. He's going to be taking a crack at implementing this for a future cobbler release. I've included basic details here so others could see what