Skip to content

skandyla/vmware-to-kvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vmware-to-kvm

Helper scripts to migrate vmware VM to kvm.

Info

This script just generates shell command for virt-install and print it to the screen (you should just execute it).

Also there is a dedicated tool virt-v2v, unfortunatelly it's not working as expected.
So this scripts helps to migrate VMs in classic way

Prerequirements

GO installed

Installation

export GOPATH=/root/go
export GOBIN=$GOPATH/bin
git clone https://github.com/skandyla/vmware-to-kvm 
cd vmware-to-kvm
go get

Usage (Vmware VM to KVM migration):

  1. shutdown and copy VM to kvm server (use scp)
  2. launch
    ./parser.sh path_to_VM.vmx - it's optional, but allows to parse some info like Uuid, mac, etc. This script generates vmx.conf
  3. launch
    go run main.go - just to generate defaults
    go run main.go -config vmx.conf -netDev1 br11 -vcpus 4 -ram 4096 - example to parse vmx.conf and ajust some variables

Tested:

migration from vmware ESXi 5.0, 5.5 to kvm srv running CentOS 7

About

helper scripts to migrate vmware VE to kvm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published