Automating vROPs Tenant Appliance Deployment & Configuration via API

In my previous post on vROPs Tenant Appliance for vCD, I covered steps of manual deployment & configuration. In this post I will cover how we can achieve this via CLI/API.

These API’s can be leveraged via any scripting language to automate the deployment of vROPs TA.

Step 1: Deploy vROPs Tenant Appliance via ovftool

As of now there is no API for automating deployment of appliance via API, so we will use ovftool for this purpose.

Step 2: Get Authentication Token Read More

Installing & Configuring vCD Content Pack in vRLI via API

In this post we will learn how to install vCD content pack in vRealize Log Insight via API. 

What is vCD Content pack?

As per VMware official documentation:

The VMware vCloud Director content pack provides you unparalleled visibility into your vCD environment from 5.5 to the new 9.x SP. Providing graphical representations of important log data, metrics of your vCD workloads and a robust set of alerts this content pack will allow you to better manage vCD utilizing Log Insight’s capabilities.

Installing content packs in vRLI is one of the day 2 operations that most VMware Admins do in their day to day job. In large datacenters where there are several instances of vRLI, configuring content packs & agents via UI is a very tedious and time consuming process. You can use API’s to automate these day 2 tasks to reduce time and to minimize human errors. So let’s get started. Read More

Install & Configure vCD Management Pack in vROPs via API

In this post I will walk through steps of installing vCD Management Pack in vROPS via API. Installation of management pack is leveraged via vROPS CaSA API. Adapter configuration is done via regular suite-api. 

What is vROps CaSA API?

CaSA stands for Cluster and Slice Administration. The CaSA API manages the internal working of vRealize Operations Manager and runs on a standalone vFabric tcServer. CaSA API can be explored directly from vROPs by typing https://<vrops-fqdn>/casa/api-guide.html

Install and Configure vCD Management Pack & Adapter Read More

Getting Started With vROPs Tenant App For vCloud Director 10.x

In this post I will walk through step by step installation for vRealize Operations Manager Tenant App for vCloud Director. But before I jump into lab, I want to take a moment to explain what this solution is all about and how it looks like from architectural point of view.

What is vROPs Tenant App for vCloud Director?

vROPs Tenant App is a solution which helps in exposing vRops performance metrics to tenants in a vCD environment. Each tenant can only see metrics data relevant to their organization.

From a service provider point of view, this is an awesome solution as Tenant App enables tenants to have complete visibility of performance metrics of their environment. If an environment is not performing as per expectations, tenants can leverage this solution to root cause analysis of performance issue and they can perform L1-L2 level of maintenance/troubleshooting tasks themselves without raising service tickets with service providers.  Read More

How To Update/Patch Multi Cell vCD 10.x Environment

In this post we will learn how to patch/update a Multi cell vCD 10.x environment.

Note: Above steps are for updating vCD from one build to another (patch release) within same version. Please do not confuse this with upgrading a vCD deployment where we jump from one major version to another.

I will breakup this post in 4 sections:

  • Pre Update Checks.
  • vCD Update Process.
  • Post Update Checks.
  • Post Update Tasks.

Pre Update Checks

There are number of checks which must be performed before attempting to update a vCD environment.

1: vCD Health Check & Primary Node identification: Before updating multi cell vCD environment, please ensure all vCD cells in server group are healthy and functioning correctly. Read More

vCloud Extender-Part 4: Cloud Provider Registration and VM Migration

In last post of this series, I covered the steps needed to configure on-prem environment to connect it to a cloud provider site. In this post I will demonstrate how to register cloud provider and initiate vm migration using vCloud Extender.

1: Introduction to vCloud Extender

2: vCloud Extender-Cloud Provider Setup

3: vCloud Extender-Tenant (On-Premise) Setup

Lets start with Cloud Provider registration.

Login to On-prem vCenter server webclient and click on vCloud Extender plugin and navigate to Provider Clouds tab. Click on Add a Provider Cloud button. Read More

vCloud Extender-Part 3: Tenant (On-Premise) Setup

In last post of this series we covered the deployment/configuration steps in the cloud provider side. In this post we will learn about how to configure the on-premise (tenant) environment.

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

1: Introduction to vCloud Extender

2: vCloud Extender-Cloud Provider Setup

To connect the Tenant environment with the cloud provider, we need to deploy an instance of vCloud Extender in the on-premise. Deployment is more or less same like service provider side, but with difference that we select deployment type as “cx-connector” a shown in below screenshot. Read More

vCloud Extender-Part 2: Service Provider Setup

In last post of this series, I discussed about vCloud Extender architecture and its capabilities. In this post I will walk through steps of configuring vCloud Extender in cloud provider side.

vCloud Extender is deployed as ova and deployment steps are straight forward as shown in below slide show. Just make sure to select deployment type as “cx-cloud-service” on customization template page.

Once appliance is deployed and boots up, it will show the browser link to access the appliance for further configuration. Read More

vCloud Extender-Part 1:Introduction

What is VMware vCloud Extender?

VMware vCloud Director Extender creates a hybrid cloud environment between an end-user on-premise data center, and a multi-tenant vCloud Director environment. vCloud Extender is replacement for vCloud Connector and this product was released soon after vCloud Director 9.0 was announced. 

What does vCloud Extender offers?

vCloud Extender allows customers to migrate workloads from On-prem vSphere environment to a vCloud Director based Public Cloud. The two migration methods that are available with vCloud Extender are the cold and warm migration and I will talk about these methods in detail in upcoming post of this series. 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