

			Bootserver HOWTO



0. Inhalt
---------

1. Überblick
	1.1 Hard- und Software-Voraussetzungen
	1.2 Verwendete Protokolle
	1.3 Boot- und Install-Ablauf 
		1.3.2 PXE

2. Server konfigurieren

	2.4. Verzeichnisstruktur
		2.4.1 Boot-Server
		2.2.1 Lokale Konfiguration

4. Server administrieren
	4.x Log Files

5. Target administrieren 
9. Dokumentaion




1. Überblick
------------

1.1 Hard- und Software-Voraussetzungen

1.1.5 Boot- und Install-Server

- Hardware Ausstattung

	üblicherweise auf Installserver,
	sonst SLES9 bzw. SLES10 minimal

- Verwendete Software

        SLES9 SP1
	named
        dhcpd
        atftpd
        xntpd
        xinetd
	instserv-tftp

        apache2
	apache2-worker	


	pxe     (SLES10)       ()
	sylinux (SLES7-SLES10) (pxelinux.0)
Informationen zur Verzeichnisstruktur sind in Abchnitt 2.4 enthalten.

1.2 Verwendete Protokolle

        DHCP
        TFTP
        HTTP
	DNS
        NTP


1.3 Boot- und Install-Ablauf 

s. instserv.HOWTO.txt



2. Server Config
----------------

2.2 Linux

2.2.1 Lokale Konfiguration

/boot/grub/menu.lst
/etc/fstab
/etc/HOSTNAME
/etc/sysconfig/network/ifcfg-eth-id-00:xx:xx:xx:xx:xx
/etc/ntp.conf
/etc/xinetd.d/tftp
/etc/logrotate.conf
/etc/logrotate.d/
/etc/dhcpd.conf
/etc/named.conf/etc/named.conf
/var/lib/named/pilot.net.zone
/var/lib/named/192.168.1.zone
/etc/apache2/vhosts.d/instserv.conf


2.2.1.4./etc/dhcpd.conf

2.2.1.5./etc/named.conf/etc/named.conf

2.2.1.6./var/lib/named/pilot.net.zone

2.2.1.7./var/lib/named/192.168.37.zone

2.2.1.8./etc/ntp.conf

2.2.1.10.

2.2.1.11./etc/xinetd.d/tftp

# chmod 644 /etc/xinetd.d/tftp
# vi /etc/xinetd.d/tftp
service tftp
{
        socket_type     = dgram
        protocol        = udp
        wait            = yes
        user            = root
        server          = /usr/sbin/in.tftpd
        server_args     = -v5 --logfile /var/log/tftpd.log /srv/tftp
        disable         = no
}

2.2.1.12./etc/logrotate.conf

2.2.1.13./etc/logrotate.d/


2.4. Verzeichnisstruktur

2.4.1 Boot-Server

<tftproot> = /srv/tftp/

- PXE

/srv/tftp/i386/pxe

Weitere Informationen sind in dirs-fils-boot.pdf enthalten.



4. Server administrieren
------------------------

4.1. Log Files

/var/log/tftpd.log
/var/log/xinetd.log
/var/log/ntp
/var/log/messages
/var/log/apache2/access_log
/var/log/apache2/error_log
/var/log/rcapache2.out
/var/log/rc.dhcpd.log


4.4. AutoYast Control File Target zuordnen
 
 # cd /srv/www/htdocs/inst/yast.cfg/

 #ln -s <configfile.xml> xxxxxxxxxxxx
 Beispiel:
 # ln -s nld9-ide-ati-i386.xml 003056013512
 
 Ändern bestehender Links

 # xmllnk gwinld.xml 000d9dcf1d35
 oder
 # rm xxxxxxxxxxxx
 # ln -s <configfile.xml> xxxxxxxxxxxx

 Beispiel:
 # rm 003056013512
 # ln -s nld9-ide-ati-i386.xml 003056013512


4.5. PXE-Link für Target setzen

# cd /srv/tftp/i386/pxe/pxelinux.cfg

Anlegen neuer Links 
# pxelnk -i <pxe_cfg> 01-xx-xx-xx-xx-xx-xx
oder
# ln -s <pxe_cfg> 01-xx-xx-xx-xx-xx-xx

- Beispiel: 
# pxelnk -i oes9-http 01-00-67-89-45-21

Ändern bestehender Links
# pxelnk <pxe_cfg> 01-xx-xx-xx-xx-xx-xx

# grep client12 /srv/tftp/i386/pxe/pxelinux.cfg/MAC-Liste
00:0d:87:5d:a6:cc       client12        Client

Target neu installieren
# pxelnk nld9-http 01-00-0d-87-5d-a6-cc
# ssh root@client12 reboot


4.7. AutoYaST Config Diskette erzeugen

Eine DOS-formatierte, beschreibbare Diskette muss Floppy-Laufwerk des Servers
alice eingelegt sein (s.o.).

alice:~ # mcopy /srv/tftp/i386/yast.cfg/gnomenld.xml a:/info
alice:~ # mdir a:
...


