FAI tests and simulation setup

Holger Mense hmense at math.uni-paderborn.de
Tue Dec 14 18:25:05 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 10 Dec 2004, Cyril Bouthors wrote:

> Since that guy and I are not living in the same timezonee, each
> test/bugfix cycle takes 2 days.

Why don't you start your FAI run remote? I have done some configuration
for my FAI setup and now I am able to install a computer remote.

During a fresh install I am copying the fai-kernelimage to
/tmp/target/boot/vmlinuz-fai. In /tmp/target/etc/lilo.conf I added a
special section for vmlinuz-fai called "reinstall". With the following
append line, the kernel uses the FAI nfsroot and starts a fresh install:
append="ip=dhcp devfs=nomount FAI_ACTION=install root=/dev/nfs nfsroot=123.456.789:/debian/fai/lib/nfsroot FAI_FLAGS=verbose,sshd,createvt,syslogd"

During installing a client it gets a normal kernel and the fai kernel plus
the append-line in /etc/lilo.conf.

During installation you can ssh to your installing client. If you want
todo a new fresh install, just edit /tmp/target/etc/lilo.conf to use
vmlinuz-fai to boot next time. Don't forget to run lilo!

If you want to test the result of your installation, just boot your
machine. Then you can ssh on it again (if network and ssh got configured
correctly) and test you fresh installed client. If you want to start a new
installation just edit /etc/lilo.conf again to boot vmlinuz-fai, run lilo
and reboot.

Works good here. With this trick I was able to migrate several Red Hat
Linux Servers to Debian Servers without leaving my chair... :)

Sincerly
Holger Mense


- -- 
Holger Mense
Rechnerbetrieb Mathematik

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBvyH0HjdfhHqYjTQRAvFkAJ9ozZXELLCQxKJ5b5pfa+//SqaaNgCgj/t+
LsASOedUKJvTIx4XhnFgSJ0=
=kmor
-----END PGP SIGNATURE-----



More information about the linux-fai mailing list