Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Debian Linux

Posted on 2012-03-11
8
Medium Priority
?
682 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 124
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 124
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
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 

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 124
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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
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.
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

610 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