Changes between Version 18 and Version 19 of SaliUsage


Ignore:
Timestamp:
09/21/12 13:40:24 (12 years ago)
Author:
dennis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SaliUsage

    v18 v19  
    2727=== SALI ===
    2828
    29 `Must be documented`
     29The installation instructions can be found [wiki:SaliServerInstallation here].
     30
     31==== !Starting/Stopping/Restarting the server ====
     32
     33Just issue one of the following commands:
     34{{{
     35/etc/init.d/sali start
     36/etc/init.d/sali stop
     37/etc/init.d/sali restart
     38}}}
     39
     40==== The ```sali``` command ====
     41
     42With the SALI server suite, the command ```sali``` is installed. With this command you fetch a image or generate a ```rsyncd.conf``` file for your rsync daemon.
     43
     44===== Fetching a image =====
     45
     46Before you fetch an image, a rsync daemon must be started on your golden client. You can use the shell script ```sali_prepare``` from our [source:trunk/example example] directory.
     47
     48Then you can use the option getimage to start the image transfer from your golden client. Before the transfer starts, sali will ask you the hostname of the golden client and which image must be create/updated.
     49
     50{{{
     51sali getimage
     52}}}
     53
     54It's also possible to exclude some location of your golden client to be transfers to your installation server. To do this, you first must create a exclude file (see the rsync man page for the exclude PATTERN). Then with the option ```-e/--exclude``` you can tell SALI where your exclude file is located.
     55
     56Example for a exclude file:
     57{{{
     58/var/tmp/*
     59/tmp/*
     60/scratch/*
     61/usr/src/*
     62/var/log/*.gz
     63/var/log/ntpstats/*.gz
     64/var/log/atsar/*
     65/var/log/ksymoops/*
     66/home/*
     67}}}
     68
     69===== Creating a rsync configuration file =====
     70The second main option of the command ``sali`` is the generation of a rsyncd.conf file. This is needed to dsitributed your installation scripts and images.
     71
     72To generate a rsyncd.conf, issue the following command:
     73{{{
     74sali rsync
     75}}}
     76
     77SALI will check your configuration will use the following options from you sali.cfg
     78 - From section [wiki:SaliServerInstallation#rsync rsync] option stubsdir
     79 - From section [wiki:SaliServerInstallation#update update] imagedir
    3080
    3181=== Systemimager ===