?
Solved

Debian Linux

Posted on 2012-03-11
8
Medium Priority
?
677 Views
Last Modified: 2012-08-14
How can I migrate debian servers from one virtual environment (hosted on Zen) to another virtual environment (hosted on VMWare 4) using only  a vpn connection.  I have tried using vmware converter but this fails.  Is there a tool I can use to migrate these easily?
0
Comment
Question by:Jack_son_
[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
  • 4
  • 3
8 Comments
 
LVL 122
ID: 37706765
the issue is likely to be the bandwidth of the VPN connection?

what was the error message and percentage, at which the conversion failed?
0
 

Author Comment

by:Jack_son_
ID: 37706768
it almost seems it couldnt install the vmware tools on the debian; this version of the debian is very thing and only has the command line, apache and ssh installed.

also, it actually was not able to copy any of the vm.
0
 
LVL 122
ID: 37706785
Just do a basic conversion, without specifiying any specific options, e.g. install vmware tools, once you have the virtual machnine on the VMware host, later you can power on and update and install VMware Tools.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Jack_son_
ID: 37706844
I am using the vmware stand alone converter, here is the error:   The  error it recieves is "unable to detect disks or volumes on the source machien.  Please make sure that the source is a supported Linux Distribution".
0
 
LVL 122
ID: 37706851
is this VMware vCenter Converter Standalone 5.0?
0
 

Author Comment

by:Jack_son_
ID: 37706930
no its version 4 and tried with version 5, I get the same errors.
0
 
LVL 2

Accepted Solution

by:
bandris earned 2000 total points
ID: 37709452
For debian I think the easiest way to migrate the VM is using rsync, because VMware tools dont have binaries for debian, they have to be built from source. This requires the building system installed on debian (build-essential package) and the kernel-headers for the running kernel (linux-headers-xxx), but it might still have some errors which will prevent the conversion.
In your place I would do the following
1. Install the same version of debian to the new infrastructure. Just the core, with networking, and rsync.
2. On the source machine install rsync too.
3. On the source configure rsync to run as a deamon.
4. On the target make a backup copy of /etc/fstab and boot config (/boot/grub/menu.lst?) in the case you forgot to exclude them in the sync process. Changing them would prevent your system from booting up.
5. On the target run rsync and sync the files in /(root). exclude from the selection /boot, /proc, /dev, /sys, /tmp, /etc/fstab, Consider excluding /etc/network/interfaces, but it depends on your system. something like: rsync --verbose  --progress --stats --compress       --recursive --times --perms --links --delete --exclude "*bak" --exclude "/boot" ...... source_server:/* /
6. Stop almost all services on the source server, then rsync again.
7. reboot the target server.

Now your server should be identical to the one you synced from.
Check network settings, if the IP addresses are different modify your /etc/hosts file accordingly
0
 

Author Closing Comment

by:Jack_son_
ID: 37763851
This was the only tool I could get to work with the debian distribution
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…
Suggested Courses

770 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