On using SystemImager

June 2007


SystemImager has a Wiki.

Procedure 74.  Installing the server

  1. apt-get install systemimager-server systemimager-server-flamethrowerd installs the server.

  2. In /etc/systemimager/systemimager.conf the variables DEFAULT_IMAGE_DIR and TFTP_DIR must be set to sensible values. NET_BOOT_DEFAULT Needs to be set to "LOCAL" to make the client install once and boot from disk later.

  3. si_mkbootserver --interface=eth2 --localdhcp=y --kernel=/var/lib/systemimager/boot/i386/glite-WN/kernel --initrd=/var/lib/systemimager/boot/i386/glite-WN/initrd.img --tftpdir=/var/lib/tftpboot --pxelinux=/usr/lib/syslinux/pxelinux.0 to create DHCP config

  4. si_mkclientnetboot --verbose --netboot --clients "node116" to create /var/lib/tftpboot/pxelinux.cfg/0A000374

  5. si_getimage --golden-client 10.0.3.116 --image node116

  6. si_addclients

Procedure 75.  Creating the golden client

  1. apt-get install systemimager-client installs the client on a Debian host. In other distributions this may not be so straightforward.

  2. pushd /usr/share/systemimager/boot/ && ln -s i386 x86_64 && si_prepareclient --server 10.0.3.1 -yes

  3. si_prepareclient --server 10.0.3.1