Größe: 1870
Kommentar: 1 Fehler gefunden
|
Größe: 1476
Kommentar:
|
Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
Zeile 6: | Zeile 6: |
* 2 Netzwerkkarten, davon eine als internes Netzwerk von Virtualbox, darüber wird später via PXE gebootet. * Die erste Netzwerkkarte als bridge und somit Verbindung zum Internet, lokalen Mirror etc. |
|
Zeile 21: | Zeile 23: |
/!\ verflixter Fehler: mirror war defekt, Pakete wurden nur teilweise geladen. ;-) | * fai-setup (./) * inetd gestoppt * tfptd in inetd.conf auskommentiert * in /etc/default/tftpd-hpa {{{ #Defaults for tftpd-hpa geändert: #RUN_DAEMON="no" RUN_DAEMON="yes" #OPTIONS="-l -s /var/lib/tftpboot" OPTIONS="-l -s /srv/tftp/fai" }}} Kontrolle: |
Zeile 25: | Zeile 41: |
192.168.200.33 fai-master-org | |
Zeile 29: | Zeile 44: |
* fai-setup nur teilweise, endet mit {{{ ERROR: 32512 32512 ERROR: chroot /srv/fai/nfsroot/live/filesystem.dir apt-get clean return code 127 ERROR: 32512 32512 ERROR: chroot /srv/fai/nfsroot/live/filesystem.dir aptitude -R -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install nfs-common fai-nfsroot module-init-tools dhcp3-client ssh rdate lshw portmap bootpc rsync lftp less dump reiserfsprogs e2fsprogs usbutils hwinfo psmisc pciutils hdparm smartmontools parted mdadm lvm2 dnsutils ntpdate dosfstools cvs jove xfsprogs xfsdump procinfo dialog discover mdetect console-tools console-common expect iproute udev subversion cfengine2 libapt-pkg-perl grub lilo read-edid linux-image-486 aufs-modules-2.6-486 return code 127 ERROR: 32512 32512 ERROR: chroot /srv/fai/nfsroot/live/filesystem.dir apt-get clean return code 127 ERROR: 32512 32512 ERROR: chroot /srv/fai/nfsroot/live/filesystem.dir apt-get clean return code 127 }}} |
* tftpd-hpa als daemon gestartet |
Zeile 55: | Zeile 49: |
* Vorausetzungen auf dem fai-master |
|
Zeile 56: | Zeile 53: |
* needs /etc/default/dhcpd.conf "eth1" | * needs on fai-master: * in/etc/default/dhcp3-server {{{ INTERFACES="eth1" }}} |
Zeile 58: | Zeile 63: |
------------- tftpd-hpa in inetd.conf auskommentiert? Oder fehlte der? es gab tftpd |
Aufbau einer Testumgebung mit FAI
Alles in Virtualbox
Installation eines normalen Debian -> Fai-Server
- 2 Netzwerkkarten, davon eine als internes Netzwerk von Virtualbox, darüber wird später via PXE gebootet.
- Die erste Netzwerkkarte als bridge und somit Verbindung zum Internet, lokalen Mirror etc.
Debian Installation (minimal)
aptitude install fai-quickstart
- Konfiguration von
- fai.conf
LOGUSER=fai FAI_CONFIG_SRC=nfs://fai-master$FAI_CONFIGDIR
- make-fai-nfsroot.conf
NFSROOT_ETC_HOSTS="192.168.1.250 fai-master" FAI_DEBOOTSTRAP="lenny http://192.168.200.54/debian/"
fai-setup
- inetd gestoppt
- tfptd in inetd.conf auskommentiert
- in /etc/default/tftpd-hpa
#Defaults for tftpd-hpa geändert: #RUN_DAEMON="no" RUN_DAEMON="yes" #OPTIONS="-l -s /var/lib/tftpboot" OPTIONS="-l -s /srv/tftp/fai"
Kontrolle:
- hosts
192.168.1.100 fai-client.gramlich.localnet fai-client demohost 192.168.1.250 fai-master.gramlich.localnet fai-master
- tftpd-hpa als daemon gestartet
Installation eines Fai-Clients via PXE
* Vorausetzungen auf dem fai-master
test with internal network
- needs on fai-master:
- in/etc/default/dhcp3-server
INTERFACES="eth1"
- success client gets ip
tftpd-hpa in inetd.conf auskommentiert? Oder fehlte der?
es gab tftpd