I am trying to create clone virtual machine by NEW-VM cmdlet at my ESXi 4.1 server.
but I received the following messages every time.
[vSphere PowerCLI] C:\Program Files\VMware\Infrastructure\vSphere PowerCLI> new-
vm -name clone1 -datastore datastore1 -VM testvm1
New-VM : 2011/04/18 14:33:01 New-VM The operation for the entity VirtualMachine
-144 failed with the following message: "The operation is not supported on the object."
I know a free ESXi server has some limitations as following,
"Note that the free VMware vSphere Hypervisor does not allow any configuration changes through the vCLI."
but also powercli has this limitation.
so,I registered license "vSphere 4 Enterprise Plus" on my ESXi server.
but there is no change. I received the same messages again and again.
how can I do this operation? pls help.
Hi,
Clone operation is only supported by vCenter Server, so you can't perform clone vm when connected directly to Esx(i).
Regards,
Yasen
There seems to be something about testvm1 that it's not liking. Can you do a 'get-vm testvm1 | format-list *' and post?
Hi,
Clone operation is only supported by vCenter Server, so you can't perform clone vm when connected directly to Esx(i).
Regards,
Yasen
hi, Yasen-san,
exactly, you are right! my clone operation via ESXi direclty.
when I changed ESXi to vCenter for the connection server, my clone operation performed successfully.
thanks.
regards,
Masao
hi, Zsoldir-san,
thank you for posting. my problem was solved by Yasen's comment. I had simple mistake way of clone operation.
regards,
Masao