Easy vSphere Web Apps with Grails and the VI Java API

image

A few weeks ago I wrote a post with a very similar title, “Easy VMware Development with VI Java API and Groovy.”  Today I want to expand on that a little bit and show you a cool way to quickly stand up web apps for VMware vSphere using Grails.    What is Grails?  If you’re familiar with the popular Ruby on Rails web application framework, then you can think of Grails as the Java (well, Groovy actually) equivalent of Rails.  From the Grails official website …

Grails is an advanced and innovative open source web application platform that delivers new levels of developer productivity by applying principles like Convention over Configuration. Grails helps development teams embrace agile methodologies, deliver quality applications in reduced amounts of time, and focus on what really matters: creating high quality, easy to use applications that delight users.

What does all this mean?  The short and sweet answer is Grails will take care of all the pain-in-the-a$$ “stuff” required to get a web app up and running.  A good analogy would be cake mix.

Continue reading

Easy VMware Development with VI Java API and Groovy

image

Have you ever wanted to write a script or an application that automates your VMware VI3.x / vSphere environment, but lack the development skills to do so?  Or, maybe you have development skills, but you’re looking for ways to simplify your code and improve your productivity?  In either case, I’ve stumbled across something you’ll definitely want to check out.

Before we start, I should probably clarify something.  If you have zero development experience, then the title of this post could be a little misleading.  An absolute beginner probably wouldn’t consider this “easy.”  There are certainly easier ways to develop VMware scripts which are targeted at VMware Administrators, such as the vSphere PowerCLI.  And if you want to do some VMware scripting without learning a programming language and/or acquiring some development skills, then you should stop reading now and go check out the vSphere PowerCLI.  However, if you’re a little adventurous and want a “fast track” for creating VMware applications, then by all means, read on.

Continue reading

Green? Go Black and White with VMware

image

Introduction

“Going Green” has been a buzz word in the IT community for years but the more I deal with this topic the more I consider it a black and white issue.  I never thought I would be covering an energy blog topic, but there are some real world examples I wanted to write about.  Datacenters are enormous consumers of energy from the IT infrastructure itself, all the way down to the HVAC that is needed to cool these power thirsty systems.  While I think green initiatives are much needed in our industry, typically large corporations don’t consider these initiatives unless there is some intrinsic value associated with them i.e. money.  Business drivers outweigh the political pressures of saving the environment, and in all fairness isn’t that what a company should be about, their own salvation?

Maybe that sounds harsh to all of the eco-friendly readers out there, but don’t get me wrong I am all about saving natural resources and respecting our environment.  Understanding the underlying issue of the current state of our industry is critical if one is going to offer solutions to a problem.  If corporations can save operational costs on power and cooling and say they are a “green company” then we have just killed those two birds with one stone.

Continue reading