SystemImager

From MDWiki
Jump to navigationJump to search
mkdir systemimager
cd systemimager
wget http://compbio.chemistry.uq.edu.au/mediawiki/upload/b/ba/Install.txt
mv Install.txt Install.pl
chmod +x Install.pl


  • Now we use the installer to grab the required packages:
    • systemimager
    • systemimager-bittorrent
    • systemimager-client
    • systemimager-common
    • systemimager-flamethrower
    • systemimager-server
    • systemimager-x86_64boot-standard
    • systemimager-x86_64initrd_template


./Install.pl -v --download-only --tag stable --directory . systemconfigurator systemimager-client \
 systemimager-common systemimager-x86_64boot-standard systemimager-x86_64initrd_template systemimager-server \ 
 systemimager-bittorrent systemimager-flamethrower

Setup the imaging server

  • First off, I installed some files that may be required later (if not these can be removed):
yum install tftpd
yum install tftp* (xinetd dependency which is required will be grabbed)
NOTE: These packages are also suggested: pxe dhcp-server dhcp


  • Transfer the required files to guava
scp systemconfigurator-* systemimager-common-* systemimager-server-* systemimager-x86_64boot-standard-* \
systemimager-bittorrent-* username@guava:/working/dir
  • Install the packages on guava
rpm -ivh systemconfigurator-* (yum install perl-AppConfig to satify dependency)
rpm -ivh systemimager-common-* systemimager-server-* systemimager-x86_64boot-standard-*
(yum install  perl-XML-Simple to satisfy dependency)
rpm -ivh systemimager-bittorrent-*
  • Setup the directory structure
mkdir /other/systemimages(images, overrides, tarballs, torrents)

  • Edit the config file
cd /etc/systemimager
cp systemimager.conf systemimager.conf.BAK
vi systemimager.conf -- Change to reflect the directory structure created above

Setup the golden client

  • OPEN: 873 TCP (not sure if this is required on the image-server)
  • Install the required packages
rpm -ivh systemconfigurator-* (yum install perl-AppConfig)
rpm -ivh systemimager-common-* systemimager-client-* systemimager-x86_64initrd_template-*
  • These files need to be possibly edited:
client.conf
updateclient.local.exclude -- THIS DEFINATELY: To avoid nfs shared etc.


Prepare an image of the golden client

NOTE: The si_* tools are placed in:

  • /usr/sbin/si_prepareclient
  • /usr/sbin/si_updateclient
  • On the golden client:
/usr/sbin/si_prepareclient --server guava