Anybody program for the VMWare APIs?
JDMurray
Admin Posts: 13,101 Admin
Does anyone have any experience writing code that uses any of the VMWare APIs VI, VIX, or VIMA? I need to know what can be done with ESXi via any of these APIs. I know there's an enormous amount of control API possible with ESX, but I'm looking to only work with the free stuff for now.
Comments
-
HeroPsycho Inactive Imported Users Posts: 1,940You might want to check out a lot of the articles and community activity around PowerShell VI Toolkit, if anything to see what can be done with the APIs, not to mention there are impressive things you can do leveraging PowerShell to make use of those APIs.
Check out the VESI project for example.Good luck to all! -
JDMurray Admin Posts: 13,101 AdminI'm reading that the VI API exposed by ESX is not fully supported by ESXi. The VI SDK docs only indicate support for ESX and VirtualCenter, but not ESXi. Any ideas about that?
It looks like the APIs are read-only on ESXi: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006543 -
astorrs Member Posts: 3,139 ■■■■■■□□□□Yes ESXi is read-only (although ESXi 3.5 U3 had a bug and allowed full read/write but it goes away with U4). They use it as a differentiating feature between VI3 and the free ESXi.
Note if you are wanting to test and such a new install of ESXi is automatically licensed with a VI3 evaluation license for 60 days giving you time to test. worst case you reinstall every 2 months - don't worry, it only takes ~10 mins. -
JDMurray Admin Posts: 13,101 AdminESXi 3.5 U4 operates as ESX for 60 days? With full access to the VI API? I can live with that!
And yes, I read about the accidental VI API exposure in U3. Maybe I need to try a copy of that release as well. -
astorrs Member Posts: 3,139 ■■■■■■□□□□ESXi 3.5 U4 operates as ESX for 60 days? With full access to the VI API? I can live with that!
And yes, I read about the accidental VI API exposure in U3. Maybe I need to try a copy of that release as well.
All VMware products are available as 60 day evals. Just sign up for Virtual Infrastructure 3 eval and download just ESXi 3.5 U3 Installable. -
JDMurray Admin Posts: 13,101 AdminEveryone gets confused by VMware's use of "ESXi" as the name of the free product.ESXi and ESX are two hypervisors available from VMware (with subtle differences) as a part of Virtual Infrastructure or VI, which is available in 3 versions (Foundation, Standard and Enterprise).All VMware products are available as 60 day evals. Just sign up for Virtual Infrastructure 3 eval and download just ESXi 3.5 U3 Installable.
Thanks for the expert help; this is saving me a lot of time and experimentation grief. -
astorrs Member Posts: 3,139 ■■■■■■□□□□OK, so what happens 60 days after the installation of ESXi? Is the VI API locked or made read-only? Is the performance throttled? Does the maximum number of concurrently running VMs get capped?
You will also get warning messages that can be disabled by entering a free ESXi license code (you will recieve one when you d/l the free version of the product).
Unlike with the free Hyper-V Server, there are no differences between the free and paid versions of ESXi with respect to number of VMs, vCPUs, memory, etc.