WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Hardware Options
    • Hardware Reviews
    • Lab Deployment Scripts
    • Nested Virtualization
    • Homelab Podcasts
  • VMware Nostalgia
  • Apple

How to enable vCenter Server High Availability (VCHA) in vSphere 6.5 w/single ESXi host?

11.16.2016 by William Lam // 5 Comments

One of the big new features that was introduced in vSphere 6.5, exclusively for vCenter Server Appliance (VCSA), is the vCenter Server High Availability (VCHA) capablilty. Feidhlim O'Leary has an excllent blog post covering what VCHA provides as well as a couple of demo videos on how it works, definitely worth checking out! After upgrading one of my home lab enviornments to vSphere 6.5, I wanted to try out this feature from an educational standpoint and specifically around using new VCHA vSphere APIs.

Like most vSphere Home Labbers, I have limited hardware and if you try to enable VCHA with only a single ESXi host, you will see the following error:

This operation would violate a virtual machine affinity/anti-affinity rule.

enable-vcha-on-single-esxi-host-0
As you might expect, VCHA will automatically provision affinity rules to ensure that the active, passive and witness node are not all running on the same physical ESXi host. For a production deployment this is completely valid but for lab and testing purposes, this might be a tough requirement to satisfy. I was hoping there might be an override option and searching for the word "ha" in the vCenter Server Advanced Settings lead me to an interesting property called config.vpxd.vcha.drsAntiAffinity. This discovery was purely by luck and I had noticed it was set to true by default, so I decided to change it to false and see what would happen.

enable-vcha-on-single-esxi-host-1 
To my surprise, changing this setting worked and I was able to successfully enable VCHA in my lab with all three nodes just running on a single ESXi host 😀

enable-vcha-on-single-esxi-host-2
An alternative solution would be to deploy a 3-Node Nested ESXi cluster which would not require this modification, but my physical ESXi host was limited on memory, only 16GB and would have been a lot slower.

Categories // VCSA, vSphere 6.5 Tags // VCHA, vSphere 6.5

All vSphere 6.5 release notes & download links

11.15.2016 by William Lam // 29 Comments

It looks like the announcement for general availability for vSphere 6.5 was published a bit earlier than expected. However, it is true that vSphere 6.5 has GA'ed and you can now download it! Below is a nice aggregated list of all the relevant release notes, documentation and download links related to the GA of vSphere 6.5.

I have also created a short URL which you can access this exact same page using vmwa.re/vsphere65

Enjoy and happy vSphere'ing 6.5 😀

Release Notes:

  • vSphere / ESXi 6.5
  • vSphere Client (HTML5) 6.5
  • vSphere Update Manager 6.5
  • Virtual SAN 6.5
  • vSphere Replication 6.5
  • vSphere Data Protection 6.1.3
  • vRealize Log Insight 4.0
  • vRealize Operations Manager 6.4
  • vSphere PowerCLI 6.5
  • vSphere vMA 6.5
  • vSphere CLI 6.5
  • vSphere Management SDK 6.5
  • vSphere Web Services SDK 6.5
  • vCenter Server Appliance Management API
  • vSphere Automation SDK for Java 6.5
  • vSphere Automation SDK for .NET 6.5
  • vSphere Automation SDK for REST 6.5
  • vSphere Automation SDK for Python 6.5
  • vSphere Automation SDK for Perl 6.5
  • vSphere Automation SDK for Ruby 6.5
  • Virtual Disk Development Kit (VDDK) 6.5
  • OVFTool 4.2

Downloads:

  • ESXi 6.5
  • Free ESXi 6.5
  • vCenter Server (Windows/VCSA) 6.5
  • vSAN Witness Appliance 6.5
  • vSphere Replication 6.5
  • Site Recovery Manager 6.5
  • vSphere Data Protection 6.1.3
  • vRealize Log Insight 4.0
  • vRealize Operations Manager 6.4
  • vRealize Business for Cloud 7.2
  • vSphere PowerCLI 6.5
  • vSphere vMA 6.5
  • vSphere CLI 6.5
  • vSphere SDK for Perl 6.5
  • vSphere Management SDK 6.5
  • vSphere Automation SDK for Java 6.5
  • vSphere Automation SDK for .NET 6.5
  • vSphere Automation SDK for REST 6.5
  • vSphere Automation SDK for Python 6.5
  • vSphere Automation SDK for Perl 6.5
  • vSphere Automation SDK for Ruby 6.5
  • vSAN Management SDK (.NET, Java, Ruby, Perl & Python ) 6.5
  • Virtual Disk Development Kit (VDDK) 6.5
  • vSphere Web Client SDK 6.5
  • OVFTool 4.2
  • TLS Configurator Tool for vSphere 6.5

