Solved

Debian Linux

Posted on 2012-03-11
8
664 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_
  • 4
  • 3
8 Comments
 
LVL 119
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 119
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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

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 119
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 500 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

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.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

786 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