DRBL_ Clonezilla by wulinqing


           DRBL, Clonezilla

    Steven Shiau, Ceasar Sun, Jazz Wang,
                  Thomas Tsai
National Center for High-Performance Computing
                    Sep, 2009
   Introduction to DRBL/Clonezilla
       About DRBL/Clonezilla
       Users in Taiwan and Worldwide
       Related Activities
       Success Stories
       Testimonials
   Demo
       DRBL demo
       Clonezilla demo
   Q&A
    Free Software Lab
   Free software projects
    developed by NCHC's Free
    Software Lab
   Our goal is to create a Free
    Software Smart Classroom
    (FSSC) based on our HPC
        DRBL, Clonezilla, DRBL-
         WinRoll, Tux2Live, PartClone
        Cluster Computing
        Grid Computing
        Cloud computing: DRBL-
         Hadoop, DRBL-Xen

     DRBL                                Clonezilla
     Diskless Remote Boot in Linux
 Provides a “diskless”               A partitioning and disk
 and/or “systemless”                 cloning utility similar to
 environment for client              Ghost and True image
   Saves Money
       No HD required in the client machine(s)
       Truly “Free” Software--freedom to
        improve upon and free to use
   Saves Time
       All programs are installed on a single
       One command to
        Shutdown/Reboot/Power On/Off all client
   Makes Life Easier
       No client disk failure
       Client machines are plug-and-play
       Computer classroom environment is
        extremely flexible
          GNU/Linux & MS Windows co-exist
             DRBL & LTSP
   DRBL project was started in 2002 for PC
    cluster, at that time LTSP does not support 'fat
    client' mode
   What's the differences:
       DRBL: Distributed Resource <-> LTSP:
        Centralized Resource
       DRBL: Powerful Client <-> LTSP: Thin Client
   DRBL allows 3D gaming and video playback in
    the client
   DRBL is suitable for HPC (high-performance
    computing) , cluster computing
         Either diskless, systemless, or diskfull (by
          Clonezilla SE)
              Why DRBL?
    DRBL Features:
       NFS-based diskless GNU/Linux
       SAN-based diskless MS Windows, GNU/Linux (SAN: Storage
        Area Network), SAN Boot includes AoE (ATA over Ethernet)
        and iSCSI
       Memory-based diskless mode

           For small size GNU/Linux, e.g. DSL, PuppyLinux, Clonezilla
            live, Gparted live
           FreeDOS

       Clonezilla Server Edition (SE)

       A single command is required to switch the client environment

           DRBL, FreeDOS, OS in local HD, memtest...

       Linux network installation

   Not suitable for older machines and/or thin clients
   //NOTE// From version 5 (released '07), fat client mechanism is
    supported in LTSP
“Bare Metal” Backup and Restore
   “Bare metal” restore -> A technique in the
    field of data recovery and restoration where
    the backed-up data is available in a form
    which allows one to restore a computer
    system from "bare metal” (i.e. without any
    requirements as to previously installed
    software or operating systems). –
   Image-based backup & restore is different
    from file-based (e.g. 'cp', 'tar', 'rsync'...)
Clonezilla Features
   Free (GPL) Software
   File systems supported: Ext2/3/4,
    ReiserFS, Reiser4, XFS, jfs, HFS+,
    FAT and NTFS
   Linux Logical Volume Manager 2
    (LVM2) stackable block device is
   Multicast supported in Clonezilla
    Server Edition (SE)
