VMware

Automate common VM changes after converting a VM to vSphere

I recently had the need to ‘prep’ a VM after converting it to vSphere. By ‘prep’ I mean (after you've installed VMware tools) do the usual grind of updating the virtual hardware to the latest supported by ESXi, update the vNIC to VMXNET3, and change the SCSI controllers to ParaVirtual. I thought about the times when I was in customer land and we would have to convert VMs from some other platform or in some cases, correct a VM that had been built incorrectly.

Identifying Uncommitted Space culprits with PowerCLI

Note: A bit more testing on my end has found this script is only valuable if your VMDKs are on separate datastores. I am working to find a better metric to pull the data per VMDK. Background Have you ever heard of “Uncommitted Space” in vSphere? It's one of those things we all seem to ‘know’ without really knowing. It's a pretty standard metric most commonly found against vSphere Datastores. It's effectively calculated based on the provisioned and used storage of a datastore and its contents.

Unable to push CA certificates and CRLs to host

Note: This post addresses and (hopefully) fixes the cause of the issue found here: vVols Endpoint - Failed to establish connection on ESXi host Recently, one of my customers was trying to refresh the CA store on newly built ESXi 6.7 U3 hosts under a freshly upgraded vCenter Server 6.7 U3 instance. When the admin tried refresh the CA store, they were getting this error message in the vSphere Client:

vVols Endpoint - Failed to establish connection on ESXi host

My customer has successfully rolled out VMware vSphere Virtual Volumes (or “vVols”) in their environment. They're loving the simplicity of storage management in vSphere, but were a little stuck when they added a pair of newly installed ESXi hosts to their environment. The hosts were not mounting the vVols datastore as expected meaning hosts could not run VMs backed by vVols. All existing hosts were OK. To start, they dug in to the logs at /var/log/vvold.

Using Regex in vRealize Orchestrator - extracting useful information from a VM name

Recently I had a customer wanting to identify if a VM of theirs was in Production, Test, or Development based on the VM's name. Luckily, all of their VMs are named using a naming standard of “{customer}{P|T|D}{application}{server-role}", giving a generic VM name like “custpdc1” or “cust-t-sql2”. They're just getting started on their journey with vRealize Orchestrator, and wanted to use it to perform this function. Easy enough, what do we need?

Unable to authenticate against LDAPS in vCloud Director 9.5

I had a customer upgrade their vCloud Director environment from v8.20 to v9.5. The upgrade itself went fine, however some tenants were now unable to login. Interestingly, the affected tenants were authenticating against their own LDAP server over LDAPS. All other tenants were authenticating against the Service Provider managed LDAP server. For this particular service provider customer and their tenant, the LDAP server was specified using an IP address instead of a FQDN.

vExpert 2019!

Thanks to all 5 of my avid readers, I've been awarded vExpert for 2019! What is vExpert? Taken from VMTN The VMware vExpert program is VMware's global evangelist and advocacy program. The program is designed to put VMware's marketing resources towards your advocacy efforts. Promotion of your articles, exposure at our global events, co-op advertising, traffic analysis, and early access to beta programs and VMware's roadmap. The awards are for individuals, not companies, and last for one year.

Back from VMware's World Wide Kickoff event

I'm back from VMware's internal Worldwide Sales Kickoff in Las Vegas! My first Kickoff and it was everything everyone told me it would be. What is Kickoff? It's VMware's internal networking conference for VMware staff that are in some way involved in the sales process. It's to equip them with the tools and knowledge to deliver real solutions to real world business problems (can you tell it's working??). The biggest highlight for me was hearing our CEO Pat Gelsinger during his keynote.

I'm now at VMware!

After many years of working with VMware products and having been on the receiving side of VMware's support and business development team, I can now hop the fence and make a difference directly with VMware! I was given the amazing opportunity to join the Brisbane office in Queensland, Australia as a Technical Account Manager and today was my first day! Without a doubt, there is plenty to learn and do over the next few weeks (maybe even months) and I expect this blog will take a temporary back seat until I've taken the reigns and settled into my new life.

Managing Windows Server VM templates with Packer - Part 1

Introduction We all know the immense pain of managing Windows Server VM templates, regardless of the platform you're using. Sure, you can build them once then update them manually on a schedule. However, it's tedious to document and even worse to execute, making sure the template is identical every time (except for your new updates of course). In my experience, you also have to maintain multiple versions and editions of Windows Server.