trouble running fai-cd (fai 3.1.1 etch)

2006-11-30 Thread Thomas Memenga
Hi,

i grabbed the fai cd (FAI 3.1.1, etch) and installed a faiserver with it. I 
have added some configs and now i want to create a new install-cd with fai-cd, 
but i get this error:


ERROR: mkinitrd-cd not found. Please install package.


But mkinitrd-cd is not available in etch. Is fai-cd broken in 3.1.1 for etch ?





Re: trouble running fai-cd (fai 3.1.1 etch)

2006-11-30 Thread Holger Levsen
Hi,

On Thursday 30 November 2006 12:50, Thomas Memenga wrote:
 But mkinitrd-cd is not available in etch. Is fai-cd broken in 3.1.1 for
 etch ?

Yes.


regards,
Holger


pgpPWAKF1H0SB.pgp
Description: PGP signature


Re: Anfängerfrage

2006-11-30 Thread Janning Vygen
Am Mittwoch, 29. November 2006 20:28 schrieben Sie:
 Hi,

 On Wednesday 29 November 2006 19:41, Janning Vygen wrote:
  Bei einigen Konfigurationen von Datenbankservern ist es wichtig zu
  partionieren. Kann man beim softupdate irgendwie trotzdem partionieren?

 Ja, mittels hooks.

ok, danke. Ich habe auch gerade mein erstes softupdate durchgeführt. Jetzt 
habe ich aber auch diesen Thread bezüglich Servern gefunden, die man weder 
per CD noch Netz botten kann und der scheint mir sehr passend für mich zu 
sein:

   http://www.mail-archive.com/linux-fai@rrz.uni-koeln.de/msg03279.html

Dort wird FAI auf der Ramdsik gebootet. Das scheint perfekt für mich zu sein, 
da ich kein NFS brauche und mir einfach mein Image einmal als initrd.gz 
bastel und auf jedem Server das nur hochladen brauch, den bootloader anpasse 
und ein reboot installiert mir dann die ganze Kiste. Wenn ich das richtig 
verstehe, dass das die Lösung für alle FAI User bei Hostingprovidern ist, 
dann sollte das unbedingt mit ins Handbuch!

Was ich in dem Thread nur nicht ganz verstehe ist die kernel option ip

kernel [...] ip=192.168.1.1demohost::off [...]

Das kann ja so wohl nur als Beispiel gemeint sein. Da ich bei meinem 
Hostingprovider kein dhcp habe, sondern mein eth0 statisch konfiguriere, muss 
ich da vermutlich ip/netzmaske/gateway/hostname eintragen, also ungefähr so??

kernel [...] ip=IP:BROADCAST:NETMASK:GATEWAY:HOSTNAME::off [...]

Wo finde ich die Doku zu dem Kernel parameter ip?

Gruß
Janning

-- 
PLANWERK 6 websolutions
Venloer Straße 8, 40477 Düsseldorf
Tel: (0211) 302666-0
Fax: (0211) 302666-10 
http://www.planwerk6.de/



Re: Maintaining Xen with FAI - Questions

2006-11-30 Thread Henning Sprang

On 11/29/06, Michael Tautschnig [EMAIL PROTECTED] wrote:

[...]
 already NFS support built into my domU-kernel. But what else do i
 need to be ready to use fai with xen?

Network, disk, NFS should be about it...


and IP PNP, in case the installserver address and ip should come via
dhcp as usually with FAI.
Debian Xen kernels lack all these AFAIK.

I think, You also want to use ide disk in the DomU,  as there are some
conflicts between nfs root and the scsi driver, if I remember
correctly - I had that problem and there where mails about this on
this list and on xen-users some months ago... but I am not really sure
anymore and too lazy to look it up now.

Henning


Re: Maintaining Xen with FAI - Questions

2006-11-30 Thread Henning Sprang

On 11/30/06, Mario Bischof [EMAIL PROTECTED] wrote:

[...]
I always thought using custom xen kernels is  better for security?


Security is a process, not using a product - this also goes for choice
of kernels or configurations.
Custom kernels can only be more secure if you take care of it a lot
and have a lot of knowledge.

