Author Archives: Steve Jin

SSH in Python: A Quick Working Sample

In one of my recent consulting projects, I had to use SSH from Python. After a little research, I ended up with using the paramiko package as library.

Installing Libraries

To download the paramiko package, just check out this link. What I downloaded was paramiko-1.12.0.tar.gz. After it’s uncompressed with 7-Zip to a temparary directory, just issue the following command and the needed library got installed into the site-packages directory.

eb5c2f307702ae44552bbbb183bf7e90004

Posted in Software Development | Tagged , , | 5 Responses

VMware ESXi vim-cmd Command: A Quick Tutorial

Command lines are very important for system administrors when it comes to automation. Although GUIs are more likely (not always as I’ve seen too many bad ones) to be more intuitive and easier to get started with, sooner or later administrators will use command lines more for better productivity. Check out DoubleCloud ICE if you want the best of both GUI and command lines.

Posted in Virtualization | Tagged , , , | 27 Responses

Tools That Enhance PuTTY Experience

PuTTY is a very popular tool on Windows for connecting to remote server using SSH. As I used it a lot recently, I tried several tools that enhance the user experience. You may be interested in them too.

Desert Color Theme to Better Highlight Information

My experience with PuTTY has been pretty good except that the default color scheme does not highlight key information well, for example, the dark blue color for directory names on black background makes it hard for my eyes.

Posted in Applications & Tools | Tagged , | 1 Response

How to Monitor New Changes of Log File with Java

If you have a log file that you want to monitor the incremental changes, you can use the following simple code. Whatever new log entries written to the log will be quickly picked up and printed out to console. It does not interfere with the application that writes the log file. To test the code, you can use any text editor to append more entries to the end of log file (don’t forget to save it).

Posted in Software Development | Tagged , | 1 Response

How to Run Maven Based Java Application From Command Line

It’s pretty straight forward to run Maven based projects in NetBeans IDE. For some projects that involve console related capabilities, you have to run it from OS console. One example is projects that use the JANSI APIs for colorful console output (see my last post for a sample). If you run the code within IDE, you won’t see the colors as would in a console.

Posted in Software Development | Tagged , , , | 2 Responses

Writing Colorful Console Output in Java

Almost all of the Java console application I had seen were boring black background and white fonts on Windows. This can be changed using a small Java library called Jansi which is open sourced under Apache 2.0. The download link can be found at its project home. The source code is also available on Github here.

Posted in Software Development | Tagged , | 2 Responses

Synology NAS: Configure Static IP Addresses, Link Aggregation

As mentioned in early article on Jumbo frame, I bought a Synology Diskstation 1513+ NAS server and really like it. The NAS server comes with very rich features that I have just explored partially. One of my favorite features is its GUI which is Web based but feels like a desktop using the Ext Javascript framework. Besides basic functionalities, it also has appstore kind of extensibility. For example, you can install cloud storage to have your own dropbox without exposing your data on public cloud. I haven’t got time to explore all these yet, but will try them later.

Posted in Cloud Computing | Tagged , , | 1 Response

Parsing Command Line in Java

If you develop a command line tool, you would probably need to parse options and arguments. In Java, you can use Apache Commons CLI to handle the parsing. Since I don’t write much command line program, I don’t need these tools. While reading vCO API sample, I found one command line tool called args4j which is written by Kohsuke Kawaguchi who had created the famous Hudson/Jenkins server.

Posted in Software Development | Tagged , , | 2 Responses

How to Add Copyright Notice in JavaDoc

While using Netbeans IDE to generate Javadoc for a Maven project, I noticed the generated pages has a default copyright notice at the bottom of every page, say “Copyright 2013. All Rights Reserved.” Because it’s default, it does not show the name of copyright owner. To change it, I found it’s not really straight-forward, therefore it may be worthwhile to share it.

Posted in Software Development | Tagged , , , | 1 Response

What’s New in VMware vSphere 5.5: Management APIs

After downloading the vSphere 5.5 SDK GA release last week, I started to look into the API reference immediately. Because I am pretty familiar with previous versions of vSphere APIs already, I just jumped directly into the “New and Changed Managed Object Elements in 5.5” page (there is a link on the home page of API Reference) as I had to work on the open source vijava API 5.5 which was released as beta last Friday.

Posted in vSphere API | Tagged , | 3 Responses

Announcing VI Java API 5.5 Beta Supporting vSphere 5.5

As it’s asked about when the vijava API 5.5 is ready, the answer is NOW. A couple of minutes ago, I uploaded the beta release to the sourceforge.net site. Please feel free to download the beta release and give me your feedbacks and bug reports as soon as possible. I plan to GA the release in about one month.

