Re: [Users] Destktop VM to Server VM ?

Thanks a lot Itamar. Everything became clear. Unfortunately, We are still using ovirt 3.0, for which I think ovirt-shell is not available. So, I will make a small java program. Best RGDS 2013/1/5 Itamar Heim <iheim@redhat.com>
On 01/04/2013 07:04 PM, Hideo Goto wrote:
Thaks a lot for your suggestion.
in fact I found the <type>parameter which specifies server/desktop, checking the output of VMs' parameters by REST (/api/vms). Is it this very "type" paramter to change?
yes.
Best RGDS Hideo GOTO
P.S. I would be happy if you could recomend me any tool, if existing, which might make it easy to update parameters by REST.
ovirt-shell is a cli tool which should let you update such a parameter with a one liner command. you can also use the python or java sdk's for any heavier scripting.
2013/1/4 Itamar Heim <iheim@redhat.com>:
On 01/03/2013 05:32 PM, Hideo Goto wrote:
First of all, a Happy new year to every subscriber of the list.
My first concern of the year about ovirt:
Is it possible to change the type of an existing VM from desktop to server by any possible means? In my case, the VM was imported from KVM to Ovirt 3.0 environment using virt-v2v. I have just found out that the VM was recognized as desktop while expected as server .
Thanks in advance for any advise.
I'm pretty sure the REST API/SDK/CLI would allow this as updating this field of the VM. michael?

Thanks DI (FH) Ren? Koch. It was also what I was looking for. Next time, I will not fail to check *.ovf file before importing. Best RGDS. Hideo GOTO
Date: Fri, 04 Jan 2013 18:14:39 +0100 From: Ren? "Koch (ovido)" <r.koch@ovido.at> To: users@ovirt.org Subject: Re: [Users] Destktop VM to Server VM ? Message-ID: <1357319679.2155.113.camel@pc-ovido02.ovido.at> Content-Type: text/plain; charset="UTF-8"
Hi,
You can edit the .ovf file of your vm on the export domain.
Change <VmType> to: 0 ... Desktop 1 ... Server
Then you can import your server/desktop vm using the engine GUI...
-- Regards,
DI (FH) Ren? Koch Senior Solution Architect
============================== ============== ovido gmbh - "Das Linux Systemhaus" Br?nner Stra?e 163, A-1210 Wien
Phone: +43 720 / 530 670 Mobile: +43 660 / 512 21 31 E-Mail: r.koch@ovido.at ============================================

On 01/05/2013 05:44 PM, Hideo Goto wrote:
Thanks a lot Itamar. Everything became clear. Unfortunately, We are still using ovirt 3.0, for which I think ovirt-shell is not available. So, I will make a small java program.
with some luck, the 3.1 CLI may work for you. worth trying
participants (2)
-
Hideo Goto
-
Itamar Heim