SettingUpClonezillaDRBLonUbuntu

Setting up a Clonezilla/DRBL server on Ubuntu 7.04

Ummm....what is it and why?

The DRBL-based PXEBoot Clonezilla is used to clone many computers simultaneously. DRBL is an open source solution to managing the deployment of the Linux and/or Windows operating system across many clients. Imagine the time required to install GNU/Linux on 40, 30, or even 10 client machines individually! DRBL allows for the configuration all of your client computers by installing just one server machine. Using DRBL with Clonezilla allows you to use multi-casting to deploy many computers in the time that it might take to do just one. There are many expensive commericial "cloning" programs out there today, but DRBL/Clonezilla is free, open source, and downright FAST! For even more information visit the Clonezilla website http://clonezilla.sourceforge.net/ and the DRBL website http://drbl.sourceforge.net/

Requirements:

A PC with ample Hard drive space and RAM (my own guesses are at least 40gb and 512mb to 1gb RAM or more) At LEAST two network cards. You can use more to segment the bandwidth, but at least two are necessary

First set up an Ubuntu machine (Q. Is this machine going to be the DRBL server?)...I used a standard Ubuntu workstation install. Update it.

Add the repositories for DRBL by editing the /etc/apt/sources.list file

sudo gedit /etc/apt/sources.list

and insert the following 2 lines at the bottom

deb http://free.nchc.org.tw/ubuntu feisty main restricted universe multiverse
deb http://free.nchc.org.tw/drbl-core drbl stable

Next you need to grab the keys...use the following commands

sudo wget http://drbl.nchc.org.tw/GPG-KEY-DRBL
sudo apt-key add GPG-KEY-DRBL

Now let's update and install

sudo apt-get update
sudo apt-get install drbl

Now it's time to run the setup program!

You really should do this from the server itself (as opposed to via ssh)...don't ask why, but the server complains sometimes and even advises you to run it locally.

This is an interactive set up script. After running this (and YES...it MUST be connect to the internet to work as it will use "apt-get" to download more packages)

sudo /opt/drbl/sbin/drblsrv -i

Afterwards, you'll need to run this command (also from the server)

sudo /opt/drbl/sbin/drblpush -i

This will walk you through setting up the diskless boot for your clients...especially for Clonezilla.

Advice: When it asks if you want to install Linux images...say no....you'll just do Clonezilla. Once everything is done and ready....you'll need to run

sudo /opt/drbl/sbin/dcs

or

sudo ./dcs (from that directory)

This will run a script to let you configure the PXE boot process. If using Clonezilla....select "Clonezilla start"

See the example screen below:

http://drbl.sourceforge.net/screenshot/album/00_DRBL/01-dcs_menu_eng.jpg

TODO: run through the steps of the script for newbies.

SettingUpClonezillaDRBLonUbuntu (last edited 2008-08-06 16:16:20 by localhost)