Archive

Archive for the ‘Virtualization’ Category

Running DSL on VMware Player

December 20th, 2011 No comments

DSL is an overloaded acronym standing for many different things. I first knew it as Digital Subscriber Line for Internet connection, and then Domain Specific Language. Recently I learnt a new one: Damn Small Linux. As you see the word small, you may think it’s for embedded system. It’s not.

Categories: Virtualization Tags: , ,

Hacking VMware Tools ISO from vSphere

December 9th, 2011 10 comments

In a recent experiment, I needed to get the VMware Tools installer. Somehow after searching many different places, I couldn’t find it. While writing this article, I found a link to all the installers organized per ESX versions and CPU architectures. The installers are single files, different from an installable CD which I hacked.

Categories: Virtualization Tags: , ,

What Roles Does A User Have in vSphere?

November 30th, 2011 8 comments

If you have read my previous article on vSphere security model, you know how it works. Still, you may wonder what roles a particular user may have, as asked in a recent email from one of my former VMware colleagues.

In an operating system, a user is assigned to a group or multiple groups therefore granted a certain permissions. In vSphere, a role is simply a set of privileges and that is it. It’s natural to think of a role as a group sometimes, but it’s really not.

Categories: vSphere API Tags: ,

Discontinuous Response Stream from vSphere

November 28th, 2011 6 comments

Last month a question was raised in our open source vSphere Java API forum regarding an exception during HostSystem.getSummary() method call. As you can see from the stack trace, the actual exception was “org.dom4j.DocumentException.”

Red Hat Enterprise Virtualization Management APIs

November 21st, 2011 No comments

While checking out the exhibitions at CloudExpo weeks ago, I learned about the Red Hat Enterprise Virtualization (RHEV) 3.0. Due to my interest in virtualization APIs, I started to look into its management APIs. With no surprise these days, it’s a REST API.

Cisco UCS Management APIs

November 14th, 2011 3 comments

After installing the UCS emulator, I started to read and try UCS management APIs. I found the following two documents very helpful: Cisco UCS Manager API Management Information Model, and Cisco UCS Manager XML API Programmer’s Guide.

Key Concepts

The key concepts of the APIs are pretty similar to VMware vSphere API. For example, it has managed objects which represent UCS resources like chassis, blades, fabric interconnects, etc. They contain administrative states and operational state.

Cisco UCS Emulator

November 11th, 2011 5 comments

Recently I started to learn Cisco UCS because VCE uses it in Vblock. I thought I would need a real server like Vblock, but to my surprise Cisco has a pretty nice emulator there, meaning anyone can play with it without a real physical server in place.

Here is the download link for the emulator. You will be asked for Cisco.com user id. Just fill an online form if you don’t have it yet. It’s fairly straightforward and quick, and I got mine within one minute.

Categories: Virtualization Tags: ,

New Book: Enterprise Java Applications Architecture on VMware

November 4th, 2011 5 comments

My former colleague Emad Benjamin at VMware has just published a new book on running Java on vSphere. When I was still there, I had the opportunity to review the Chapter 5 of his book.

As many of you know, Emad is a well-known expert on this subject who has spoken at various events like VMworld and helped numerous customers. You can buy his book at Amazon or from publisher directly. Remember to bring it to next year’s VMworld for his autograph.:-)

We Are Hiring

November 4th, 2011 No comments

I think it’s going to be the longest single post I have ever done because we have quite a few openings in our VCE team. We are building our software capability for what I called turnkey software stack for cloud computing on Vblock.

The following are just three openings we want to fill immediately: Sr. GUI Engineer, Sr. Build/Automation Engineer, and Sr. Software Development Manager (update: Principal Solutions Engineer). We also have more software engineer and QA positions whose descriptions are not listed here. If you are interested in any position, please feel free to email me (firstname.lastname@vce.com).

The Future of VI Java API and How You can Help

October 26th, 2011 12 comments

Upon hearing about my leaving VMware, quite a few members in the community sent me emails or tweets asking about the future of the API. Most of them have built products or automation scripts using the API, therefore would like to see the continuous success of the open source project. I am sure there will be more inquiries coming without this post.

