Unterschiede zwischen den Revisionen 9 und 13 (über 4 Versionen hinweg)
Revision 9 vom 2010-03-25 15:13:48
Größe: 1786
Autor: dsl61-75
Kommentar:
Revision 13 vom 2010-03-25 18:35:26
Größe: 1476
Autor: dsl61-75
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 22: Zeile 24:
 * 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 24: Zeile 41:
192.168.200.33 fai-master-org
Zeile 28: 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 54: Zeile 49:

* Vorausetzungen auf dem fai-master
Zeile 55: Zeile 53:
   * needs /etc/default/dhcpd.conf "eth1"
* needs on fai-master:

   * in
/etc/default/dhcp3-server

{{{
INTERFACES=
"eth1"
}}}
Zeile 57: 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

KurtGramlich/FAI (zuletzt geändert am 2013-11-03 12:10:59 durch localhost)

Alle Inhalte in diesem Wiki stehen unter der Creative Commons SA 4.0 DE Lizenz