The Xen developers don't provide security updates and fixes, and don't
say a word if you ask them about it.  I get the impression they don't
see themselves as providers of software for end-users,  but see this
task on the side of the distribution developers - but thy did not
confirm this yet - no comments on xen-devel on questions about
security updates.
So, security-wise it's safer to use the Debian Xen Kernels, because
they do security releases, and bring the xen Linx patches to newer
Kernel versions.

Still, I build my own, but i use it mostly for FAI development and
experimental stuff.
In that case, it's good to have separate dom0 domU Kernels, cause when
I only change the domU Kernel, rebuilding it is a lot faster than
building the kernel with all modules for my machines.



. Well, does the standard xen-kernel from
debian also provide HVM support for using win xp?


The Xen Linux Kernel doesn't need or have hvm features - it's only in
Xen itself.
The xen packages from Debian support hvm, you need to install the
xen-iommu package as well. ( and some others, but this is excessively
handled in xen-users, no topic for this list.#


does it include tun/
tap device support for creating openVPN domains?


Not sure, look into the config file...

Henning


Re: Maintaining Xen with FAI - Questions

2006-11-30 Thread Holger Levsen
Hi,

On Thursday 30 November 2006 14:08, Henning Sprang wrote:
  Network, disk, NFS should be about it...
 and IP PNP, in case the installserver address and ip should come via
 dhcp as usually with FAI.
 Debian Xen kernels lack all these AFAIK.

Are those issues filed as bugs in the Debian BTS?


regards,
Holger


pgp4IvCncbh0X.pgp
Description: PGP signature


Re: Maintaining Xen with FAI - Questions

2006-11-30 Thread Henning Sprang

On 11/30/06, Holger Levsen [EMAIL PROTECTED] wrote:

[...]
Are those issues filed as bugs in the Debian BTS?


No, not yet, I have it on my todo list but was too lazy yet and anyway
use my own kernels - but ye, it's quite important to us (FAI people)
- it would be actually needed for people getting xen installed with
FAI net installs with standard debian kernels...

Henning


Re: AW: Re: Anf*ngerfrage

2006-11-30 Thread Janning Vygen
Am Donnerstag, 30. November 2006 14:58 schrieb Thomas Memenga:
 Hi Janning,

 fallst du deine Server bei hetzner hast: Lass es mich wissen ob du das hin
 bekommst.

ja, ich habe die server bei hetzner. wenn ich alles fertig habe, werd eich da 
gerne ein howto draus machen.

 Ich habe per ramdisk vor ein paar Monaten meine Server bei Hetzner
 installiert, jedoch bekomme ich jetzt aus dem Rescue-System nicht mehr grub
 installiert. und mit Lilo funzt das irgendwie auch nicht.

du brauchst das rescue system doch gar nicht. du kannst es doch aus dem 
normalen system heraus machen

 Ich hab es damals noch ein bischen anders gemacht als in der Mailingliste
 beschrieben.
[...]

Ok, das probiere ich mal, falls der andere weg nicht klappt. ist aber ja im 
Prinzip dasselbe, wie in dem Thread:

    http://www.mail-archive.com/linux-fai@rrz.uni-koeln.de/msg03279.html

 Was ich in dem Thread nur nicht ganz verstehe ist die kernel option ip

 kernel [...] ip=192.168.1.1demohost::off [...]

Da streibt mich zur Zeit um: Wie finde ich die passenden kernel options 
heraus? 

Gruß
Janning

-- 
PLANWERK 6 websolutions
Venloer Straße 8, 40477 Düsseldorf
Tel: (0211) 302666-0
Fax: (0211) 302666-10 
http://www.planwerk6.de/



Re: Anfängerfrage

2006-11-30 Thread Holger Levsen
Hi,

On Thursday 30 November 2006 13:26, Janning Vygen wrote:
http://www.mail-archive.com/linux-fai@rrz.uni-koeln.de/msg03279.html

 Dort wird FAI auf der Ramdsik gebootet. Das scheint perfekt für mich zu
 sein, da ich kein NFS brauche und mir einfach mein Image einmal als
 initrd.gz bastel und auf jedem Server das nur hochladen brauch, den
 bootloader anpasse und ein reboot installiert mir dann die ganze Kiste.
 Wenn ich das richtig verstehe, dass das die Lösung für alle FAI User bei
 Hostingprovidern ist, dann sollte das unbedingt mit ins Handbuch!

Also ich lebe wunderbar mit reinen softupdates, aber wenn Du uns patches fürs 
Handbuch schickst (und die taugen), nehmen wir die sehr gerne an+auf :)

 Wo finde ich die Doku zu dem Kernel parameter ip?

