Archive

Archive for September, 2011

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: , ,

Diversified Devices Plus Cloud Data: Future of Client Computing

September 21st, 2011 No comments

In my previous articles, I mainly cover server virtualization and cloud computing. Client computing, although less enterprise focused, is also a very important part of whole story. In this article, I am going to share some thoughts on this topic, mostly about the future development of how users will use computers and what it takes to get there. I know it’s a big topic, but let’s give a try.

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:

VMware Released vFabric 5

September 15th, 2011 2 comments

As a developer, I’m always interested in latest development of middleware platforms. Yesterday came a big news from VMware: the vFabric 5 Cloud Application Platform reached GA. For those who might not be familiar with vFabric, it is an integrated suite of middleware for deploying and managing applications.

Note that despite the version number, this is the first release of the vFabric platform. I guess the version 5 may be just for aligning with vSphere 5. Also, this is a suite of products that have been there for a while.

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: ,

AppBlast: RDP Client in a Browser?

September 8th, 2011 No comments

In his keynote at VMworld last week, VMware CTO Steve Herrod showed a very interesting project called AppBlast. According to this news release thereafter, “Project AppBlast will provide the universal delivery of any application, including Windows-based applications, to any device supporting HTML5, enabling instant remote access to applications without the heavy footprint of the underlying operating system.”

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: , ,