Virtualization Technology News and Information
Announcing "Programming and Managing VMware Infrastructure" by O'Reilly

Andrew Kutz recently posted on the VMware VMTN forums that he plans on writing a new scripting/programming type book for O'Reilly.  You might recognize that Andrew Kutz is the person from LostCreations who developed a programming guide to help people create their own VirtualCenter Plug-Ins, and at the same time, he created a number of plug-ins himself which he shared with the VMware community.  Here is the description of the book.

Nearly all VMware Infrastructure (VI) users need to customize their configurations with site-specific programs and scripts. Tasks commonly solved include backups, logging, automating the migration of virtual machines between host servers, and inserting security modules. These automated tasks have received little attention or documentation in the field, in comparison with routine administrative tasks, but automating administration is a central skill for sites using VMware.

In version 3 of VI (VI3), VMware placed programming and scripting on a much firmer basis, providing an application programming interface (API) that can be leveraged by many popular programming and scripting languages. Use of this API completely replaces the less robust, operating-system specific solutions such as the Linux service console that predated VI3. The base software development kit (SDK) supporting this API is called the VI SDK. It's also important to understand the VMware Common Information Model (CIM) SDK and at least one SDK corresponding to the language chosen by the site developers.

This book will be the definitive guide for systems administrators and developers eager to make use of the VI and CIM SDKs. The book shows their use with several popular languages, including the VI Perl Toolkit and VI Toolkit (for Windows) as well as C#, Java, and Python. Advanced topics, such as creating client plugins and communicating with VMware through its web service, are also covered.

This text demystifies the VI SDK, transforming the difficult task of searching the VI inventory into a simple one. Content includes, but is not limited to:

• Code examples in C#, Java, Perl, and PowerShell (where possible). No matter your preferred language or toolkit, you will find an example tailored to fit your needs!

• Numerous solutions to common administrative tasks, which can make readers productive immediately while teaching deeper concepts. Examples include migrating a virtual machine with VMotion, generating a performance report on your virtual infrastructure, and on a more advanced level, implementing Layer-2 networking security measures.

• How to extend the VI client by creating your own custom plug-ins using the VI client plug-in architecture: introduced in VI 3.5.

• How to access the VI programmatically from any language by exposing and explaining the VI web service calls at the heart of all SDK manipulation.

With the service console scheduled for deprecation and the release of ESXi, understanding how to automate VI administration through the SDKs and toolkits is more important than ever.

Andrew is looking for ideas on the VMware forums.  If there are things you would like to see or help contribute, jump over to the forums and leave him a response.

Published Sunday, April 20, 2008 11:12 AM by David Marshall
» Announcing "Programming and Managing VMware Infrastructure" by O … - (Author's Link) - April 20, 2008 2:52 PM
To post a comment, you must be a registered user. Registration is free and easy! Sign up now!
<April 2008>