$kernel_source/Documentation/nfsroot.txt


regards,
Holger


pgpL4K4eRvMo2.pgp
Description: PGP signature


Re: AW: Re: Anf*ngerfrage

2006-11-30 Thread Janning Vygen
Am Donnerstag, 30. November 2006 15:09 schrieb Janning Vygen:
  kernel [...] ip=192.168.1.1demohost::off [...]

 Da streibt mich zur Zeit um: Wie finde ich die passenden kernel options
 heraus?

gerade selbst entdeckt: man mus snur im FAI Guide nachlesen (3.3 Creating a 
boot floppy), dort ist der Verweis 
auf /usr/src/linux/Documentation/nfsroot.txt

Gruß
Janning



Re: Anfängerfrage

2006-11-30 Thread Janning Vygen
Am Donnerstag, 30. November 2006 14:56 schrieb Holger Levsen:
 Hi,

 On Thursday 30 November 2006 13:26, Janning Vygen wrote:
 http://www.mail-archive.com/linux-fai@rrz.uni-koeln.de/msg03279.html
 
  Dort wird FAI auf der Ramdsik gebootet. [...]

 Also ich lebe wunderbar mit reinen softupdates, 

ja, aber du kannst ja nicht die ganze Platte partionieren, wenn da schon dein 
debian drauf läuft, auch nicht mit hooks! Denn sonst zerschießt Du dir ja 
Dein ganzes System. Ansonsten wäre ich mit softupdate auch völlig zufrieden.

 aber wenn Du uns patches 
 fürs Handbuch schickst (und die taugen), nehmen wir die sehr gerne an+auf
 :)

ich versuchs!

  Wo finde ich die Doku zu dem Kernel parameter ip?

 $kernel_source/Documentation/nfsroot.txt

ok und es steht sogar im Handbuch, wie ich 10 Sekunden vor Eintreffen deiner 
mail gesehen habe. Unter creating a boot floppy mit link auf  
$kernel_source/Documentation/nfsroot.

Danke für Deine schnelle Hilfe.

Gruß
Janning



Re: Maintaining Xen with FAI - Questions

2006-11-30 Thread Holger Levsen
Hi,

On Thursday 30 November 2006 15:03, you wrote:
  Are those issues filed as bugs in the Debian BTS?
 No, not yet, I have it on my todo list but was too lazy yet and anyway
 use my own kernels - but ye, it's quite important to us (FAI people)
  - it would be actually needed for people getting xen installed with
 FAI net installs with standard debian kernels...

If it's important, then you should file those bugs, they might even still be 
fixed in time for etch.

By chance I just stumbled about #390862 - so it seems you need to file one 
less :-)


regards,
Holger

-- 
quoting http://www.debian.org/MailingLists/index.de.html#codeofconduct
When using the Debian mailing lists, please follow these rules:... When 
replying to messages on the mailing list, do not send a carbon copy (CC) to 
the original poster unless they explicitly request to be copied.

We live in the year 2006, a few bytes wasted in the footer of a mail don't 
hurt anymore, but everybody is flooded with information and attention is a 
spare ressource. 
If you send a mail cc: to a list and to me, it will catch my attention even if 
I have none. Please don't. Unless you specifically want to catch my attention 
of course :) 
But If I don't say otherwise, I'm subscribed to the mailinglist (and this is 
true for non-Debian lists as well) and you don't need to cc: me. Thanks.


pgplCCG66Qc12.pgp
Description: PGP signature


Re: trouble running fai-cd (fai 3.1.1 etch)

2006-11-30 Thread Thomas Lange
 On Thu, 30 Nov 2006 12:50:14 +0100 (MET), Thomas Memenga [EMAIL 
 PROTECTED] said:

 i grabbed the fai cd (FAI 3.1.1, etch) and installed a faiserver with it. 
I have added some configs and now i want to create a new install-cd with 
fai-cd, but i get this error:
 ERROR: mkinitrd-cd not found. Please install package.
 But mkinitrd-cd is not available in etch. Is fai-cd broken in 3.1.1 for 
