Recent stock market darling VMware has just released a Perl toolkit for it’s Virtual Infrastructure virtualisation product, as well as a Perl toolkit virtual machine that you can download for free to play around with.
VMware describes the toolkit as “an easy-to-use Perl scripting interface to the VMware Infrastructure API (VI API). Administrators and developers who may be more familiar with Perl (rather than with Java, C#, or other programming languages) can readily leverage the VI API. For developers who have previously worked with the Scripting API (VmPerl API), the VI Perl Toolkit is the tool of choice.”
An example VI3 Perl script, perf.pl, can be downloaded at the VMware forums site. Perf allows you to measure the performance of your virtual machines running on ESX 2.x or 3.x servers during a specified period of time.