Server Side Setup and Client Setup for Clonezilla

Server Side Setup and Client Setup for Clonezilla





Clonezilla,

Clonezilla is a free open source disk cloning and deployment application that allows you to clone an individual machine or many computers simultaneously.

See the following link Clonezilla for more information.


Server Side Setup for Clonezilla.

The suggested setup for a Clonezilla Imaging Server is to use a Virtual Machine (VM) or a standalone system with dual network interface controllers (NICs), The Ethernet should be configured per the following example:

Ethernet 0

IP Address: 192.168.1.103
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1

Ethernet 1

IP Address: 192.168.1.1
Subnet Mask: 255.255.255.0
Default Gateway: none

Suggested Clonezilla Server configuration steps:

Run Clonezilla Server

  1. Install the Ubuntu 16.04 x64 operating system on the VM or Clonezilla server
  2. Open the Terminal function then run the following command to obtain root privileges in the operating system.

    Run "$ sudo –s" then press the Enter key.
  3. Download and add the Gnu Privacy Guard key (GPG key) for DRBL (Diskless Remote Boot in Linux) and Clonezilla packages

    Run "# wget -q http://drbl.org/GPG-KEY-DRBL -O- | sudo apt-key add –" then press the Enter key.
  4. Check for available updates for the OS and kernel.

    Run "# apt-get update" then press the Enter key.
  5. Download VIM text editor

    Run "# apt-get install vim" then press the Enter key.
  6. Edit the Advanced Packaging Tool (APT) sources list

    Run "# vim /etc/apt/sources.list" then press the Enter key.
    1. Add the following to the bottom of the file:

      deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse # (Or any Ubuntu mirror site near you)
      deb http://free.nchc.org.tw/drbl-core drbl stable
    2. Save the file
    3. Quit vim
  7. Check for available updates with the new DRBL repository

    Run "# apt-get update" then press the Enter key.
  8. Install Diskless Remote Boot in Linux (DRBL) and related files

    Run "# apt-get install drbl" then press the Enter key.
  9. Add Domain Name System (DNS) nameservers to resolve.conf (to prevent errors in DRBL configuration)

    Run "# vim /etc/resolve.conf then press the Enter key.
    1. Add "nameserver 8.8.8.8"
    2. Add "nameserver 4.4.4.4"
    3. Remove "nameserver 127.0.0.1"
    4. Save the file
  10. Run this DRBL Server Configuration Script

    Run "# drblsrv –I" then press the Enter key.
    1. Select Y to install the network installation boot images (See Figure1.)

      Obtaining network installation boot images
      Figure 1. - Obtaining network installation boot images
    2. Select N to skip serial console output (See Figure 2.)

      Skip the serial console output
      Figure 2. - Skip the serial console output
    3. Select Y to update the Operating System (to get the latest kernel) (See Figure 3.)

      Upgrading to the latest Kernel version
      Figure 3. - Upgrading to the latest Kernel version
    4. Select 2 (or whichever kernel is later) (See Figure 4.)

      Selection of the most current upgrade available from the list presented
      Figure 4. - Selection of the most current upgrade available from the list presented
    5. Confirm that no errors occurred: (See Figure 5.)

      Confirmation that no errors occurred.
      Figure 5. - Confirmation that no errors occurred.
  11. Run this DRBL Server Configuration Script

    Run "# drblpush –I" then press the Enter key.
    1. Enter a DNS domain name: (See Figure 6.)

      Entering the DNS domain name
      Figure 6. - Entering the DNS domain name
    2. Enter a NIS domain name: (See Figure 7.)

      Entering the NIS domain name
      Figure 7. - Entering the NIS domain name
    3. Enter a hostname prefix: (See Figure 8.)

      Entering a hostname prefix
      Figure 8. - Entering a hostname prefix
    4. Select eth0 (whichever NIC leads to the Internet) (See Figure 9.)

      Selecting the Ethernet Adapter 0
      Figure 9. - Selecting the Ethernet Adapter 0
    5. Select N to Collecting MAC Addresses
    6. Select N to letting the DHCP service in DRBL offer the same IP address (goes back to Collecting MAC Addresses)
    7. Select the initial IP address of Clonezilla clients (20 in this example): (See Figure 10.)

      Selection of the initial number of IP addresses for Clonezilla clients
      Figure 10. - Selection of the initial number of IP addresses for Clonezilla clients
    8. Select the number of DRBL (Clonezilla client) systems expected (20 in this example) (See Figure 11.)

      Selection of the number of DBRL clients
      Figure 11. - Selection of the number of DBRL clients
    9. Select Y to confirm the IP address settings on eth1 (See Figure 12.)

      Confirmation of the IP address settings
      Figure 12. - Confirmation of the IP address settings
    10. Press the Enter key to confirm IP setup of DRBL: (See Figure 13.)

      Confirmation of the DBRL Server settings
      Figure 13. - Confirmation of the DBRL Server settings
    11. Select 1 for DRBL SSI (Single system image)
    12. Select 1 for Clonezilla Box mode
    13. Select a location to store images (/home/partimag in this example) (See Figure 14.)

      Selection of the image storage location
      Figure 14. - Selection of the image storage location
    14. Select Y to create a swap partition
    15. Select 128 for the swap size
    16. Select 1 for Graphic Mode
    17. Select 0 for Normal Login
    18. Select N to skip setting the root password on clients
    19. Select N to skip a PXE boot password
    20. Select Y to set the boot prompt for clients
    21. Select 70 as the boot prompt timeout
    22. Select Y to use graphics background (See Figure 15.)

      Selection of the Graphic user menu
      Figure 15. - Selection of the Graphic user menu
    23. Select Y to allow audio, CD-ROM, floppy, video, etc..
    24. Select N for public IPs for clients
    25. Select Y to allow terminal mode
    26. Select Y to run DRBL as a NAT Server (this will allow Internet access from imaged units to pull updates)
    27. Watch for a finished message, press the Enter key. (See Figure 16.)

      Press the Enter key to continue
      Figure 16. - Press the Enter key to continue
    28. Select Y to overwrite firewall rules (See Figure 17.)

      Yes to overwrite the firewall rules
      Figure 17. - Yes to overwrite the firewall rules
    29. Watch for a final finished message and reboot the server: (See Figure 18.)

      DBRL server setup is completed, restart the system
      Figure 18. - DBRL server setup is completed, restart the system
    1. Start clonezilla with the command: Run "# dcs" then press the Enter key.
    2. Select All then press the Enter key.(See Figure 19.)

      Select All Select all the clients
      Figure 19. - Select All Select all the clients
    3. Select "Clonezilla-start" then press the Enter key.(See Figure 20.)

      Selection of the clonezilla-start Start Clonezilla Mode
      Figure 20. - Selection of the clonezilla-start Start Clonezilla Mode
    4. Select Beginner then press the Enter key.(See Figure 21.)

      Selection of Beginner mode: Accept the default operations
      Figure 21. - Selection of Beginner mode: Accept the default operations
    5. Select select-in-client then press the Enter key.(See Figure 22.)

      Selection of select-in-client  Choose save/restore in client ..
      Figure 22. - Selection of select-in-client Choose save/restore in client ..
    6. Select "default Clonezilla" then press the Enter key.(See Figure 23.)

      Selection of -y1 Server always provides clone mode -  default Clonezilla
      Figure 23. - Selection of -y1 Server always provides clone mode - default Clonezilla
    7. Select "choose" then press the Enter key.(See Figure 24.)

      Selection of Choose in client when the clone finishes
      Figure 24. - Selection of Choose in client when the clone finishes
    8. Imaging is ready to start

      Imaging is ready to start
      Figure 25. - Imaging is ready to start

