vCloud Availability for vCloud Director: Part 6: Install and Configure RabbitMQ Cluster

In last post of this series we deployed cassandra node and configured ssl security for cassandra. In this post we will be installing RabbitMQ for vCD.

If you are not following along this series, then I recommend reading earlier posts of this series from below links:

1: vCloud Availability Introduction

2: vCloud Availability Architecture & Components

3: VCAV Deployment

4: Install Cloud Proxy for vCD

5: Deploy Cassandra Cluster

What is RabbitMQ (RMQ)?

RabbitMQ is an open source message-queuing software which helps in facilitating message exchange between 2 or more applications. The exchange of messages is done via queue which is defined by administrator. An application can publish a message to the queue which can be retrieve or consumed by a different application. Read More

vCloud Availability for vCloud Director: Part 5: Deploy and Configure Cassandra Cluster

In second post of this series we looked at the components which are needed to form a VCAV solution stack and we saw cassandra is an integral part of this solution.

To know about cassandra in detail, you can refer an old blogpost written by me.

If you are not following along this series, then I recommend reading earlier posts of this series from below links:

1: vCloud Availability Introduction

2: vCloud Availability Architecture & Components

3: VCAV Deployment

4: Install Cloud Proxy for vCD

In this post we will deploy a Cassandra Cluster. Before installing cassandra software we need to meet following requirements: Read More

vCloud Availability for vCloud Director: Part 4: Installing Cloud Proxy for vCD

In last post of this series we deployed the VCAV appliance and discussed that it will be configured later once we are done with deployment of all the other needed components.

In this post we will add a vCloud proxy cell to an existing vCloud Director environment.

If you are not following along this series, then I recommend reading earlier posts of this series from below links:

1: vCloud Availability Introduction

2: vCloud Availability Architecture & Components

3: VCAV Deployment

What is Cloud Proxy ? Read More

vCloud Availability for vCloud Director: Part 3-VCAV Deployment

In last post of this series we discussed about logical architecture of VCAV and we discussed about the various components involved which makes the VCAV stack.

In this post we will be deploying VCAV appliance. Current version of VCAV is 2.0.1 and it can be downloaded from here. vCloud Availability appliance deployment is straight forward task and is pretty much like any other standard ova deployment. 

Connect to your management vCenter Web Client  and choose to Deploy OVF Template and browse to location where VCAV ova file is stored on your system. Read More

vCloud Availability for vCloud Director-Part-2-Architecture & Components

In first post of this series we discussed about what is vCloud Availability solution and what problem are we solving by using this product. In this post we will discuss about the architecture of VCAV and what are the components needed to create a full-fledged DRaaS solution using VCAV.

vCloud Availability Logical Architecture

Basically the architecture relies solely on service provider environment. There can be a slight differences in components that different service provider uses. Typical components can include what is visible in below diagram. Read More

vCloud Availability for vCloud Director-Part-1-Introduction

What is vCloud Availability for vCloud Director (VCAV) ?

vCloud Availability for vCloud Director is a Disaster Recovery-as-a-Service (DRaaS) solution that provides simple and secure asynchronous replication and failover for vSphere managed workloads.

VMware released vCloud Availability for vCloud Director keeping in mind to provide cloud innovations to vCloud Air Network partners so that they can implement this software solution to provide Disaster Recovery as a Service (DRaaS) to customers.

Customer’s who are using vCloud Air, knows that vCloud Air uses vSphere Replication to provide the DRaaS service to their customers. This is a very similar solution which vCAN partners will now be using for DRaaS.  Read More

Configuring vCenter SSO Federation in vCloud Director 8.20

There are 3 authentication methods that are supported by vCloud Director:

1: Local: These are the local users which are created at the time of installing vCD or creating any new organization.  If you have configured vCD with default configuration, then the first local account that is created is “administrator” user who is system admin for the vCD.

2: LDAP service: A LDAP service enables the organization to use their own LDAP servers for authentication. Users can then be imported into vCD from the configured LDAP. If you have a multi-tenant based vCD deployment, then each organization can use their own LDAP service for authentication. Read More

Expired vApps preventing Org vDC from deleting

Yesterday I was trying to delete an Org vDC from vCloud Air portal and it was failing time and again. On checking vCloud Director in backend I was seeing error “Cannot delete VDC


When I tried deleting it directly from vCD, it was bitching about some expired vApp templates and was asking to remove them first.


On checking the Expired items tab, I found that there were few expired vApps


When I tried deleting them, the operation failed with error

Read More

Configuring vCD 9.0 To Send Metric Data to Cassandra DB

In last post of this series, we learnt how to install and configure Cassandra DB for collecting metrics data from vCD. We also discussed that kairosdb is no longer needed to be installed alongwith cassandra for this purpose.

In this post we will learn how to configure vCD 9.0 to send metrics data to Cassandra DB.

This configuration is done by using cell management tool utility which is located in /opt/vmware/vcloud-director/bin directory. 

