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.

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 the steps of installing vCD Management Pack in vROPS via API. Installation of the management pack is leveraged via vROPS CaSA API. The 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

1: Upload vCD Management Pack: First we need to upload vCD MP to vROPs via POST call. 

Note: I am executing all API calls via Postman. If you have never used postman to upload files to the server, then please read this post for instructions.

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 the vRealize Operations Manager Tenant App for vCloud Director. But before I jump into the lab, I want to take a moment to explain what this solution is all about and what it looks like from an architectural point of view.

What is vROPs Tenant App for vCloud Director?

vROPs Tenant App is a solution that 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 issues 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.

Also we need to identify vCD primary node as we will be needing this info later when we will be taking backup of the embedded database. To fetch this info we can make use of vCD Appliance API as shown below:

Method: GET

URL: https://<vcd-fqdn>:5480/api/1.0.0/nodes

Headers: x-vcloud-authorization: auth-token

Response Output:

From the above output we can infer that all 3 vCD nodes are healthy here, cluster health is also healthy and node “vcd1” is the current primary node.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.

Specify Cloud Provider name and Provider Cloud URL. This should be in format https://provider-url/cloud/org/tenant-org-name.

Also specify the vCD Extender cloud service URL. This URL we configured in post 2 of this series.

Clicking on Test button verifies that if the supplied info is correct and the on-prem vCenter can connect to cloud environment successfully. Once test is passed, click on Add button to save the configuration.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.

Once appliance is deployed and boots up, it will give you URL for the further configuration of appliance.

Connect to https://CX-Appliance-FQDN/ui/mgmt and login with user administrator and password set during deployment of appliance.

On the home page click on Setup Wizard button to start configuring the appliance.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.

Connect to appliance by typing https://appliance-fqdn/ui/mgmt and login with administrator user and password set during deployment.

Click on Setup Wizard to start configuring the cx-cloud-service appliance.

Register appliance with your management vCenter. If your environment have PSC external to VC, then use PSC IP/FQDN for lookupservice url.

Next is to register cx-cloud appliance with the vCloud director. Enter your vCD details and administrator credentials.

Note: No need to append @system with the username.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.

One more exciting feature that vCloud Extender offers is to stretch an on-prem Layer 2 network to cloud. This feature helps customer to achieve their “Cloud Migration” objective without much hassle as you no longer need to Re-IP workloads that are migrating to cloud. 

You do not need to have on-prem deployment of NSX to stretch a layer 2 network to cloud but without on-prem NSX, you are limited to extending only vLANs to VXLAN on the cloud side.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.

By default your Site-B will show as unauthenticated. Click on the gear button to enter credentials.

Enter Org name of Site-B and the Org User credentials. Click on Authenticate.

Now both sites will show as authenticated.

Perform the same operation by connecting to VCAV appliance of Site-B and adding Org/User details of Site B and make sure both sites are showing as authenticated.

Once both sites are authenticated, navigate to DR-Workloads tab and click on Discovery

Select source site from where replication will be initiated.Read More