RHEV import

Marius Pana marius.pana at spanning.ro
Wed Dec 23 19:17:06 UTC 2009


Hi ESG,

It's a bit tricky. First you create a new vm in RHEV (give it the same hw as on of the converted vm's) and make sure you create a pre-allocated disk the same size as the disk of the converted vm. Log-on to one of your hypervisors and run mount to see where the disk store is mounted. Go there and find the disk of the vm you just created :). I dont have a sure way to identify the vm/disk that you created from the web interface. First and last time I tried I did an ls of (I think?) vms/images directory, created the new vm from the web interface and noticed that a new id (directory) appeared after another ls. Then I just dd'ed the converted image of the pre-allocated disk and started up. Everything worked like a charm.

I am hoping to work more closely on this in the following week.

I think you can get the id of the vm/disk from powershell and this should make things easier. This I intend to find out next time I have some free time.

Regards,
Marius



-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com] On Behalf Of ESGLinux
Sent: Tuesday, December 22, 2009 7:55 PM
To: General Red Hat Linux discussion list
Subject: Re: RHEV import

Hi again Marius,

Now I´m at the point where you are, (I have followed the steps described in
this page
http://blog.bodhizazen.net/linux/convert-vmware-vmdk-to-kvm-qcow2-or-virtualbox-vdi/)
and now I have one vmware image converted to kvm,

Now I have not idea about how to import this image in the RHEV-M.

Here there are the documentation about RHEV but I don´t see how to do what
we want to do:

http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Virtualization/

any idea

ESG

2009/12/21 Marius Pana <marius.pana at spanning.ro>

> Hi All,
>
> Anyone know how to import exiting vm's into RHEV-M?
>
> I've played around with vmware images that I converted using qemu-img
> and tried to copy it over an existing disk but this is painful as I
> can't figure out the id of the vms (/rhev/data-center/xxxx/ gets pretty
> ugly).
>
> Using the powershell API and select-vm I get id's but they are not under
> the /rhev/data-center directory therefore I cannot pin down the virtual
> machine disks?
>
> Any information is greatly appreciated.
>
> Marius
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list