DHCP Fail…Over

One of the great features of Server 2012 R2 is the concept of DHCP Failover. Unfortunately, one of the crappy features of this is that DHCP reservations are not automatically synced between failover partners, unlike scope configuration and leases. Seems odd that the one thing that has personally caused headaches amongst DHCP administrators- the laziness of other admins not creating reservations in split scopes- was left out, but anyway… After a little Googling, I found a script that promised to do exactly what I wanted: Automatic syncing of configuration changes between 2 DHCP failover servers. However, on further investigation it...


Automated backups of vCenter Server Appliance (VCSA)

Having recently had a vCenter Appliance database corrupt following an all paths down scenario, I went looking for a way to backup the database. I found┬áKB2034505, which details the steps of doing exactly that! The only issue with this approach is that it is a one-off process. However, since the VCSA is just a Linux appliance, we can leverage this to implement a cron task to backup regularly. To do this, I first created an NFS share on my Update Manager server (hey, one good thing about having to have a Windows server for you VMware management, right?). I won’t...


RVTools 3.7 Released

After over a year since the last update, RVTools 3.7 is here! If you don’t already use this fantastic tool, now is a great time to start ­čÖé Version 3.7 (March, 2015) VI SDK reference changed from 5.0 to 5.5 Extended the timeout value from 10 to 20 minutes for really big environments New field VM Folder on vCPU, vMemory, vDisk, vPartition, vNetwork, vFloppy, vCD, vSnapshot and vTools tabpages On vDisk tabpage new Storage IO Allocation Information On vHost tabpage new fields: service tag (serial #) and OEM specific string On vNic tabpage new field: Name of (distributed) virtual switch...


Implementing Microsoft CA-issued SSL for vCOps

After deploying the vCSA with SSL certs, I decided it was time to finally fix up all the other services that are running on self-signed certs. Next up, vRealize Operations Manager AKA vCenter Operations (vCOps)┬á. Although there is a KB Article for this, it is pretty limited. For this guide I assume that OpenSSL is installed in C:\OpenSSL_Win64 – update to the relevant path for your environment. I have followed the folder structure from Configuring Certificate Authority (CA) signed certificates for vCenter Server Appliance 5.5 (2057223), using c:\certs as the base. Prerequisites: Required:┬áConfiguring OpenSSL for installation and configuration of CA...


SDS and SMS fail when using CA issued certs on VCSA

Today I was deploying the VCSA and thought I’d be smart enough to generate trusted certs for each of the services. Simple, right? There’s even a KB article for it. The issue I had when I got to the end of the process was that the “VMware vCenter Storage Monitoring Service” and “VMware vSphere Profile-driven Storage Service” were showing as failed in vCenter Service Status. After confirming the services were running, I noticed that web service was returning a 503 (Service Unavailable) error. After tearing my hair out and trawling through VMware community threads and KB articles, I finally found...


Manually set proxy details for vCSA

If you have ever had to setup a proxy server on the vCenter Server appliance, you will fast run into some limitations when it comes to the username field.For example, our service accounts are named with the “svc_” prefix, which is apparently invalid due to the underscore. The solution? just set the proxy details from the commandline! SSH to the vCSA Edit /etc/environment: vi /etc/environment Modify (or add) the following line: http_proxy= Save the changes: :wq Finally, update the environment variable: export http_proxy=’′ From there you should be able to get Internet access to download updates. You can test by...



Long ago, I posted my DFS replication report. This has had a lot of interest of the years, but has not been maintained much in the last few. Enter vCheck, the HTML report framework that I mentioned in one of my previous posts. I have written a number of DFS plugins which can be used with vCheck in order to report on DFS and DFS-R status. At the moment there are the following plugins: 01 List All Domain Namespaces 02 List All Domain Replication Groups 03 List Replication group backlog The script can be downloaded here:



If you have visited my blog before, you may have noticed something different. I’ve been kicking around the idea of updating my blog for quite some time, and finally got around to doing just that. I decided that despite the flexibility it gave me, I was not using the full advantage of Silverstripe. With this in mind, I’ve now shifted to the ubiquitous WordPress blog. This means that I can keep up-to-date a lot more easily, as well as moving to a platform more suitable for my simple needs. And who knows, maybe I will actually blog more often (HA!)


Filling the gaps

It appears that a few of my previous posts were not visible on my blog. I’ve just published these so there isn’t such a massive gap in posts (whoops!). At least it wasn’t *quite* a year gap since the previous post…


vCheck it out!

So if you have been vSphere for some time, you have probably already heard of vCheck. If you haven’t heard of it, vCheck is a HTML reporting framework created by Alan Renouf, designed to generate reports on your environment in an easy-to-digest format. vCheck is a project that I immediately saw great use for, as someone that has written a tonne of scripts in the same vein (DFS, SCOM, CA Spectrum, vSphere, AD… the list goes on), having a standard framework for creating reports is fantastic. Receiving emails in your inbox (or on your mobile device), containing valuable information allows...