Documentation:

  • vSphere 6.5
  • vSphere 6.5 Configuration Maximum
  • vSphere 6.5 SOAP API Reference Guide
  • vSphere 6.5 REST API Reference Guide
  • vSAN 6.5 API Reference Guide

Categories // vSphere 6.5 Tags // vSphere 6.5

VCSA alarm for VCDB space utilization in vSphere 6.5

11.10.2016 by William Lam // 4 Comments

With prior releases of the vCenter Server Appliance (VCSA), there was little to no visibility to the underlying vCenter Server Database (VCDB) which uses an embedded vPostgres Database. This was especially true for being able to get basic storage utilization of the VCDB including the breakdown of the different data types being stored. More importantly, there was no easy way to even monitor the storage utilization of the VCDB to help prevent the rare case where the VCDB could be filling up for whatever reason.

In vSphere 6.5, there have been huge amount of improvements to provide customers with greater visibility into the VCDB. Not only can customers get granular into the specific types of data being consumed: Stats, Events, Alarm & Tasks (SEAT), Transaction Log & VC Inventory within the VCDB, but this information can also be easily accessed both from a UI as well as API (using the VAMI REST API) standpoint. The Virtual Appliance Management Interface, better known as the VAMI for the VCSA has received a huge face lift in vSphere 6.5. As you can see from the screenshot below, there is now a Database section which gives you the current utilization of your VCDB. In addition, you can also see how this utilization trends over time for the various data types.

vcdb-space-utilization-vcenter-alarms-1
From a reporting and visibility standpoint, this is great but how do you go about operationalizing this data and ensuring that you do not run into situation where your VCDB is out of space or is close to being out of space? Another improvement that has been made to the VCSA 6.5 is that there is now a default vCenter Server Database Health alarm that will monitor the space utilization of your VCDB.

vcdb-space-utilization-vcenter-alarms-0
The way in this work is that system will check the VCDB space utilization every 15minutes with the following trigger events defined:

  • If the current storage utilization is at 80%, a Warning alarm will be triggered
  • If the current storage utilization is 95%, an Error alarm will be triggered and the action is to shutdown the vCenter Server application to protect the database

These default triggers can be changed by simply editing the following vCenter Server advanced settings: vpxd.vdb.space.errorPercent and vpxd.vdb.space.warningPercent (restart of VC service is not required).

vcdb-space-utilization-vcenter-alarms
Customers can also extend these alarms to send an additional email and/or SNMP trap to their monitoring system so that not only is this visible in the vSphere Web Client but the appropriate administrators can also be notified. The above is just one of the many improvements the VCSA 6.5 has received and I definitely recommend customers spend some time looking at what is now available in the VAMI UI as well as being able to pull this information using our new VAMI REST API.

Categories // VCSA, vSphere 6.5 Tags // SEAT, vcenter server appliance, vCenter Server Database, VCSA, vcva, vpostgres, vpxd.vdb.space.errorPercent, vpxd.vdb.space.warningPercent

  • « Previous Page
  • 1
  • …
  • 21
  • 22
  • 23
  • 24
  • 25
  • …
  • 27
  • Next Page »

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • Automating the vSAN Data Migration Pre-check using vSAN API 06/04/2025
  • VCF 9.0 Hardware Considerations 05/30/2025
  • VMware Flings is now available in Free Downloads of Broadcom Support Portal (BSP) 05/19/2025
  • VMUG Connect 2025 - Minimal VMware Cloud Foundation (VCF) 5.x in a Box  05/15/2025
  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2025

 

Loading Comments...