VMware {code} Community
atrockz
Contributor
Contributor

SDK for VMWare workstation to create a Virtual Machine

Hi all,

I am a newbie in VMWare SDK. I got some queries. I have worked on ESX SDK to create a new Virtual Machine and deploy it. Is there any SDK for VMWare Workstation like ESX SDK by which i can create a new Virtual Machine and deploy it? Actually my requirement it that, there will be a server machine(Normal windows machine) which will have VMWare Workstation installed and from my client machine which can be linux , windows or solari, i will send request(like ESX SDK) to my server machine to create new Virtula Machine and manage them. I went through VIX API but i didnt find any fuction to create a new Virtual Machine.

Thanks in advance.

0 Kudos
2 Replies
RDPetruska
Leadership
Leadership

I don't believe there really is anything comparable. Primariliy because of the design/purpose of Workstation (as a single-user, user-interactive VM host). Workstation has nothing to "deploy" a virtual machine... you just use the wizard to create the vmx file and vmdk file(s), and then open it. VMware Server may be a better fit for your purpose (and supports the VIX API as well).

0 Kudos
Steve_Jin
Expert
Expert

With VIX, I think you've got the right API to work with workstation. You are right there is no method to create a virtual machine. But there is method VixHost_Register() for you to add a virtual machine. I think you can do some work like copying a existing virtual machine and modify configuration prior to calling the method. No exactly what you need, but with some tweak I think you can get what you want.

Steve JIN Author of VMware VI and vSphere SDK; Creator of open source VI Java API (http://vijava.sf.net); Blogger at http://www.doublecloud.org
0 Kudos