Changes between Version 1 and Version 2 of SaliInstallationServer
- Timestamp:
- 02/13/13 12:08:22 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SaliInstallationServer
v1 v2 1 1 [[PageOutline]] 2 2 3 = Image server installation =3 = ImageServer installation = 4 4 5 First download the stable version of SALI from our [ftp://ftp.surfsara.nl/pub/sali/sali.tar.gz ftp]. Extract the tarball 5 First download the stable version of SALI from: 6 - ftp://ftp.surfsara.nl/pub/sali/sali.tar.gz. 7 8 Extract the tarball 6 9 {{{ 7 cd /var/tmp8 wget ftp://ftp.surfsara.nl/pub/sali/sali.tar.gz9 tar xvf sali.tar.gz10 # cd /var/tmp 11 # wget ftp://ftp.surfsara.nl/pub/sali/sali.tar.gz 12 # tar xvf sali.tar.gz 10 13 }}} 11 14 12 15 All files are available in the directory ```sali-VERSION``` 13 16 17 == DHCP configuration == 18 19 For PXE booting you will need to install a DHCP server. On our site we use the isc DHCP server. The configuration here below shows an example on how to configure the pxeboot functionality on your network. 20 21 {{{ 22 # define the option 23 option sali-imgsrv code 224 = ip-address; 24 25 # Admin network 26 # 27 subnet 192.168.144.0 netmask 255.255.248.0 { 28 # The value for sali-imgsrv has to be an ip address 29 option sali-imgsrv 192.168.146.10; 30 next-server 192.168.146.10; 31 filename "pxelinux.0"; 32 } 33 }}} 34 35 Optional you can specify a special dhcp option that SALI uses to identify which imageserver must be used. We have chosen for option code 224. 36 37 14 38 == TFTP/PXE environment == 15 39 40 Make sure that the your PXE-enabled network card is your first boot device. So you will have complete control of your node. 41 16 42 === TFTP === 43 17 44 To setup a TFTP enviroment you can visit one of the following pages 18 45 - RedHat/Centos/Fedora, http://www.thelinuxdaily.com/2010/02/guide-on-tftp-server-setup-in-fedora/ … … 20 47 - SUSE/OpenSuse, http://sellingfreesoftwareforaliving.blogspot.nl/2011/11/install-and-configure-tftp-server-for.html 21 48 49 50 Copy the following files from the extracted tar.gz to your tftp directory. Depending on your operating systems this can be ```/srv/tftpboot, /var/lib/tftboot```. In our examples we shall use ```/data/tftp``` 51 {{{ 52 # cd /data/tftp 53 # mkdir sali 54 # cd sali/ 55 # cp -a /var/tmp/sali-1.5.8/x86_64 . 56 # ls -1 x86_64/ 57 initrd.img 58 kernel 59 # ln -s x86_64 default 60 }}} 61 22 62 === PXE === 23 63 To setup a dynamic PXE environment visit our project [https://oss.trac.surfsara.nl/pxeconfig pxeconfig] 24 64 65 If you have setup you PXE environment you copy the example file to the `pxelinux.cfg` directory in your `tftp` root. 66 {{{ 67 # cd /var/tmp/sali-1.5.8/examples 68 # cp pxelinux.example /data/tftp/pxelinux.cfg/default.sali__test 69 }}} 25 70 26 == DHCP configuration == 71 The default action of the `default.sali_test` is to start a SALI rescue shell: 72 {{{ 73 # pxeconfig <nodename> -f default.sali_test 74 }}} 75 76 27 77 28 78 == SALI Server Tools ==