Run cell-management-tool cassandra –help command to see all available options which you need to specify to configure vCD correctly so that it start sending all metrics data to cassandra. Read More

Installing Cassandra DB for collecting vCD 9.0 Metrics Data

Cassandra DB is needed for capturing and storing vCloud Director metrics data so that it can be displayed in portal to end users so that users are aware of VM resource utilization etc.

Prior to vCD v9.0, we needed kairosdb + cassandra together for capturing and storing the metrics data, but things have changed now. VMware has removed the requirement of kairosdb and now metrics data can be sent straight to cassandra database.  This metric data in turn can be viewed in tenant UI.

As per vCD 9.0 documentation  Read More

Find vCloud Director Orphaned VM’s

We all are familiar with concept of orphaned VM’s in vSphere. However orphaned VM’s in vCloud Director have slightly different meaning. 

From vCD perspective, virtual machines that are referenced in the vCenter database but not in the vCloud Director database are considered orphan VMs because vCD cannot access them even though they may be consuming compute and storage resources. This kind of reference mismatch can arise for a number of reasons, including high-volume workloads, database errors, and administrative actions. Read More

Migrate vCloud Director 9.0 DB from MSSQL to Postgres

With vCloud Director 9.0, VMware introduced postgres as supported database for vCD. If you are planning to use postgres as DB, then you should install Postgres v 9.5 on a supported OS.

In our last Post I mentioned that I purposefully configured MSSQL as DB from my new vCD 9.0 installation, as I wanted to test the migration of vCDDB from MSSQL to Postgres. This post is focused on how to do so.

If you are new to postgres and do not know how to install it, then follow this blog for installation instructions which are pretty easy and straight forward. Read More

vCloud Director 9.0 Single Cell Installation

vCD 9.0 was announced yesterday and in my last post I touch based on some of the new features that are included in this new release. In this post we will see how to install and configure vCD 9.0.

vCloud Director Hardware and Software Requirements

Before starting with vCloud director 9.0 installation, please make sure all hardware and software requirements are met. Instructions are laid out here

Installing and Configuring a vCloud Director Database

In my lab I am using MSSQL for vCD database. Although I wanted to try the installation with Postgres database, but I refrained myself from doing so as I wanted to test cell management utility for migrating vCD database from MSSQL to Postgres later. Read More

vCloud Director 9.0 Released

Yesterday VMware released vCloud Director 9.0 and this version of vCD brings many new things on table which customer’s were looking for some time. We will discuss about Whats new with this release. Vcloud Director 9.0 was first anoounced by VMware in VMworld 2017 on 28/08/2017.

The GA version of vCloud Director 9.0 is build 6681978 and is available for download for service providers from here

Whats new with this release?

Below new features are in this release:

  • New HTML5 based UI which is fast (same like HTML client for vSphere). However, the old Flex based UI is still available.
  • New VM lifecycle workflows: VM creation task is now completed in one screen as opposed to maximum of seven in previous releases of vCD.
  • Multisite management:  If a tenant has workloads running across different Org vDC’s and in more than once vCloud Director instance, then tenant can access all of them via single portal.
  • vCloud Director Extender: It offers migrations between Cloud, an extension of L2 where NSX is not required in local environments. This means that customers with a simple vCenter will be able to connect to resources offered by vCloud Director providers and move workloads there. You can read more about vCloud Extender form here
  • Support for PostgreSQL: Postgres v 9.5 is now included as supported database. Earlier only MSSQL and Oracle was supported. If you want to migrate from MSSQL or Orcale DB to Postgres, then you can do so via cell Management Tool utility (I am pretty excited to test this in lab today)
  • Support for vSAN and VVol (Customers were looking for both of these for quiet some time)
  • Application Extensibility for the UI to allow 3rd party plugins is a significant new feature and will allow vendors to tap into vCD even more to enhance the client experience.
  • Trunking support for External and Routed Org Networks.
  • Up to 100 milliseconds latency between vCenter Server and vCloud Director is supported.
  • VM metrics available in UI: Earlier the VM metrics were accessible only via API and that too required routing metrics data from vCD to cassandra database. With vCD 9.0 metrics data is now part of the new HTML5 Tenant UI.

Useful links:

Video Tutorials

vCloud Director 9.0 HTML 5 Tenant Portal Read More

How to locate iso file uploaded in vCloud Director on backend datastore

Some time back I got a case where one customer deployed a Cisco ASA v10 appliance in his on-prem and attached 2 CD drives in that VM and then transferred that VM in vCloud Air. Post transfer of VM, customer was not able to power on the VM as the second CD drive of VM was not mapped to iso which customer uploaded in his catalog.

If you are familiar with vCD UI, then you might be aware of the fact that vCD do not provides an option to end user to specify particular CD ROM device for inserting ISO file. The only option which user gets is “Insert CD/DVD from Catalog’ and when an iso is inserted, it is always mapped to first CD ROM device at vCenter level. Read More