Clonezilla Features
   Saves and restores partitions and
    entire disks
   If file system is supported, only the
    used blocks in the HD are saved and
    restored. For unsupported file
    systems, sector-to-sector copying is
    done via dd.
   DRBL-Winroll: The hostname, group,
    and SID of the cloned MS Windows
    machine can be changed
   Based on existing software:
       Partimage
       ntfsclone
       dd
       updcast
       DRBL (used for massive
       Partclone (Developed @ the
        NCHC, '07)
       and more.....
   http://partclone.org
   Developed by Thomas Tsai and
    Jazz Wang
   Only the used blocks are saved and
   Supports Ext2/3/4, ReiserFS,
    Reiser4, XFS, HFS+, NTFS & FAT
   Will support new file system (e.g.
    UFS, BTRFS) in the future!
Two Clonezilla Types
   Clonezila SE (Server Clonezilla Live
    Edition)              Single machine
       Massive cloning          backup
       Network boot (PXE)      Based on
       DRBL server is           DebianLive (live-
        required                 helper and live
                                CD/USB flash
                                 drive is required
                                Also available in
                                     Clonezilla-
                                     Parted Magic
    Different client modes in
   NFS-based
        For diskless GNU/Linux

        Client connected to server via NFS

   SAN-based
        diskless MS Windows or GNU/Linux

        Includes AoE (ATA over Ethernet) and iSCSI

        Client connected to server via SAN

   Memory-based
        For small size GNU/Linux, e.g. DSL, PuppyLinux,
         Clonezilla live, Gparted live, or FreeDOS...
        Client load all the system to its own memory via
         network. After that, network connected is not required.
DRBL Schematic
                                           public ip

                                      NIC 1
                    NIC 2              NIC 3             NIC 4

                        private ip          private ip        private ip

                 switch 1             switch 2           switch 3

node001       node013       node014              node027         node028       node040
          ~                                 ~                              ~
      • Benefit: Network is everywhere, cheap, and fast
      • In DRBL
         – The hard drive bus cable is replaced by network 
         – All DRBL clients share 1 hard drive in the server

                                                      Diskfull PC
              +                   +               =

Diskless PC       image source: www.mren.com.tw
• http://drbl.sourceforge.net
• Supported GNU/Linux distributions, i386/X86_64
       •   Debian, Ubuntu
       •   Fedora, RHEL, CentOS, Scientific Linux
       •   Mandriva
       •   OpenSuSE
• 4 steps to install
   – Install GNU/Linux
   – Install DRBL package
   – Configure server
   – Configure client
• Normally it takes about 1 to 2 hours to setup a DRBL 
  server for a computer classroom
NFS-based DRBL (Includes Clonezilla SE)

    server              switch                client nodes
                      pxe/etherboot          pxe/etherboot

 DHCP          IP    

 TFTP        kernel     boot                      boot

 NFS file system        /, /usr, /home ...   /, /usr, /home ...

 NIS     account         user login               user login
Modes of NFS-based DRBL
                    Full DRBL      Full Clonezilla    DRBL SSI     Clonezilla Box
/etc, /var of 
client               NFS­based       NFS­based       Tmpfs­based   Tmpfs­based
Files in /etc and /
var of client after 
reboot                 Kept             Kept            Gone           Gone

Extra space in 
server/client       ~ 200 MB*        ~ 200 MB*           0               0
Max client 
#/ethernet card 
in server              253               253            253             253
* depends on the packages installed on the server
    SAN-based DRBL client
   Based on SAN boot (AoE, iSCSI)
      Client boots via PXE -> gPXE -> AoE
      Server runs AoE or iSCSI service
   It allows you to boot OS that do not support file-
    based network booting
   For more info, please refer to:
          http://drbl.sourceforge.net/one4all/drbl-
          http://etherboot.org/wiki/sanboot
  SAN-based DRBL client

DRBL Server

              5 AoE DRBL Clients
                                  NFS­based                            SAN­based
A regular PC* as      ~ 30­40 clients                    ~ 5 clients /disk on server
file arch            Every client has its own /etc/ and Every client has its own disk (it's a 
                     /var, and shares other dirs (e.g. / file on server)
                     usr, /home...) with server
Pros                 A normal PC can service a nor­ Works for GNU/Linux and MS 
                     mal computer classroom, easier  Windows clients
                     to modify files of clients on 
                     server, disk space required is less
Cons                 Only works for GNU/Linux  Service a few clients, more disk 
                     clients                             space required on server
*E.g. Intel Core 2 CPU @1.86 GHz,  2 GB RAM, 250G 7300 rpm SATAII HD, 2 Gigabits 
NICs, with Gigabits switch
                  DRBL Live
   Based on Debian Live
     Created by live-helper, and live-initramfs
      is used
     Includes:
              DRBL server, the diskless server,
              Clonezilla SE, the massive deployment server
              Clonezilla live, the disk or partition image or clone tool
              GParted, the GNOME partition editor for creating,
               reorganizing, and deleting disk partitions.
              More programs, e.g. disk or partition rescue programs,
               web browser, picture viewer...
       Now DRBL supports Chinese, English,
        French, Italian, Japanese, and Spanish
    Clonezilla Live
   On CD, USB flash drive, or PXE server
   Languages:
        Chinese, English, French, Italian, Japanese,
   General Purpose Use- Save or restore interactively
   Special Purpose Use- Recovery CD/USB drive
        Clonezilla image embedded in CD or USB drive
        One command restores the entire image!
        One key restores the entire image!
   Completely Customizable! Make Clonezilla
    Live work for you!
Clonezilla Live
DRBL/Clonezilla Use In Taiwan
  Public Sector:
   Primary/High schools 295
   Universities          95
   Local governments     35
   Hospitals              3
   TV stations            1
  SMBs                124
  Misc.                 2

  Known sites/users >500!!!
             DRBL/Clonezilla Users Worldwide



                >1,000,000 DRBL/Clonezilla Downloads
Related Activities - 2007
   Ubuntu Live Conference
       Portland, Oregon, USA, July 23rd, 2007
       Clonezilla: It's Better Than Ghost!
       Speaker: Kristian Hermansen, Security
        Researcher/Developer, Cisco Systems, Inc.
       http://www.ubuntulive.com/cs/ubuntu/view/e_se
   LinuxWorld Conference & Expo
       San Francisco, USA, Aug, 2007
       Dell booth
       Massive Deployments
       Speaker: Torsten Spindler, Canonical
    Related Activities - 2008
   Libre Software Meeting (LSM) 2008
        Mont-de-Marsan, France, July 1st~5th, 2008
        “Clonezilla Live, the “Bare Metal” Backup and
         Recovery Tool“
        Speaker: Steven Shiau
        http://2008.rmll.info/Clonezilla-live-the-bare-
   LinuxWorld Conference & Expo
        San Francisco, USA, Aug, 2008
        .org Pavilion (booth #: .org 3)
        BoF: Clonezilla Hands-on Lab: The Universal
         “Bare Metal” Backup and Recovery Tool for
         Linux, Mac OS and MS Windows
    Related Activities - 2009
   Libre Software Meeting (LSM) 2009
        Nantes, France, July 7-11, 2009
        “DRBL: The diskless GNU/Linux and MS
         Windows solution“
        http://2009.rmll.info/DRBL-The-diskless-GNU-
   OpenSource World Conference & Expo
        San Francisco, USA, Aug 12-13, 2009
        .org Zone (booth #: .org 1)
Ubuntu Live, USA, Jul/07
LinuxWorld; “Massive Deployments;” Aug/07
International Free Software Contest
   DRBL is the winner in the 'Public Sector
    Software' category at Les Trophees du
    Libre 2007 in France
       Finals and awards ceremony: Nov. 29th,
       http://www.freesoftwareawards.com or
Intrnl. Free Software Contest, France, Nov/07
LSM 2008, France
LinuxWorld, San Fran, '08
                                      Aug 4-7, 2008
   One of the largest Linux expos.
       .org Pavilion (booth #: .org 3)
       BoF: “Clonezilla Hands-on Lab: The
        Universal “Bare Metal” Backup and
        Recovery Tool for Linux, Mac OS and MS
        Windows” (Aug. 6th, '08)
National Applied Research Laboratories Award
    DRBL/Clonezilla team is the winner in the
     category 'Technology Development' for 2008
       National Award in Taiwan
                  Executive Yuan
The 2008 Award for Outstanding Contributions in Science
                   and Technology
  Success Stories
Da-Feng Elementary School, Taipei,
                              DRBL/Clonezilla is
                               used to manage
                               computer classroom
                              Special Report: Linux
                               in Education, 2006 on
                              DRBL/Clonezilla press
                               conference @ Da-
                               Feng Elementary
                               School 07/04/07
 source: distrowatch.com
    Success Stories
    Hualien County, Taiwan

   Used Clonezilla
    Server Edition (SE) to
    clone GNU/Linux
   145 schools (131
    Primary/Jr.; 14 Senior
    High) use as of June
   Letter of
    Commendation from
    Hualien County
Clonezilla Used in Taiwan's
“National PCs”

   Source: De-Wen Huang
   Kristian Hermansen
   Cisco Systems, Boston, MA, Sept. '07
   Cloned a 5GB image to 64 machines in
    5 under minutes!!!
       "I used Clonezilla in the design of our Cisco
        Computational Cloud Cluster to multicast a
        5GB disk image to 64 machines
        simultaneously and all in under five minutes!
        Amazing! Thanks Clonezilla!"
   Barny Sanchez
   Information Systems Security,
    Southbridge, Massachusetts
   Cloned 1,084 systems using DRBL
    (Clonezilla SE)
       "I've used DRBL to clone 1,084 systems so far! It was
        simple! All I had to do was divide each system into
        groups of 80-100 PCs and then use multicasting to do the
        cloning. It took anywhere from 16-38 minutes to clone
        each system. The images of various operating systems
        averaged 1GB in size. DRBL has reduced the
        recovery/cloning factor by more than 500% as compared
        to the commercial solution I used previously! You can
        imagine how happy my project managers are!"
               DRBL Demo
• Diskless client (NFS-based)
• Diskless client (Memory-based, small Linux)
   –   DSL
   –   PuppyLinux
   –   Gparted Live
   –   Clonezilla Live
• Diskless MS windows (SAN-based)
   – AoE boot: MS windows XP
• DRBL Live
   – DRBL Live 1.0.0-9
        Clonezilla Demo
• Clonezilla Live
   – Clonezilla Live 20090910-karmic
      • http://www.clonezilla.org/clonezilla-live
• Create a recovery CD, USB flash drive
• Customized-Clonezilla live
Questions ?
          Great!   ?????

To top