Posted in vSphere API | Tagged , | 35 Responses

VMware vSphere API Training is Ready

During the last 3 weeks, I’ve been working on the courseware and online lab for the VMware vSphere API training. It’s now available for delivering as private classes, either online or onsite. All the contents in the training will be highly customizable per your project needs in terms of content and time. For example, if you are a networking company, we can put more focuses on the networking aspect of the vSphere APIs. As a former VMware employee who authored the VMware vSphere SDK book with Prentice Hall and created of the de facto open source VI Java API, I can also give you practical advice for your projects.

Posted in News & Events, vSphere API | Tagged , | 23 Responses

Jumbo Frame with ESXi: What I Learned at Home Lab

While building my home lab, I found a bit trouble setting up the jumbo frame of MTU 9000 which is supposedly faster than normal frame of MTU 1500. To set it up, I changed the MTU on both ESXi and the Synology DS1513+. The steps involved are pretty simple and straight-forward.

Posted in Cloud Computing | Tagged , , , , | 3 Responses

Install and Configure VNC Server for Remote Access on Linux

Like RDP, VNC protocol allows for accessing computers remotely with full window GUI. It’s used in VMware vSphere and OpenStack for users to interact with virtual machines by connecting to hypervisors. Here is what I just did to set it up. The instruction should work on a host either it’s a physical machine or virtual machine as long as it’s installed with CentOS or equivalents.

Installing VNC Server

Posted in Cloud Computing | Tagged , , | 2 Responses

GUI Libraries for Angular Javascript Framework

Angular is a fantastic JavaScript framework that simplifies the MVC for Web applications. Like jQuery, it does not come with a library of GUI widgets and CSS themes – it just does what it’s supposed to do and does it well. If you are a developer, you would most likely need a GUI library to build a modern and interactive Web GUI. That is why I spent a bit time to research on this.

Posted in Software Development | Tagged , , , | 2 Responses

Angular JavaScript Framework: Interacting with Java Servlet Backend

In my last article, I introduced the Angular JavaScript framework with working samples. Among all these JavaScript frameworks, I think Angular is the first one that does it right (I can be wrong on this as my exposure of JavaScript is limited). If your project needs Web GUI for example vSphere Web Client plug-ins, it’s definitely a good choice to consider.

Posted in Software Development | Tagged , , , | 30 Responses

Angular JavaScript Framework: MVC Simplified in HTML5

At VMworld 2013, I bumped into my former colleagues at VMware who work on the new vSphere Web Client. Faster than I thought, the new vSphere Web Client started to support HTML5 partially with Angular JavaScript Framework. I haven’t looked into the details but that is something the community should be excited about.

Posted in Software Development, Virtualization | Tagged , , , | 3 Responses

Securing REST APIs or Web Application With Basic Authentication

If you implement REST Web Services, you want to secure them. The simplest approach is to use the basic authentication () with user name and password. To protect all the resources behind the REST APIs, you can simply implement filter as introduced in Java Servlet 2.3 ().

Posted in Software Development | Tagged , , , , | Leave a comment

Start My Own Consulting and Training Business

As some of you may have known, I just left VCE last Friday. It’s really a tough decision as I enjoyed very much working with my colleagues there during the last two years, and the company continues to grow rapidly. Building my own business is something I had always dreamed about. I am glad I finally took it into action.

Posted in News & Events, Virtualization | Tagged , , | 15 Responses

VMworld 2013 Impression: Is VMware Ready For Next Growth?

Last week was pretty exciting with VMworld 2013 in San Francisco. I sat through the keynotes and talked to many friends at VMware and partner community who showed up in the SolutionExchange where I spent most of my time. On Thursday I got a bit time to attend a few breakout sessions.

In first day keynote, VMware CEO Pat Gelsinger laid out three imperatives for VMware: 1) Virtualization extended to ALL of IT; 2) Management gives way to automation; 3) Compatible hybrid cloud is ubiquitous. The keynote was centered around these three imperatives.

Posted in News & Events, Virtualization | Tagged , , | 1 Response
  • NEED HELP?


    My company has created products like vSearch ("Super vCenter"), vijavaNG APIs, EAM APIs, ICE tool. We also help clients with virtualization and cloud computing on customized development, training. Should you, or someone you know, need these products and services, please feel free to contact me: steve __AT__ doublecloud.org.

    Me: Steve Jin, VMware vExpert who authored the VMware VI and vSphere SDK by Prentice Hall, and created the de factor open source vSphere Java API while working at VMware engineering. Companies like Cisco, EMC, NetApp, HP, Dell, VMware, are among the users of the API and other tools I developed for their products, internal IT orchestration, and test automation.