Imaged System Side Setup for Clonezilla.

  1. On the system you want to image, with PXE Boot enabled in the BIOS, boot to NIC by pressing the F12 key at the Dell Splash Screen.
  2. Select Clonezilla from the boot option list using the arrow keys then press the Enter key (See Figure 1.)

    Selecting Clonezilla from the PXE Boot Menu

    Figure 1. - Selecting Clonezilla from the PXE Boot Menu
  3. Select the device-image option using the arrow keys then press the Enter key (See Figure 2.)

    Selecting device-image option from the Clonezilla Menu
    Figure 2. - Selecting device-image option from the Clonezilla Menu
  4. Select the Beginner option using the arrow keys then press the Enter key
  5. Select savedisk option using the arrow keys then press the Enter key (See Figure 3.)

    Selecting savedisk option from the Clonezilla Menu
    Figure 3. - Selecting savedisk option from the Clonezilla Menu
  6. Type a name of your choice for the image the press the Enter key. (See Figure 4.)

    Naming the image in the Clonezilla Menu
    Figure 4. - Naming the image in the Clonezilla Menu
  7. Select sda or nvme0n1 (depending on the source disk being used) then press the Enter key (See Figures 5 & 6.)

    Selecting nvme0n1 in the Clonezilla Menu
    Figure 5. - Selecting nvme0n1 in the Clonezilla Menu

    Selecting sda in the Clonezilla Menu
    Figure 6. - Selecting sda in the Clonezilla Menu
  8. Select skip checking file system using the arrow keys then press the Enter key
  9. Select skip checking the saved image option using the arrow keys then press the Enter key
  10. Select do not encrypt the image using the arrow keys then press the Enter key (See Figure 7.)

    Encryption is not selected
    Figure 7. - Encryption is not selected
  11. Press the Enter key to continue
  12. Wait for a confirmation to appear. (See Figure 8.)

    Confirming that you want to continue the imaging process
    Figure 8. - Confirming that you want to continue the imaging process
  13. Press the Y key to continue, then press the Enter key to start the imaging process. (See Figure 9.)

    Clonezilla imaging process running
    Figure 9. - Clonezilla imaging process running
  14. There will be a kernel message that imaging was completed on the server.


Quick Tips content is self-published by the Dell Support Professionals who resolve issues daily. In order to achieve a speedy publication, Quick Tips may represent only partial solutions or work-arounds that are still in development or pending further proof of successfully resolving an issue. As such Quick Tips have not been reviewed, validated or approved by Dell and should be used with appropriate caution. Dell shall not be liable for any loss, including but not limited to loss of data, loss of profit or loss of revenue, which customers may incur by following any procedure or advice set out in the Quick Tips.

ID del artículo: SLN303956

Última fecha de modificación: 10/31/2017 11:55 AM


Valorar este artículo

Acertado
Útil
Fácil de entender
¿Le ha resultado útil este artículo?
No
Envíenos sus comentarios
Los comentarios no pueden contener caracteres especiales: <>()\
Lo sentimos. El sistema de envío de comentarios no está operativo en estos momentos. Vuelva a intentarlo más tarde.

Gracias por sus comentarios