VMware Communities > VMware Developer > Forums > vSphere™ Web Services SDK > Discussions
8 Replies Last post: May 5, 2009 10:28 AM by QucickSand
Reply

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

Apr 18, 2008 12:04 PM

Click to view akutz's profile Hot Shot akutz 316 posts since
Nov 9, 2005
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!
Reply Re: Announcing "Programming and Managing VMware Infrastructure" by O'Reilly Apr 18, 2008 3:55 PM
Click to view stumpr's profile Expert stumpr 439 posts since
Sep 26, 2007
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 ;)

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

r.
Reply Re: Announcing "Programming and Managing VMware Infrastructure" by O'Reilly Apr 18, 2008 4:24 PM
in response to: stumpr
Click to view akutz's profile Hot Shot akutz 316 posts since
Nov 9, 2005
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!
Reply Re: Announcing "Programming and Managing VMware Infrastructure" by O'Reilly Apr 21, 2008 2:37 AM
in response to: akutz
Click to view sjfsjf's profile Novice sjfsjf 14 posts since
Mar 3, 2008

This looks brilliant I don't think you can get it released soon enough :)


Reply Re: Announcing "Programming and Managing VMware Infrastructure" by O'Reilly Nov 5, 2008 7:26 PM
Click to view VMWareManagementSolutions's profile Lurker VMWareManagementSolutions 3 posts since
Oct 29, 2008

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.

Reply Re: Announcing "Programming and Managing VMware Infrastructure" by O'Reilly Mar 21, 2009 1:54 PM
Click to view rickyelqasem's profile Enthusiast rickyelqasem 92 posts since
Apr 13, 2006

Hows this book coming? whats its ETA?


Ricky El-Qasem

VCI/VCP - MCSE - RHCT

Reply Re: Announcing "Programming and Managing VMware Infrastructure" by O'Reilly Mar 22, 2009 5:32 AM
Click to view manfred9999's profile Enthusiast manfred9999 59 posts since
Sep 9, 2005

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

Regards

Manfred

Reply Re: Announcing "Programming and Managing VMware Infrastructure" by O'Reilly May 5, 2009 7:34 AM
Click to view harkamal's profile Hot Shot harkamal 220 posts since
Mar 19, 2009
Hello there, we are waiting for the book :-)

Can wait to jump start vi coding.
Reply Re: Announcing "Programming and Managing VMware Infrastructure" by O'Reilly May 5, 2009 10:28 AM
Click to view QucickSand's profile Novice QucickSand 14 posts since
Apr 5, 2006

How soon can the book hit the shelf? Have you started writing it yet ? :)

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

Actions