etch ?
Yes. You have to copy your etch nfsroot, mirror (created by
fai-mirror) and config space to a sarge system where you can use
fai-cd to build an ISO image. I'm thinking of creating a sarge
chroot tarball so people can use this chroot on etch to build the
fai-cd.


In the future (but after the etch release) fai-cd will use
initramfs-tools instead of mkinitrd-cd. You can also have a look at
holgers fai cd using live-package technique. 

-- 
regards Thomas


Re: config directory doesn't mount and ssh problem

2006-11-30 Thread wtautz
Michael Tautschnig wrote:
 Michael Tautschnig wrote:
 
 
 
 [...]

 Could you please provide some error messages or the like? What about 
 mounting it
 manually, does that work?
   
   
 Could of sworn that I wrote that mounting manually worked.

 
 Then, is there any error message you could see when it should have mounted it
 automatically?

 Cheers,
 Michael

   
Also I'm using the latest packages from Thomas apt archive and I'm running
this on dapper/Ubuntu.

Walter


Re: Maintaining Xen with FAI - Questions

2006-11-30 Thread Mario Bischof


On Nov 30, 2006, at 2:08 PM, Henning Sprang wrote:


On 11/29/06, Michael Tautschnig [EMAIL PROTECTED] wrote:

[...]
 already NFS support built into my domU-kernel. But what else do i
 need to be ready to use fai with xen?

Network, disk, NFS should be about it...


and IP PNP, in case the installserver address and ip should come via
dhcp as usually with FAI.
Debian Xen kernels lack all these AFAIK.

I think, You also want to use ide disk in the DomU,  as there are some
conflicts between nfs root and the scsi driver, if I remember
correctly - I had that problem and there where mails about this on
this list and on xen-users some months ago... but I am not really sure
anymore and too lazy to look it up now.

Henning



Thanks for all your replies!

It's working now with custom kernel, IP PNP DHCP wasnt in my domU  
kernel and there was no support for the disk, I assumed this should  
be in the config as standard, so i didnt even check if it was in it.  
I used to have a config with scsi disks, but now i changed to ide and  
its working.


I have some basic questions about using xen with custom configuration.

should you use a custom hypervisor as well? or could you use the one  
from debian?


Since i've been using xen, i always built it from source with two  
custom kernels, but now as I want to use FAI to install my servers, I  
dont know exactly what should be wise to do, because all of the  
software has to be packaged into deb-files to install it.


I guess its rather complicated to compile the xen-utils manually and  
create a deb-pkg. So can you use debian's pkgs for the admin- 
utilities and custom kernels together? I've seen that it's working  
but maybe that's a foolish thing to do (?)



Mario





Re: Maintaining Xen with FAI - Questions

2006-11-30 Thread Henning Sprang

On 11/30/06, Mario Bischof [EMAIL PROTECTED] wrote:


I have some basic questions about using xen with custom configuration.


Please only FAI related questions (this one still is halfway O.K.)


should you use a custom hypervisor as well? or could you use the one
from debian?


I didn't try to use the Debian Hypervisor with selfmade Kernels. Your
mileage may vary trying this, I heard, it should work to run newer
Kernels on older Hypervisors.



Since i've been using xen, i always built it from source with two
custom kernels, but now as I want to use FAI to install my servers, I
dont know exactly what should be wise to do, because all of the
software has to be packaged into deb-files to install it.


I am not sure, but assume now you are talking about installing Xen
servers with FAI, not Xen VM's.

You don't need to package everything in debs for FAI. You can also
install tarball with scripts which reside in the files directory, or
download them with wget.

Aditionally, you can try creating a deb form the xen packages by
running the install.sh in dist with checkinstall.

And, as the dist/install dir in a xen build tree after make dist /
make world is nothing but an image of the filesystem hirarchy from /
that is copied into the system to be installed (maybe some small
things more), you can make a simple deb manually - it's really easy,
although not exactly debian-policy alike, to build a deb from such a
filesystem hirarchy like this:
http://www.tldp.org/HOWTO/Debian-Binary-Package-Building-HOWTO/


Henning


PRELOADRM help

2006-11-30 Thread Brian E. Seppanen

Hi Folks:

