wiki:SaliUsage

Version 13 (modified by dennis, 12 years ago) (diff)

--

Usage

First make sure that your SALI installation works. We now give a brief tutorial howto clone a node and make a simple installation script.

For cloning a node and generation of configurations files SALI is still dependend on:

SALI uses the same concepts as systemimager. To get familiar with terms and concepts you can read the system imager manual:

Server

SARA has written a replacement for systemimager server tools, but is not yet documented or ready for release. This software is in use at the SARA site since early 2011. It supports the rsync and bittorent installation protocol.The source can be found here:

An other alternative is to install the systemimager server tools:

  • systemimager-server

More information about the SALI server tools, see [SaliUsageServer here]

Client

On the client node the following packages are required:

  • systemimager-client
  • systemconfigurator

The software is required to clone a node and for generation of configuration files (SALI post-install scripts).

Cloning

Login on the node you want to clone and use si_prepareclient, eg:

ssh gb-r6n1

gb-r6n1.irc.sara.nl:/root 
root#  si_prepareclient -y -server install -no-uyok
Using "parted" to gather information about disk:
    /dev/sda

Use of uninitialized value $v1 in split at /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
Use of uninitialized value $v1 in split at /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
Use of uninitialized value $v1 in split at /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
Use of uninitialized value $v1 in split at /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
Use of uninitialized value $v1 in split at /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
Use of uninitialized value $v1 in split at /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
Use of uninitialized value $v1 in split at /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
Use of uninitialized value $v1 in split at /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
Use of uninitialized value $v1 in split at /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
Use of uninitialized value $v1 in split at /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
Use of uninitialized value $v1 in split at /usr/lib/systemimager/perl/SystemImager/Common.pm line 199.
WARNING: cannot find the version of LVM or LVM version is not supported!
Starting or re-starting rsync as a daemon.....
done!

This client is ready to have its image retrieved.  You must now run 
the "si_getimage" command on your imageserver.

Automatically create configuration file for systemconfigurator:
  >> /etc/systemconfig/systemconfig.conf

Login on your SALI installation server and run:

si_getimage -golden-client gb-r6n1 -image test_image

Must be rewritten