Author: Adrian Page 3 of 12

Configure VMware Cloud Director Failover Mode

If you have a production-ready VCD installation, you must create it with a database HA cluster that provides failover capabilities to the VCD database (deployments without database HA are not supported by VMware). The VMware Cloud Director appliance includes an embedded PostgreSQL database. The embedded PostgreSQL database includes the Replication Manager (repmgr) tool suite, which provides a high availability (HA) function to a cluster of PostgreSQL servers. To configure HA for the VCD database in a VCD server group, you configure a database HA cluster by deploying one primary and two standby instances of the VCD appliance.

If the primary database service fails, you can activate VCD to perform an automatic failover to a new primary. The automatic failover eliminates the need for an administrator to initiate the failover action if the primary database service fails to perform its functions for any reason. By default, the failover mode is set to manual.

In this post, I’ll demonstrate how to configure VCD failover mode.

Tasks are slow or stall out in Cloud Director multi cell installation

Recently, I was troubleshooting a VCD 10.4 installation with three cells which experienced very slow response times during operations such as Power on/off a VM.

Looking throw the log files soon revealed messages such as:

ERROR | ActiveMQ BrokerService[] Task-15 | TransportConnector | Could not accept connection from tcp://:47990 : javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown

To resolve this issue, we’ve checked if the certificate is expired by running the following command on one of the cells:

/opt/vmware/vcloud-director/bin/cell-management-tool jms-certificates --status

The following part of the command result shows, that all of the 3 cells didn’t had a valid certificate:

To generate new certificates, we’ve run the command:

/opt/vmware/vcloud-director/bin/cell-management-tool jms-certificates --certgen --force

Afterwards, we restarted all cells:

service vmware-vcd restart

This fixed the issue in this environment.

Replace the Aria Automation license using Aria Suite Lifecycle

We can configure and replace license changes to Aria Automation either using the CLI or through the Aria Suite Lifecycle UI. This short post demonstrates the convenient way using Aira Suite Lifecycle (formerly known as vRealize Suite Lifecycle Manager).

How to resolve unavailability of vSphere Cluster Service VMs

Recently, I wanted to create a new provider VDC with a vSphere cluster as resource pool in a customer VMware Cloud Director environment. It failed with the error message “[ … ] class com.vmware.vcloud.api.presentation.service BadRequestException”.

While checking the cluster in the resource vCenter Server (version 7.x), the following error was shown in the vSphere Client:

“vSphere DRS functionality was impacted due to unhealthy state vSphere Cluster Services caused by the unavailability of vSphere Cluster Service VMs. vSphere Cluster Service VMs are required to maintain the health of vSphere DRS”

Setup Build Tools for VMware Aria

Build Tools for VMware Aria provides development and release management tools for implementing automation solutions based on the VMware Aria Suite (VMware Aria Automation, VMware Aria Automation Orchestrator, VMware Aria Operations, VMware Aria Automation Pipelines, Aria Operations for Logs) and VMware Cloud Director. The solution enables Virtual Infrastructure Administrators and Automation Developers to use standard DevOps practices for managing and deploying content.

In this post, I’ll demonstrate how to setup a developer infrastructure for Aria Automation using Build Tools for VMware Aria.

Page 3 of 12

All your base are belong to us.