I'm using FAI 2.8.4 with debian sarge.   I have a customized package that 
I think I should use PRELOADRM to download for installing.   I don't 
understand the documentation in Section 6.8.It says that


A line which contains the PRELOADRM commands, downloads a file using 
wget(1) into a directory before installing the packages.   Using the file: 
URL this file is copied from $FAI_ROOT to the download directory.


Does this mean that PRELOADRM will download the file from the URL 
specified and place it in $FAI_ROOT from where it will be installed?


and is the syntax
PRELOADRM file: http://www.webserver.net/package_i386.deb

or is it something different?

Thanks,


Re: config directory doesn't mount and ssh problem

2006-11-30 Thread Michael Tautschnig
[...]
  
  Then, is there any error message you could see when it should have mounted 
  it
  automatically?
 
[...]

Still no answer to this one - it's hard to debug a remote problem without an
error message :-)

Cheers,
Michael



pgpLWzCAFBMjT.pgp
Description: PGP signature


Re: config directory doesn't mount and ssh problem

2006-11-30 Thread Michael Tautschnig
[...]
 
 I sent in message with attached log files trying again preplexed
 
At least it hadn't reached me before; did you read through fai.log before
sending it? It contains the answer :-)

Copied from your first mail in this thread:
FAI_CONFIG_SRC=nfs://192.168.1.1/srv/fai/config

However, fai.log reads as follows (quoting it completely as it is fairly short)

===
 -
   Fully Automatic Installation for Debian GNU/Linux
   FAI 2.10.1ubuntu1, 17 May 2006Copyright (c) 1999-2006

   Thomas Lange  [EMAIL PROTECTED]
 -
Calling task_confdir
Kernel parameters: ip=dhcp FAI_CONFIG_SRC=nfs://192.168.1.1/srv/fai/config 
FAI_ACTION=sysinfo root=/dev/nfs 
nfsroot=192.168.1.1:/srv/fai/nfsroot,v3,tcp,rsize=32768,wsize=32768 
FAI_FLAGS=verbose,sshd,createvt BOOT_IMAGE=fai/vmlinuz-install 
Reading /var/log/fai/current/boot.log
Warning /etc/init.d/rcS: Neither $FAI_LOCATION nor $FAI_CVSROOT are defined.
WARNING: directory /var/lib/fai/config/class not found.
Can't connect to monserver on  port 4711. Monitoring disabled.
Calling task_setup
FAI_FLAGS: verbose sshd createvt
Press ctrl-c to interrupt FAI and to get a shell
Calling task_defclass
Directory /var/lib/fai/config/class not found. Following subdirectories are 
found:
find: warning: you have specified the -maxdepth option after a non-option 
argument -type, but options are not positional (-maxdepth affects tests 
specified before it as well as those specified after it).  Please specify 
options before other arguments.

/var/lib/fai/config
cp: cannot stat `/var/log/fai/current/disk_var.sh': No such file or directory
Aborting.

===

So, there are these warnings :-)) And: There is the version number:
2.10.1ubuntu1, which is strictly less than 3 :-) So - there is no such thing as
FAI_CONFIG_SRC in this version; you need to upgrade your nfsroot first...

Best,
Michael



pgpuIXi4C5K6C.pgp
Description: PGP signature


Re: config directory doesn't mount and ssh problem

2006-11-30 Thread wtautz
wtautz wrote:
 Michael Tautschnig wrote:
   
 Michael Tautschnig wrote:
 
   
 
 
   
 [...]

 Could you please provide some error messages or the like? What about 
 mounting it
 manually, does that work?
   
   
 
 Could of sworn that I wrote that mounting manually worked.

 
   
 Then, is there any error message you could see when it should have mounted it
 automatically?

 Cheers,
 Michael

   
 
 Also I'm using the latest packages from Thomas apt archive and I'm running
 this on dapper/Ubuntu.

 Walter
   
Just to let folks know, with Michael's help he kindly pointed out that
I had a mismatch in FAI version from the server and client. I had forgotten
to add Thomas sources.list entry for debian etch in the file
/etc/fai/apt/sources.list
on my dapper server which was already running the etch 3.1.2 versions
because
I had added Thomas' sources list entry. Duh! It works
now albeit the grub prompt comes up.
Walter