Category Archives: Virtualization

Everything about Virtualization

vCloud Air vApp Networking “Pending” Status – Bug!

Been busy but I tried to squeeze out sometime to play with VMware’s vCloud Air On-Demand. If you been to the VMUG UserCon’s then you would know that VMware was giving away 200$ worth of free vCloud Air usage to test out the product.

I deployed a virtual machine – well actually I uploaded it to my Catalog and deployed it from there. I made sure i added it to the default routed network – which you get assigned by default. It is a /24 subnet that you get for your account.

Although my VM was on it – in the “networking” tab you see a “Pending” Status as shown in the below pic. This tab is part of the vCloud Director console so you will only see it when you manage your environment using vCloud Director.


VMware vCloud Air support today confirmed that this was a bug with vCloud Director and that it has no affect on network connectivity.

I wanted to make sure you were aware of this so you don’t freak out like I did 🙂

Deploy Your Docker Container on VMWare Project Photon

VMware last week announced its involvement with container fever that has gripped the world by announcing open source Project Photon and Project Lightwave.

Project photon is a light weight linux deployment for cloud specific applications while project lightwave provides the security aspect around it. Together both are intended to provide a gateway for VMware towards container architecture.

You can read more from this blog post as well.

Photon can run off of a minimal foot print of 300 MB making it pretty light weight.

I deployed photon on my VMware Fusion on my Mac (obviously) and here’s how it went.

Download the ISO (unless you want to build one off of git)

Deploy a new vm and make sure you select the OS type as Linux kernel 3.x 64-bit


Once you power on the VM


Click Install

Typical Linux install until you are asked to pick the kind of instance you want to deploy. Because I wanted to deploy a container, I picked the second option.


Select a hostname and a password and off you go!


Boom done, now next to pull our first container and get that part going! Press a key to reboot.

Login as root and the password you set. Once you are in do a ifconfig so you know your ip unless you have DNS and everything setup already.

In the container OS mode, docker is already up and ready to rock but lets make sure it boots up every time the system is up. Lets do a “systemctl enable docker” and do a “systemctl start docker” to start the service.


Lets pull a docker image, I recently uploaded a basic nginx container so lets try to run that.

lets do a search just to be sure 🙂 Do a “docker search rjapproves/myfirstcontainer” (replace my repo with what ever you like)


Next lets do a docker pull.

Do a “docker pull rjapproves/myfirstcontainer”

Once we do a pull do a “docker run -d -p 80:80 rjapproves/myfirstcontainer” (the switches mention run as a daemon and map the external to internal port)


Finally test out your browser and docker’s running!


Right now project lightwave is not up for download to try out the security features but when its out we will explore that further.

My docker repo can be found at and you can do a quick search as needed.


I wanted to do a quick write up to let you all know that I switched roles to join the Cloud Solutions Architects team at Rackspace.

In this new role I will be helping our Sales and the SE organization in architecting deep vmware and enterprise architectures –> read lot of white boarding and testing!

I will also be a liaison to help our Rackspace VMware product team, with whom I spent three years, to get more intelligible insight on customer requirements and trends to help in building new products which is exciting.

With that said I have been quite busy traveling to customer sites and also to VMUG user conferences. I recently presented at the Washington DC VMUG and the response was great.

If you are local or can make it to one of these VMUG user conferences, I strongly encourage you to do so.

I will soon get back to contributing and blogging once I settle down in my new role.


Saw this on the Twitter today and was worth mentioning and writing about.

Turns out that due to changes in the VDDK API, hor add functionality in VDP fails with vSphere 6.x. It also runs islower backups than its predecessor.

It gets worse when you notice that the restore of a backup against vSphere 6.0 does not work!

The fix is simple – Upgrade your VDP to 6.0 version.

The KB article related to this info is here.

Have you used VDP yet?!


An awesome guide is worth writing about. So before you run off to deploy your shiny new VSAN, make sure you have this handy guide beside you.

Corman Hogan wrote up an awesome guide for VSAN Troubleshooting that has pretty much everything you need to get that VSAN fixed up and running.

Here is the link and thanks Corman – awesome stuff!


News coming in hot off the press is that Google is collaborating with VMware on Enterprise public cloud allowing VMware to offer Google cloud services on vCloud Air.

The statement read – “VMware (NYSE: VMW) today announced an expanded agreement with Google to deliver greater enterprise access to public cloud services via VMware vCloud® Air™. As part of this agreement, Google Cloud Platform will be tightly integrated into vCloud Air, providing enterprise customers with greater access to industry-leading cloud services on VMware’s hybrid cloud platform.”

