Troubleshoot vCloud Director Database Connection Issues

In my Last post Troubleshooting vCloud SSL Certificates Issue I have covered how to resolve the ssl certificates issue.

Once the certificate is accepted by the vCloud director configuration script the next thing is that it will ask you for the database connection details so that it can connect to vcloud database and configure it.

This was not end of life it seems as vCloud director has decided to test me one more time. This time I ran into database connection issue as the vCloud director server was unable to contact my database (MSSQL).

I have covered the database preparation steps in my post Configuring MSSQL Database for vCloud Director

I was getting the error as shown in below screenshot

db-1

I was getting a connection failure error as vCloud director setup was unable to reach my MSSQL database and I was getting socket timeout error. This was very annoying for me.… Read More

Troubleshoot vCloud Director SSL Certificates Installation Issue

Prior to vCloud director installation you need to generate SSL certificates for your http and console-proxy connections. You can also you certificates purchased from certificate issuing company if you are planning to use your vCloud environment over the internet.

I am using self-signed certificates in my Home Lab and instructions for how to generate the certificates I have covered in my earlier post

When vCloud installer is run it invokes a script to configure the vCloud director and in the process it asks for the path to the certificates which will be used in securing the http and console-proxy connections.

I have generated the certificate (vcd.ks) on my root partition as visible in below screenshot.

cert-1

Now when I executed the vCloud installer (vcloud-director.bin file) it invoked a script for configuring the vCloud setup and was asking for the path to the certificate. I entered /root/vcd.ks but the installer was throwing an error that “file could not be found”.… Read More

Building a Private Cloud with vCloud Director- Part-3-Configuring Database for vCloud Director

In our last 2 posts of this series we understood the components of vCloud suite and had a look on my Lab Infrastructure. Lets move ahead and start configuring vCloud director components one by one.

vCloud Director supports MSSQL and Oracle as backend database. I am using MSSQL database for my Lab and this post will be covering the steps needed to configure the database prior to vCloud Director Installation.

Setting up MSSQL database is very easy task. Vmware provides the SQL commands to configure the database on the vCloud Director Documentation page. You can access this page by clicking on vCloud Director Documentation page.

Pre-requisite: Make sure your system meet following 2 pre-requisites before using the database setup script:

1: MSSQL database installed and running

2: SQL Server Management Studio installed

The below script will be used in configuring the database. You have to make minor changes in the script to setup according to your infrastructure

Read More

Building a Private Cloud with vCloud Director- Part-2- Infrastructure Setup

In my previous post vCloud Director Introduction we have seen an overview of what are the components that makes up a vCloud suite and how each component is tied together to provide a cloud based infrastructure.

For setting up vCloud environment a lot of prerequisites are there which should be met prior to deploying the vCloud director and other components. In this post I am including my Infrastructure design and the preparations which I did.

vCloud requires your vSphere Infrastructure (Esxi + vCenter Server) to be ready before start jumping in and installing vCloud director. Also other components like DNS/AD/Storage should be ready in advance. I am listing here all the pieces which I made ready for my home lab.

Hardware Component

I have a Dell M4800 Mobile workstation laptop with 32 GB of RAM and i7 Quad Core processor. I am running all the components inside Vmware Workstation.

My Lab Components

  1. I installed Server 2012 R2 Datacenter edition as my base OS.
Read More

Building a Private Cloud with vCloud Director- Part-1- Introduction

Recently I decided to learn and implement vCloud Director in my Home Lab. Before proceeding it was important to have an overview of the components which makes the vCloud Director and the associated terms and terminology used.

There are plenty of information available on internet and I am including here some of the information which I found.

Understanding the components of vCloud Suite

The vCloud Suite looks like as shown in below picture. The suite is a combination of multiple products which is required to create a complete Cloud Infrastructure.

vcloud-1

                                                           Graphic Thanks to VMware.Com

The suite can be broken into 3 categories to understand better what are the products that made up the suite and how they work and combine together. As shown in above picture we have 3 categories here:

1: Cloud Infrastructure: This contains the vCloud Director itself at top along with vCloud Networking and Security (vCNS) and SRM.… Read More