SystemImager allows you to retrieve an entire system image from a golden client to an image server.
SystemImager use SystemConfigurator to custom configure autoinstall clients. SystemConfigurator works with distributions based on their system configuration style rather than needing to know the name of the distribution. To determine a system's footprint, SystemConfigurator identifies the configuration files in use and associates that footprint with a configuration style. It then correctly make settings, such as hostname or IP address, without needing to know the name of the distribution.
All clients should have hardware that is as similar as possible. Most importantly they should use the same chipset on the network device(s) and the same number and kind of hard drive(s). The hard drives may be of different capacities, and disks maybe larger with no problem, and smaller within reason.
Advanced users can modify /etc/systemimager/autoinstallscript.conf file within an image to make adjustment, then run the mkautoinstrallscript command to install an image on clients with varying disk configurations.
For PXE installations, you need a compatible TFTP server running on the boot server, which is usually the same machine as the image/DHCP server. In addition to a TFTP server, PXE network-based installations may also require a PXE daemon to run on your image server. This requirement depends on the firmware used on the client side and the capabilities of your DHCP server.
addclients: This command tells your image server which image to install on the autoinstall clients by creating soft links to the master autoinstall script with the name of each host that will receive that image. addclients also allows you to populate the etc/hosts file with sequential host names and IP addresses.
autoinstall media: media that is used to boot an autoinstall client to begin the autoinstall process. Autoinstall media can be a floppy, a CDROM, the network, or local hard drive of the autoinstall client.
autoinstall script: one or more scripts associated with an image, each unique to a specific hardware/partitioning/filesystem/network configuration. The getimage command creates an initial mkautoinstallscript command. The autoinstall script (also called the ".master script") is download and executed by the autoinstall client, and perform most of the autoinstall process. Names of autoinstall scripts begin with the image name and end in .master (ie, my_webserver_image_v1.master)
getimage: a command run from the image server to pull a system image from a golden client.
local.cfg: a configuration file that can be used for autoinstall clients in lieu of DHCP, DNS, and/or the /var/lib/systemimager/scripts/hosts file on the image server.
mkdhcpserver: a command that creates a SystemImager -appropriate /etc/dhcpd.conf file. DHCP can be used to assign IP addresses to autoinstall clients.
prepareclient: a command to prepares the golden client to have its image retrieved and creates an etc/systemimager directory with information about the golden client, such ask disk partitioning scheme(s)
updateclient: a command that updates or synchronizes client systems to a new or updated image after the initial autoinstall, enabling software and content distribution.
mkbootserver: a utility for configuring a network boot server. Currently just supports configuring PXE boot servers for i386 clients.
SystemInstaller is an installation tool which is designed to build Linux images. It can be used to build and install an image directly to a machine, or it may build secondary images to be distributed to remote clients. See http://systeminstaller.sourceforge.net/
Setting up the image server: 1. wget http://download.systemimager.org/pub/sis-install/install 2. chmod +x install 3. cpan install AppConfig 4. cpan install XML::Simple 5. ./install —download-only systemimager-server systemconfigurator systemimager-common systemimager-boot 6. rpm -Uvh *.rpm —nodeps 7. chkconfig —add systemimager 8. Install FlameThrower for multicast installation
Setting up the golden client 1. wget http://download.systemimager.org/pub/sis-install/install 2. chmod +x install 3. cpan install AppConfig 4. cpan install XML::Simple 5. ./install —download-only systemimager-client systemimager-i386initrd_template systemimager-i386boot-standard systemimager-common 6. rpm -Uvh *.rpm —nodeps
Preparing your golden client 1. Customize your golden client to your desire 2. Run the prepareclient command on your golden client (/usr/sbin/si_prepareclient —server 192.168.20.27) 3. Choose and configure the method for assigning IP addresses to your autoinstall clients. You can change these settings later by running mkautoinstallscript
Pull the image to the image server 1. Run getimage on the image server to pull the golden client to the image server 2. Run addclients on the image server to tell it which clients will receive what image and to populate the image server's /etc/hosts and /var/lib/systemimager/scripts/hosts file
updateclient -autoinstall -server imageserver -configure-from eth0 //create local.cfg. When the autoinstall client boots, it will look for this file instead and use the provided values instead of getting them from DHCP