VMware {code} Community
akutz
Hot Shot
Hot Shot

Announcing "Programming and Managing VMware Infrastructure" by O'Reilly

Here is the deal. In a past life I was a monk who saved children from evil orphanage owners and small animals from evil masters and thus karma has seen fit to reward me with the opportunity of a lifetime. O'Reilly is allowing me to abuse their imprint with "Programming and Managing VMware Infrastructure." Instead of trying to explain exactly what the heck that title means, I'll just post what my editor helped me come up with for the back cover (no guarantee this will actually appear on the back cover):

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.

Okay, here is where I beg for your help. I already have a list of topics I am going to cover with regards to code examples, but I would like you, the developer community to send me your ideas as well. And if you have any code that you feel like contributing I will gladly look it over, put it in the book, and source you. Because the code examples need to be translated to C#, Java, Perl, and PowerShell (where applicable), it helps if you can provide all translations.

This is my ticket to blow it, I know. But what I hope to achieve is a guide, reference manual, and just a helpful book for all VI developers to use. The book is proposed to be completed by next March, so hopefully it will hit shelves late spring / early summer.

Yay!

0 Kudos
8 Replies
stumpr
Virtuoso
Virtuoso

Looks like a possible must have on your VMware book shelf. Looking forward to it.

I might have some ideas for you, I'll definitely pass them along in the future. I could probably pass on some samples, though don't know if I have time to convert them. Most of the tools I create are driven by necessity and bound by time Smiley Wink

Where would you like to have any suggestions or samples forwarded to?

r.

Reuben Stump | http://www.virtuin.com | @ReubenStump
0 Kudos
akutz
Hot Shot
Hot Shot

You can forward ideas to akutz at lostcreations dot com. You hit upon an interesting point: if there are utilities you need, but do not have time to write, send me your requests, and perhaps I can write them and include them as examples.

Free code fu for you!

0 Kudos
sjfsjf
Contributor
Contributor

This looks brilliant I don't think you can get it released soon enough Smiley Happy

0 Kudos
VMWareManagemen
Contributor
Contributor

Hi akutz

I am new to VMWare. Recently i started working on the VMWare based installations. Then, i started thinking abiut VMWare and management of the VMWare servers for our organization. So far i have a good expertize with VNC, RDP, Telnet, SSH etc... protocols, i am still using the java based consoles for these protocols to manage them from a java enabled browser. Similarly, Can i have the Java based VI Console(Just KVM is fine, no need of CD-ROM sharing kind of functionality)? or Any plans to release/support this kind of Java API, in future?

Where can i find the specification of VI client KVM console's protocol(how the data is being exchaged between VMServer instance and VI Client Console)? Is there any open standard for this? Please let me know if any..!

Thanks in advance.

0 Kudos
rickyelqasem
Enthusiast
Enthusiast

Hows this book coming? whats its ETA?

Ricky El-Qasem

VCI/VCP - MCSE - RHCT

Ricky El-Qasem VCI/VCP - MCSE - RHCT
0 Kudos
manfred9999
Contributor
Contributor

I'm looking forward to this book. How about some VB.Net samples?

Regards

Manfred

0 Kudos
harkamal
Expert
Expert

Hello there, we are waiting for the book Smiley Happy

Can wait to jump start vi coding.

0 Kudos
QucickSand
Contributor
Contributor

How soon can the book hit the shelf? Have you started writing it yet ? Smiley Happy

I have a few scripts I wrote in perl that I am willing to contribute! Please keep us informed of the book's progress.

0 Kudos