Solved

Debian Linux

Posted on 2012-03-11
8
661 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 118
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 118
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
 

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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 118
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now