Re: /etc/fai/NFSROOT

2010-09-22 Diskussionsfäden Peter Bittner
Hi, > Hello, i want to install the packages 'x-window-system-core', > 'gnome','gdm' and 'python'. May i put them at > the top group of /etc/fai/NFSROOT and recreate the nfsroot? You have to add the packages to your partial mirror /media/mirror (live/filesystem.dir/media/mirror/ if you're using a

Re: How safely partition disks in a multipath environment? (setup-storage)

2010-09-10 Diskussionsfäden Peter Bittner
Great, I kind of made it. Not easy to find out how to check what paths are not accessible (i.e. which disks get a read error when setup-storage goes over them. > I think the most promising way would be a hook that modifies the contents of > the > "disklist" variable. By default, its contents is d

Re: How safely partition disks in a multipath environment? (setup-storage)

2010-09-10 Diskussionsfäden Peter Bittner
Ooops! > I have created a hook in > var/lib/fai/config/hooks/disklist.MULTIPATH.source ... looks like the hook should be called "partition.MULTIPATH.source" as a hook is called "for a task" - as the FAI Guide states -, which translates to: The hook must be called "taskname.CLASS[.source]" And it

Re: How safely partition disks in a multipath environment? (setup-storage)

2010-09-10 Diskussionsfäden Peter Bittner
Hi Michael, thanks for the hints. > I do have a multipath setup for some of my servers as well (although hardware > different from yours) and I think you should be aware that disk ids will > likely > change from reboot to reboot, and not only on different hardware or defects. You're right. I st

How safely partition disks in a multipath environment? (setup-storage)

2010-08-26 Diskussionsfäden Peter Bittner
Hi, we are running an Intel Modular Server with Debian Lenny. The Modular Server is a beast which provides virtual disks and redundant storage controllers to access the disks. As a result on Linux you see 2 drives (e.g. /dev/sda, /dev/sdb) when you have just configured one. This is because they re

How to conditionally define a class? (ex. Xorg configuration)

2010-01-21 Diskussionsfäden Peter Bittner
(Probably the solution to this is simple, I haven't just figured it out, sorry...) I want to install some software based on a condition of the target hardware. Specifically, I want to install a Debian package (here: fglrx-driver) if and only if an ATI Radeon graphics card is installed. The code co

How do I call fai-mirror so it doesn't mix the dists?

2010-01-18 Diskussionsfäden Peter Bittner
(I apologize in advance if this question is not directly and only related to FAI, but more of a general Debian question...) I'm installing systems from a USB stick with the FAI version 3.3, and I use fai-mirror to create a partial mirror of the packages I need for installation from the USB stick.

Install kernel images other than server's architecture in TFTP configuration space

2009-12-09 Diskussionsfäden Peter Bittner
Hi, sorry in advance if is this a stupid question with a trivial answer... I need to provide several kernel images for booting and installing clients on our faiserver. Some of them do not match the server's architecture (e.g. powerpc). How is providing different kernels (and ramdisk images) typic

Re: Launch of new FAI project website

2009-12-09 Diskussionsfäden Peter Bittner
Hi, very good. It is much easier and faster now understanding what is on the site. Here is a very small feature enhancement: * "Search site" does not do anything when a user clicks on it. This may be confusing some users. With the following changes the focus is put on the search input field when

Re: Bug#390504: possible solution

2009-12-03 Diskussionsfäden Peter Bittner
... a related issue: When I execute fai-setup on a freshly installed machine (hosting the latest FAI 3.3) the $FAI_CONFIGDIR never makes it into /etc/exports. Am I wrong or could this be a bug? $FAI_CONFIG_SRC is evaluated in fai-setup:182 as follows if expr match "$FAI_CONFIG_SRC" 'nfs:\/\/'

Re: How to create a bootable USB stick containing fai-cd

2009-11-26 Diskussionsfäden Peter Bittner
Hi Thomas, just out of curiosity and for the sake of reproducing the USB image you provide: What exact commands do you use (did you use) for creating the image (fai-usb-3.3.tar.lzma) with fai-mirror and fai-cd? # fai-mirror -B /path/to/mirror && fai-cd -m /path/to/mirror ... I am mainly interest

Re: NFSROOT/root/.ssh/ is empty after install from USB stick (aka no known_hosts file)

2009-11-25 Diskussionsfäden Peter Bittner
Henning, > You don't need tas_chboot when installing from USB stick. it's only > for PXE installs. This is a misunderstanding: I installed the _SERVER_ using FAI on a USB stick. Now, where the problem comes up is when I install clients over the network (PXE installs against the server). BTW, I f

NFSROOT/root/.ssh/ is empty after install from USB stick (aka no known_hosts file)

2009-11-25 Diskussionsfäden Peter Bittner
Hi, I have installed a FAI server from a USB stick and installation of clients kind of works fine, but I have an issue at the end of a client installation with task_chboot and the ssh authentication against the FAI server. >From a research on the Internet I have seen the problem is described in h

Re: Two network cards

2009-11-18 Diskussionsfäden Peter Bittner
Thanks Michael for your response. > If you're provisioning all the network cards of a machine from a > central DHCP server, does that mean they are all in the same layer 2 > network? (If so, why do you have more than one network card?) Our machines have 2 network cards, one for the internal traff

Re: Two network cards

2009-11-17 Diskussionsfäden Peter Bittner
Hi, I also need to setup clients with multiple (two or more) network interfaces, and as there doesn't seem to be a step-by-step Howto with condensed information for this highly requested topic neither on the mailing list nor in the FAIwiki I have started a page in the latter: http://faiwiki.infor

Re: FAI Djangofied

2009-09-10 Diskussionsfäden Peter Bittner
Hi Stephan, Thu, 30 Jul 2009 10:31:00 -0700 "Stephan Hermann" wrote: > Hardwired DHCP Entries (wired on MACs) are for pimps, what real > admins want is a TFTPD which does the work ;) > I tweaked tftpy, a tftp(d) suite written in python. > I tweaked it to use as well djagno ORM models. It catches t

Re: Anatomy of an FAI run?

2009-09-10 Diskussionsfäden Peter Bittner
Hi Thomas, > There's another diagram on FAI: > http://www.the-greenman.net/files/fai.gif Is there a vector format of this graphics file too? I'd like to print an A3-size poster of it. This file (the original vector-based document) may be worth being available for updates if anyone volunteers. Ma

Re: Profile based installation (not based on MAC address or hostname)

2009-09-09 Diskussionsfäden Peter Bittner
Hi, On Tue, 2009-09-08 at 19:33 +0200, Thomas Neumann wrote: > I think that's doable, but you're operating in a limited timeframe. So far > i haven't seen a pxe-bootclient that doesn't timeout. I'm not sure if this is a problem for us: we are planning to have the client PCs request a bootloader a

Profile based installation (not based on MAC address or hostname)

2009-09-08 Diskussionsfäden Peter Bittner
(Sorry in advance if this question is completely basic and I should have found out myself... I didn't find a solution in the documentation.) I need to set up a FAI server that provides a - what I believe - rather flexible installation service based on profiles, not on host names, or MAC addresses.

Re: How to skip repository upgrade in 'fai-setup -v'

2009-08-31 Diskussionsfäden Peter Bittner
Henning, can you explain your answer? Is it necessary for a FAISERVER system to be on the Internet to complete the setup successfully? Peter On Mon, 2009-08-31 at 16:59 +0200, Henning Sprang wrote: > Peter Bittner wrote: > > When I execute 'fai-setup -v' the script first

How to skip repository upgrade in 'fai-setup -v'

2009-08-31 Diskussionsfäden Peter Bittner
I'm setting up a FAI server on a Linux box without Internet access. When I execute 'fai-setup -v' the script first finishes installing the base system ("I: Base system installed successfully. Creating base.tgz"). Then the script tries to upgrade the new repository ("Upgrading /srv/fai/nfsroot/live

Re: Update Debian offline repository on FAI CD (or USB stick)

2009-08-14 Diskussionsfäden Peter Bittner
Hi Henning, > I don't exactly understand the connection between the first and last > sentence. Ho are having the need for 5 more packages and having a full > mirror connected - there might be missing just a single explaining sentence? I do not have a repository on a server as you may have though

Update Debian offline repository on FAI CD (or USB stick)

2009-08-13 Diskussionsfäden Peter Bittner
Hi, I need to add a few Debian packages to the FAI CD (or USB stick first, really) to have it available on the FAI server installing, which typically has no Internet connection. I have read about mkdebmirror and debmirror in the FAI documentation, but I have started to add the .deb files by hand s

Re: ERROR: NFSROOT directory ... is mounted using nosuid or nodev

2009-08-10 Diskussionsfäden Peter Bittner
Hi, On Mon, 2009-08-10 at 13:44 +0200, Thomas Lange wrote: > Read the error message. It says, that you have mounted the directory (maybe > /srv) with options nosuid or nodev. This does not work. Change the > mount options in /etc/fstab, remove nosuid and/or nodev and try again. I didn't touch /et

ERROR: NFSROOT directory ... is mounted using nosuid or nodev

2009-08-10 Diskussionsfäden Peter Bittner
Hi, I have installed a faiserver using a CD (created with the .iso provided by the FAI project) and I am now trying to set it up so that clients can install over the network. I have changed some minor things (such as the server's IP address, hostname, fixed the contents of /etc/fai/make-fai-nfsro