Solved

Image Copy of Hard Drive

Posted on 2017-01-09
15
70 Views
Last Modified: 2017-01-17
Hi,
 
 I have two identical servers that I need to duplicate, if possible.
 One server, aka primary server, has 4 hard drives in LSI MegaRaid in RAID 1 and two as hot spares.
 The primary serverhas CentOS 7 loaded and Progress database system with data. Users and printer information ... etc - typical run of the mill server stuff. The secondady, aka backup server, also has 4 hard drives in LSI MegaRaid in RAID 1 and two as hot spares.
 What is the easiest way to duplicate the image of primary server on the backup server (other than creating users, printers, install Progress database ... duplicating same effort)?

Thanks.
0
Comment
Question by:sglee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 7
15 Comments
 
LVL 88

Accepted Solution

by:
rindi earned 500 total points
ID: 41953485
You could use CloneZilla to image/clone your system:

http://clonezilla.org/
0
 

Author Comment

by:sglee
ID: 41953520
Are you suggesting Clonezilla live?
0
 
LVL 88

Expert Comment

by:rindi
ID: 41953571
You boot the server from either a CloneZilla CD, or USB stick, or if your server is a newer model it may also be able to boot directly to the iso file.
0
Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

 

Author Comment

by:sglee
ID: 41953594
Since you have perhaps done this (CloneZilla ) and I have not ...
Can you outline the steps involved?
Is it like booting both primary and backup serves using (I am going to use) CloneZilla CD, boot from it.
On primary server screen, there will be some type of menus as far as entering the destination (backup) server IP address(or hostname) and initiate duplication job?
0
 
LVL 88

Expert Comment

by:rindi
ID: 41953627
You boot from the CD, then you get a simple menu where you select what you want to do, for example create an image or clone, or restore an image, if you want an image it then asks where you want the image to be saved (I usually use a USB disk), it then mounts that destination. Then it asks you what your source is, you select it, then it starts the image.

When done, you boot the other server from that CD, attach the USB disk, then do the restore...
0
 

Author Comment

by:sglee
ID: 41953695
So it is not LIVE real-time image transfer/duplication between two servers ..
I need to save the whole image of the primary server on an external USB Drive connected to the primary server first.
Then boot the backup server from  CloneZilla CD and basically choose "Restore Image" option from the menu?
0
 

Author Comment

by:sglee
ID: 41953703
Would you be kind enough to post the download link of necessary file(s)?
0
 
LVL 88

Expert Comment

by:rindi
ID: 41954046
Correct. The link I posted in my first comment will also be goof for the download. You can then also  try it out on another PC, so you can check the options you have etc.
0
 

Author Comment

by:sglee
ID: 41954052
On download page, I see the following. Does it matter which one I download?
(1) alternative stable - 20161121-yakkety
(2) stable - 2.5.0-5      
(3) alternative testing - 20170103-zesty -20170103-yakkety
(4) testing - 2.5.0-16
0
 
LVL 88

Expert Comment

by:rindi
ID: 41954059
If you aren't sure, go for stable. Testing usually works fine too. So basically it doesn't matter that much.
0
 

Author Comment

by:sglee
ID: 41954064
OK. I will try it this evening using test machine. In fact I have a HP server where I installed CentOS 7 for tesing and I will try to duplicate that on another PC.
Does it matter if 2nd computer has different CPU, RAM, HD size and no RAID?
0
 
LVL 88

Expert Comment

by:rindi
ID: 41954100
The disk size can matter, particularly if the new size is smaller than the original one. RAID or not shouldn't matter, but it depends a little on the age of the controller. If you are using a very new controller, it is possible that the kernel won't recognize it yet. But Linux is generally very good with the hardware and it will normally recognize most of it out of the box.
0
 

Author Comment

by:sglee
ID: 41956053
It worked great and I have a couple of questions:
But let me explain what I did.
I burned CloneZilla onto a CD. After connecting an external USB HD to primary server, I started it from CloneZilla CD. Selected the external USB HD as image destination. All went well.  For restoration of image, I grabbed an used PC, installed 1TB internal HD (that probably had Windows 7 or XP OS) as a primary HD and started the computer from  CloneZilla CD. When I chose 1TB internal HD as destination for restore of image, it failed to restore. So I had to erase existing partitions/volume off 1TB HD. I retried to restore the image and it worked well then

In production environment, after saving the  image from primary server,
 
(1) Is it necessary to delete any existing volume on secondary server before I attempt to restore the primary server image?
(2) Could I have used one big USB flash drive (like 64GB) and made it a bootable flash drive for CloneZilla AND store the image of primary server? The primary server image would be less than 20GB.
0
 
LVL 88

Expert Comment

by:rindi
ID: 41956077
If the partitions on the destination disk are the same size or larger, you don't need to delete them. But generally it is better to do so.

I haven't tried putting the image onto the same media CloneZilla runs from. If CloneZilla sees the USB stick as a possible destination, it should work. If not, it may need some hands on.
0
 

Author Comment

by:sglee
ID: 41956080
Thank you for your help!
0

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question