Changes between Version 1 and Version 2 of SaliInstallationServer


Ignore:
Timestamp:
02/13/13 12:08:22 (11 years ago)
Author:
dennis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SaliInstallationServer

    v1 v2  
    11[[PageOutline]]
    22
    3 = Imageserver installation =
     3= ImageServer installation =
    44
    5 First download the stable version of SALI from our [ftp://ftp.surfsara.nl/pub/sali/sali.tar.gz ftp]. Extract the tarball
     5First download the stable version of SALI from:
     6  - ftp://ftp.surfsara.nl/pub/sali/sali.tar.gz.
     7
     8Extract the tarball
    69{{{
    7 cd /var/tmp
    8 wget ftp://ftp.surfsara.nl/pub/sali/sali.tar.gz
    9 tar xvf sali.tar.gz
     10# cd /var/tmp
     11# wget ftp://ftp.surfsara.nl/pub/sali/sali.tar.gz
     12# tar xvf sali.tar.gz
    1013}}}
    1114
    1215All files are available in the directory ```sali-VERSION```
    1316
     17== DHCP configuration ==
     18
     19For 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
     23option sali-imgsrv code 224 = ip-address;
     24
     25# Admin network
     26#
     27subnet 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
     35Optional 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
    1438== TFTP/PXE environment ==
    1539
     40Make sure that the your PXE-enabled network card is your first boot device. So you will have complete control of your node.
     41
    1642=== TFTP ===
     43
    1744To setup a TFTP enviroment you can visit one of the following pages
    1845 - RedHat/Centos/Fedora, http://www.thelinuxdaily.com/2010/02/guide-on-tftp-server-setup-in-fedora/
     
    2047 - SUSE/OpenSuse, http://sellingfreesoftwareforaliving.blogspot.nl/2011/11/install-and-configure-tftp-server-for.html
    2148
     49
     50Copy 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/
     57initrd.img
     58kernel
     59# ln -s x86_64 default
     60}}}
     61
    2262=== PXE ===
    2363To setup a dynamic PXE environment visit our project [https://oss.trac.surfsara.nl/pxeconfig pxeconfig]
    2464
     65If 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}}}
    2570
    26 == DHCP configuration ==
     71The 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
    2777
    2878== SALI Server Tools ==