Category Archives: vCloud Director

vCloud Director Installation/Configuration/Management/Troubleshooting Posts

vCloud Availability for vCloud Director: Part 3-VCAV Deployment

By | 09/09/2018

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

By | 09/09/2018

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

By | 09/09/2018

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

By | 31/01/2018

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

By | 28/01/2018

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

vdc-not-deleting.PNG

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

vdc-2.PNG

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

vdc-3.PNG

When I tried deleting them, the operation failed with error

read more

Configuring vCD 9.0 To Send Metric Data to Cassandra DB

By | 05/10/2017

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

By | 04/10/2017

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

By | 03/10/2017

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

By | 02/10/2017

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 focussed 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

By | 30/09/2017

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

By | 30/09/2017

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

By | 08/09/2017

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

Cannot Redeploy Edge Gateway “VSM response error (10020): Failed to deploy edge appliance vse-XXXX-0. The name ‘vse-XXXX-0’ already exists”

By | 12/07/2017

This post is very similar to issue described in my last post. The only difference in last issue and this was I was not able to redeploy edge gateway to get rid of stubborn Org Networks whereas in previous case Edge redeploy fixed the issue quite comfortably.

Let me start with a little bit background of how was this issue discovered and what challenges I faced.  I was working investigating a failed deprovision issue when this issue was discovered. Deprovision tasks in our environment are fully automated and we have some portal where these tasks arrives and there is a Resume button which when clicked, kicks the deprovision process. read more

Failed to communicate with NSX Edge vm. Error code VIX_E_PROGRAM_NOT_STARTED was returned by VIX API

By | 11/07/2017

Today while working on one production issue, I came across one incident where I was unable to delete one of the Org Network in vCloud Director. I observed following errors in vCD UI for the Org network deletion failure:

On checking vcloud-container.debug.log I observed similar log entries as seen in vCD UI

This was entirely new error for me so I started googling this around and unfortunately did not found helpful article. The only article which I got for this error was this but of no use for me.  read more

Detaching and Deleting Independent Disks in vCloud Director via REST API

By | 21/06/2017

Yesterday while working on one of the production issue where we had to deprovision a tenant environment in vCloud Air, I noticed that independent disks were preventing automated deprovision of the environment and the error messages were loud and clear in the log files.

It was a new issue for me so I started reading about independent disks in vCloud Director and want to share few things about this.

First of all independent Disk feature in vCD is completely different from an Independent Disk in vSphere. Independent disks can be shared across multiple vApps/VM’s in vCloud Director. This feature was first introduced in vCD v5.1. read more