Categories: vSphere API Tags:

VI Java API 5.0 GA Released

October 2nd, 2011 4 comments

It’s been one plus month since I pushed out the beta code which has since been downloaded more than 700 times. As promised, I am happy to announce the GA of VI Java API 5.0 today. This is the fourth major release after 1.0, 2.0, and 2.1 which are all shipped on time. Predictability is important for commercial products, even so for open source projects like this. I think we’ve demonstrated it in the past three and half years since the first release in May 2008.

Categories: vSphere API Tags:

One More Secret About Session Management in vSphere

September 27th, 2011 No comments

Session management is a very important part of vSphere management, especially when scalability is involved. I’ve blogged about this in my previous posts (1, 2). If you haven’t read them yet, it’s high time to do so.

In this article, I am going to share with you a new finding while helping a development team. By default, an idle session is terminated by vSphere server after 30 minutes. The team found that it’s not totally true. They use several types of sessions for different purposes. Two of the sessions remain live even after the 30 minute default while others are gone.

Categories: vSphere API Tags: ,

Escaping Characters for SOAP XML: Late But Here

September 26th, 2011 No comments

It’s a known bug in VI Java API that it did not escape strings to be included within a XML tag. The potential risk, although very very rare, is that it can blow the de-serialization of a request on the server side. I did get one or two reports on failing on login, which turned out to be caused by special characters like < or > in passwords. As a quick fix, an escaping logic has been added to escape the special characters in passwords.

Categories: vSphere API Tags: , ,

Missing ArrayOfDatastoreEventArgument

September 19th, 2011 3 comments

After the vSphere Java API 5.0 beta was released, I got a very interesting bug that I think is worthwhile to share with the community. Note that I used the word “interesting.” It turned out to have no solution logically, but quite easy to work around and patch up. The workaround addresses only particular issue but does not prevent similar bugs from happening in the future.

Confused? Let’s take a quick look at the bug report:

Categories: vSphere API Tags:

VIX Implementation in vSphere Java API

September 12th, 2011 No comments

Among all the new features vSphere API exposes, I think VIX integration is very important. All of sudden, the vSphere API gets a boost on manageability of guest OS, and you can do many more with single set of APIs.

Categories: vSphere API Tags: ,

Fixed a Bug in Client REST API

September 6th, 2011 No comments

As reported by the open source VI Java API community, a bug came to my attention. It’s related to the Client REST API which is a powerful hack with vSphere MOB based on a little secret. Started in vSphere 4.1 update 1, things started to break if you want to call a method with the REST API while retrieving properties continues to work.

Categories: vSphere API Tags: , ,

VMworld 2011 Las Vegas: Day Two

August 30th, 2011 No comments

Today is day two of VMworld 2011 in Las Vegas. VMware CTO Steve Herrod got on stage with his technology deep dives into various products and new projects around the cloud story – “your cloud, own it.” Again this is based on my note and memory, and has not reviewed by anyone. Mistakes are all mine.

VMworld 2011 Las Vegas: Day One

August 29th, 2011 No comments

Today is day one of VMworld 2011 in Las Vegas. The most important part is of course the keynotes by CEO Paul Maritz and Co-President Carl Eschenbach. The following is based on my personal note and has not reviewed by anyone. All the mistakes and errors are mine and only mine.

Simplified vSphere 5.0 API Reference Online

August 27th, 2011 3 comments

After the vSphere 5.0 was released, I checked the vSphere Web Services SDK documentation page. Upon clicking the vSphere API Reference link, I got into the vSphere 5.0 Documentation Center as follows:

It’s a bit surprise to me. First of all, I like the integrated approach where you can find all the information related to vSphere 5.0: from user manual to SDK/CLIs, and even links to communities/blogs. Also, you have nice features like bookmark, search and printing, etc.

Announcing VI Java API 5.0 Beta

August 25th, 2011 4 comments

Now that vSphere 5 just GAed today, I am happy to announce the public beta of VI Java API Crescendo release. Based on the feedbacks I got from the community, especially William Lam, I decided the new version to be 5.0 beta so that we can sync up with the vSphere 5.0.

Categories: vSphere API Tags: