vCloud Availability End to End Configuration via API

Lately I have posted few blogs on manual setup of vCAV 3.x in service provider and tenant side. In this post I will walk through configuring the same via API’s.

If you are new to vCAV, then I would recommend reading below articles so that you will get an understanding about vCAV architecture and its functioning.

1: vCAV Introduction & Architecture

2: vCAV Service Provider Setup

3: vCAV Tenant Setup

Current version of vCAV is 3.5 and API documentation for this version is located at VMware code portal. You can also download vCAV openapi json and import it into rest client of your choice to execute the API’s. Read More

How To Unregister vCAV 3.5 Plugin from vCenter

Recently while working in lab, I came across situation where I had to remove the vCloud Availability 3.5 plugin from vCenter. To remove plugins from vCenter, we usually employ mob for this task, but removing the vCAV plugin follow different path. In this post I will walk through steps of doing the same.

Login to your vcsa appliance over SSH and execute following commands:

1: List vCAV plugin registrations in the vCenter Server Lookup service

Make a note of the Service ID from the output Read More

Upgrading vCloud Availability From 3.0 to 3.5

In this post I will walk through steps of upgrading vCloud Availability deployment upgrade from version 3.0 to 3.5.

If you have missed earlier posts of this series, I would recommend reading them from below links:

1: vCAV 3.0-Provider Setup

2: vCAV 3.0-Replication Policies

3: vCAV 3.0-Tenant Setup

vCloud Availability upgrade can be performed via various methods (CLI & UI). These methods are very well documented Here 

Upgrading vCloud Availability in the Cloud

Before upgrading vCAV in service provider side, we need to ensure that environment is configured as per Pre-Upgrade requirement. Read More

Configuring vCloud Availability 3.0-Part 3:Tenant Setup

In first Part of vCAV 3.0 series, we learnt about service provider side configuration and in last Post we discussed about Replication Policies in vCAV. In this post I will walk through steps of configuring on-prem environment with vCAV. 

To configure on-prem environment to work with vCAV, you need to first download the vCAV 3.0 Appliance for Tenants which is located Here

Deployment of appliance is very straight forward like any other vmware product. Below slideshow shows the deployment steps.

Once the appliance boots up, make a note of the login url. Read More

Configuring vCloud Availability 3.0-Part 2: Replication Policies

In last post we learnt how to perform vCloud Availability 3.0 end to end configuration. But before we can jump into performing tenant side configuration, we need to configure Replication Policies.

Replication policies are sets of rules that define and control the replication attributes on a vCD organization level. Typically a replication policy enforces following attributes:

  • Whether an organization can be used as a replication source.
  • Whether an organization can be used as a replication destination.
  • The minimum Recovery Point Objective (RPO) for an organization.
  • The maximum number of retained snapshots per single virtual machine replication for an organization.
  • The maximum number of virtual machine replications that can be created for an organization.

Note: A single replication policy can be assigned to multiple vCD organizations. 

Create a Replication Policy

You can edit and use the default replication policy that comes with vCAV or you can create a new one based on your requirements.  Read More

Configuring vCloud Availability 3.0-Part 1:Provider Setup

Recently I got chance to work on setting up vCloud Availability 3.x version in my test environment and it was a great learning curve. I will share my experience through series of blog posts so that it can help wider audience to understand every nuance’s of this wonderful product. 

I am not going to write any introduction post on what is vCAV and its architecture. Its very well documented Here

If you have worked on previous version of vCAV (2.0 & 1.5), you might remember it was a pain setting up various appliances. With vCAV 3.0, installation & configuration has been simplified drastically. No more hanky panky command line stuff. Now you just need 2 ova files for setting up cloud and on-prem infrastructure. Read More

vCloud Availability for Cloud-to-Cloud DR-Part 4: Testing DR Operations

In last post of this series we paired the two vCloud based cloud instances. Now its turn to test the DR capabilities offered by vCAV-C2C.

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

1: Introduction to vCloud Availability for Cloud-to-Cloud DR

2: vCAV-C2C-POC Deployment

3: Site Pairing

To start testing DR operations, connect to https://VCAV-FQDN:8443 and login with tenant credentials (uname@orgname) and navigate to Paired Clouds. Read More

vCloud Availability for Cloud-to-Cloud DR-Part 3: Site Pairing

In last post of this series we configured the vCAV-C2C appliance for both Site A & B. In this post we will learn how to perform site pairing so that tenants can start replicating workloads between 2 cloud instances.

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

1: Introduction to vCloud Availability for Cloud-to-Cloud DR

2: vCAV-C2C-POC Deployment

To perform site pairing, login to vCAV-C2C appliance of site A by connecting to https://VCAV-FQDN:8046 and navigating to Sites > New Site and enter IP/FQDN of VCAV appliance of Site B. Read More

vCloud Availability for Cloud-to-Cloud DR-Part 2: POC Deployment

As discussed in last post, we can configure all roles present in vCAV-C2C in a single appliance for Lab/POC deployment. In my lab I am going ahead with small deployment to have a general understanding of this product before doing distributed deployment.

In my lab I have 2 sites and each site is configured with following components:

1: vSphere/vCenter Server 6.5 U2

2: vCloud Director 9.0

3: VMware NSX 6.3.6

vSphere and vCD is fully configured and Org/Org vDC’s are in place n both sites with external network etc configured.  Read More

vCloud Availability for Cloud-to-Cloud DR-Part 1:Introduction

VMware vCloud Availability for Cloud-to-Cloud DR is the latest addition in VMware Cloud Provider Platform portfolio and it was first released in May 2018 and it brought joy for the service providers who wanted a VMware native Cloud to Cloud DR solution for vCloud Director based clouds from long time. 

What is vCloud Availability for Cloud-to-Cloud DR (vCAV-C2C)?

VMware vCloud Availability for Cloud-to-Cloud is a solution for DR between 2 instances of vCloud Director. Cloud to Cloud DR concept is not new but VMware did not had any solution for vCloud based cloud. vCAV-C2C fills this gap and helps VMware Cloud Providers to leverage existing vCloud Director environments to provide DR services, including replication and failover capabilities for workloads at both VM and vApp level. Read More

vCloud Availability for vCloud Director: Part 10: Integrating VCAV With Deployed Components

Now we have deployed all components needed to form VCAV stack. Its time to integrate all of them with VCAV. Let’s start.

At this point of time I am assuming that you have already declared following variables as per your environment

Configure vSphere Replication Manager

1: Configure VRMS appliance

# vcav hms configure –hms-address=$HMS01_ADDRESS –vsphere-address=$VSPHERE01_ADDRESS –vsphere-user=$SSO_USER –vsphere-password-file=~/.ssh/.sso –vcd-address=$VCD_ADDRESS –vcd-user=$VCD_USER –vcd-password-file=~/.ssh/.vcd –sso-user=$SSO_USER –sso-password-file=~/.ssh/.sso Read More

vCloud Availability for vCloud Director: Part 9-Create vCloud Availability Portal Host

In last post of this series we deployed the VRCS and VR appliances. In this post we will deploy VCAV Portal.

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

6: RabbitMQ Cluster Deployment and vCD Integration

7: Deploy VRMS Appliance

8: Deploy vRCS and VR Server

What is vCloud Availability Portal ? Read More

vCloud Availability for vCloud Director: Part 8-Deploy vSphere Replication Cloud Service & vSphere Replication Server

In last post of this series we deployed VRMS appliance. In this post we will deploy the vSphere Replication Cloud Service and the vSphere Replication Server appliance.

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

6: RabbitMQ Cluster Deployment and vCD Integration Read More

vCloud Availability for vCloud Director: Part 7-Deploy vSphere Replication Manager

In last post of this series we deployed RabbitMQ and integrated it with vCD.

In this post we will deploy and configure vSphere Replication Manager aka VRMS. But before we go ahead and kick the VRMS deployment, lets discuss in brief about what is the role of VRMS in a VCAV stack.

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 Read More

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