The other day I tweeted a short bit of code on how to automate the zeroing-out of your VDI images using SDelete:
I got quite a few DMs afterwards asking if it was possible to do the same with VMware’s OS Optimization Tool.
So without further ado, here’s the code I use as the last step in my Packer builds before closing them down for svMotioning:
Please remember to swap out your web server and to specify your own XML file. You could also YOLO it and use one of the built-in templates…
…but don’t be surprised when you cripple half your apps 🙂
I’ve been working on a complex automation solution recently in lab, and one task was to import a certificate to be used by VMware Horizon.
Those familiar with Horizon will know that any certificate used will need to have its corresponding private key which will also need to be exportable. The certificate also needs to have a friendly name of “vdm”. Continue reading
Recently I upgraded my AppVolumes 2.18 and 4.0 installations to the latest version. The event log on each server showed the installation as sucessful, returning “code 0” accordingly. To add to this, all services started as you would expect.
Unfortunately, both applications Continue reading
I’ve decided that whilst it’s great to provision a Kubernetes blueprint with a standard network overlay to the vRealize Automation catalog, offering one that leverages NSX-T is even better. So a few days ago I started creating Continue reading
A few months ago a client asked me to create an NSX application load-balancer programmatically, and then make it available to their vRealize Automation consumers in through the self-service catalog. In building-block fashion, they requested that this wasn’t a composite blueprint, but rather through XaaS. While the former would definitely take less time, the latter was not that difficult either once I got started. Continue reading
This will be the smallest blog post I’ve ever created, but I simply had to share this as it has been winding me up all night.
To install Certbot, and more importantly the AWS Route53 plugin on CentOS 8, you first need the Python Package Manager – known as PIP. Continue reading
Really short post, but this might stop you from going bat**** crazy…
Recently I needed to create some NSX Distributed Firewall Rules in vRealize Orchestrator for a complex micro-segmentation project. The layer 3 section already existed in NSX, I just needed to create the rules on the fly using the REST API. Continue reading
Recently, Microsot announced the GA release of their Public Cloud Kubernetes offering – Azure Kubernetes Service (AKS). Now DevOps practioners have the ability to stand-up k8s clusters in the cloud and integrate workloads with their existing CI/CD pipelines, without having to go to another provider. Continue reading
vRealize Automation brings a raft of benefits to an organisation. The biggest of these is the ability to enable users to consume complex services without having to rely on the corporate IT department. An example of this is the ability to provision a Docker endpoint, in the form of a vSphere Integrated Containers Virtual Container Host, for developers to deploy containers against. Continue reading
This will quite possibly be the shortest, but yet most useful, posts on vRealize Automation you’ve ever read…
If you regularly develop software components for vRA, you’ve undoubtedly discovered that if for some reason a deployment fails, the machine is automatically deleted within a couple of minutes. This is frustrating as it gives you no time to debug why it failed, as all evidence is deleted with the machine.
Thankfully, Sam McGeown shared the answer a couple of weeks back:
So there you have it. One custom property attached to your blueprint will enable you to see why your deployment failed.
This is one of those things I wished I’da known ages ago!