VMware

Developer Center Blog

July 2009

Previous Next
0

We wanted to let you know we ran a very successful vSphere SDK lab at [Partner Exchange / Tech Exchange a few weeks ago in Orlando. For those of you who missed the event, I'm posting the manuals and code files. Going through the lab is a great way to get started with the API and includes handy sample code for modification or inclusion in your own programs.

{youtube}http://www.youtube.com/watch?v=paGqr9SWl-4{youtube}

The lab covers both the Java and C# versions of the VI SDK and uses the vSphere Web Services SDK 4.0 (formerly VI SDK 4.0). Though the lab doesn't cover any vSphere-specific features, I haven't tested it with VI SDK 2.5 and it will probably require some minor modification. For scripters that would prefer an introduction to the vSphere Perl SDK (formerly the VI Perl Toolkit) or the vSphere PowerCLI (formerly VI Toolkit for Windows), I posted a similar lab for those in an earlier blog post.

Exercises cover all the basics for using the SDK:
* Understanding managed objects and data objects
* Connecting to the VI API webservice
* getting the properties of managed objects using the PropertyCollector
* Using the SearchIndex
* Finding objects using TraversalSpecs
* Finding objects based on arbitrary criteria
* Collecting properties of multiple objects at the same time
* Understanding performance differences in some basic property collection strategies
* Monitoring properties for changes
* Monitoring tasks for completion
* Gathering performance statistics

There's obviously a lot more to do in the SDK, but once you've mastered those basic skills, most of the rest of the SDK is just an extension of what you already know. The exercises on collecting multiple objects properties at the same time and understanding performance differences due to property collector strategies cover some common problems I see with the management ecosystem partners I handle and are a great review for anyone trying to make sure their SDK code scales well.

A few things to note: I didn't update the doc with the new names of the various API components... I wrote the lab while those names were still under development. Also, I want to thank the other folks who helped put this lab together: Balaji Parimi (who wrote the Java code), Rajesh Kamal (who wrote the C# code), Alton Yu, John Kennedy, Paul Vasquez, and Steve Jin.

While most of the code handles errors gracefully and follows best practices, I’d like to point out that the code here is designed to teach concepts, not to be “enterprise ready”.

0 Comments Permalink
2

Folks,

Just wanted to clarify - event will be held in the Moscone Center in SF and not the Cal Academy of Sciences ;( I put this picture here because i think it would be a nice place to visit for anyone that is traveling from out of town - but I do agree this would be a SUPERB venue for a Developer Day.

Please save the date for VMware's first Developer Day @ VMworld 2009 - Monday August 31, 2009 in San Francisco CA.

We will be publishing session and registration information in a couple of weeks, but can provide some general information.

o 1 Day event dedicated for software developers building solutions for the VMware platform

o TAP membership is not required, or purchase of full VMworld Conference Pass

o There will be a Tech Exchange - TAP Track for Product Roadmaps (NDA - TAP membership required to attend)

o Sessions will range from vSphere SDKs to vCloud APIs - please stay tuned for session updates

o We will have plenty of demos and opportunity to meet with our R&D teams

Wanted to thank the community for your support and please keep the feedback coming. If you have ideas on what you would like to see please let us know and look forward to meeting the community members.

Nice picture below of the California Academy of Sciences - great destination for anyone that has not visited. They also have a great restaurant and Bar. My house is the little one under the television tower on the hillside - (which might explain my sense of humor and hair loss ;)

sf-cal.jpg

2 Comments Permalink
0

Folks, we are going to be moving over to a new platform in the next few days.

Please bookmark

http://blogs.vmware.com/developer

moving-forklift.jpg

0 Comments Permalink
1

Folks,

We just created an Orchestrator API community and welcome all VMware vCenter Orchestrator API developers to participate and help us build a robust community. Please join us, participate and share.

http://communities.vmware.com/community/developer/orchestrator

Regards,

Pablo

orchestrator.jpg

1 Comments Permalink
0


Folks,

Just wanted to let everyone know registration is open for VMworld Developer Day. We will be publishing Session and Demo details in a few days. Note event is open to all, and even better you get a FREE vSphere Standard License as part of the package of goodies.. more details to come.

VMware Developer Day:
http://communities.vmware.com/community/developer/techexchange

Registration Info:
http://communities.vmware.com/community/developer/techexchange/register

Regards,
Pablo

PS. As a random side note in case you plan to see the sites in SF before the event The King Tut exhibit is open and worth the effort to see.

http://communities.vmware.com/servlet/JiveServlet/downloadImage/6184/king-tut.jpg

0 Comments Permalink

Developer Center Blog

VMware Developer Blog provides content for the VMware Developer Community.

Communities