Looks like federation is taking its own form with companies, rather rivals now collaborating because the market is pretty clear about the message they are sending out – we want one gateway to multiple cloud vendors. Eventually I foresee all players collaborating through well understood agreements to allow such federation.

Heres the link.


Its been a busy busy month for me. We just launched out Dedicated vCloud Product at Rackspace which was fun to work with. I am part of a team of three Product Engineers who led and are primarily responsible for this massive undertaking and it has been fun.

Anyways, here what I have for you is the configuration automation script for VMware vCloud Director.

The script was fun to write and like my other scripts runs off of PowerShell and VMware vCloud Director RestAPI. Now I did want to write this in Java using the Java SDK for vCloud Director however that may happen in some time. No promises though.

You can pull my script and tweak it for your environment. The idea here is to identify the Restful payloads that you will need to finish parts of the configuration and then integrating the same in your environment.

You can find the script at my Github repo.

Do not forget to update the VCD-CONFIG.XML file and appropriately add the number of hosts and its credentials to the XML payload. Also make sure you comment out what you don’t need.

Let me know what you think 🙂


Been away pretty busy with some launches and virtual awesomeness but wanted to put a shoutout about VMware learning zone portal which seems pretty powerful.

VMware has been, of late, offering excellent training videos online free of cost to allow the spread of knowledge!

One of their websites worth checking is which has tons of videos and tons knowledge!

The VMware learning zone however is a subscription based service but worth checking out.

Here’s the VMware blog link for VMware Learning Zone.

Enjoy! 🙂


In VMWorld @ San Francisco I was able to attend the advanced performance tuning session for vCenter Server, but that was primarily focussed towards the Windows deployment only. With growing implementation of the vCenter Server Appliance, here are some tips on ensuring that the appliance runs nice and fast.

By default the appliance deploys wiht 8GB of RAM which can be changed but what you really need to alter are the JVM heap sizes to allow for better performance. If you are a dev then you will know that there needs to be a proper balance of how much these sizes need to be increased because the bigger the size the longer it will take to do garbage collection task which can then add to performance latency. My point here being do not increase it if you don’t have performance issues and when you do increase it, use smaller increments.

Alternatively for smaller environments you can reduce the memory footprint to infact gain some performance improvements however these would be minor. The below process can be used to increase the heap sizes as well.

Below are the steps to reduce the heap sizes – 

1. ssh to your vcsa server

2. login with the root account

3. execute command: vpxd-servicecfg jvm-max-heap read

The output gives you three values:


== Indicates the amount of RAM configured for the Query Service (inventory service)


== Indicates the amount of RAM configured for the Policy Based Storage Management (storage profile service)


==> Indicates the amount of RAM configured for Tomcat (vSphere Web Client Service)


==> Indicates that the vpxd-servicecfg command was successful

4. Reconfigure memory for Tomcat (vSphere Web Client Service)

Edit usr/lib/vmware-vsphere-client/server/wrapper/conf/wrapper.conf

Change the value for to 1024 (default = 2048)

5. Reconfigure memory for the Query Service (Inventory Service)

Edit /usr/lib/vmware-vpx/inventoryservice/wrapper/conf/wrapper.conf

Change the value for to 1536 (default = 3072)

6. Reconfigure memory for the Policy Based Storage Management (Storage Profile Service)

Edit /usr/lib/vmware-vpx/sps/wrapper/conf/wrapper.conf

Change the value for to 512 (default =1024)

7. Shut down the vCenter Server Appliance

8. Reconfigure the VM to 4 GB RAM

9. Reboot the Virtual machine

Hope this helps!



I never got a chance to write about my experience at the Boston VMUG conference that happened early October this year. I blame it on my default state of my mind – “procrastination!” 🙂

I had to now talk about how great it was after having got mentioned in Techtarget over a presentation that I and one of our product manager’s presented together. It certainly felt good to see the “press” – if I am allowed to call them that – taking note of how important DR was to a business and how important having it in a planned fashion really mattered.

Here is the link in case you want to read it.

I also got to meet a plethora of vendors and also some VMware gurus like Alastair, Jonathan, Matt and had a lunch with Scott Davis who was the former CTO of VMware’s End user computing business (IIRC).

All in all it was a great event, well organized, well taken care off and well attended!