Skip to content

Author: luke

Software Component Properties in vRA

So you are used to using vRA software component properties. You therefore know how powerful they are for performing Guest OS operations during a build request. They can be seen by the user. which is the issue. That is fine if that’s the intention (such as initial password). It can be pain if you want to expose internal properties to a Guest OS. This post explains how to be able to remove software component properties…

Leave a Comment

VM generated password for local admin user

This post explains how to use a vRA Software Component in vRA to implement a generated VM password (local user within Guest OS) and then display it to the user as part of a VM request. Firstly, create a Software Component or edit an existing one. Add a “Computed” property named “LocalAdminPassword” (or whatever name you prefer). Enter the relevant below code (Bash for Linux or PowerShell for Windows) in the “Configure” life cycle action.…

2 Comments

Using jq in Bash to manage JSON content

No doubt you already use Bash for a wide range of tasks, consequently are already aware it’s purely a procedural scripting language and not object oriented? For the majority of tasks this is fine, however there are times when objects are useful; enter jq, a lightweight and flexible command-line JSON processor. This post explains how to use jq to convert data into JSON and therefore an object. Say you have a file in /root/ with…

Leave a Comment

Create a PowerShell Object from contents of a file

No doubt you already use PowerShell for a wide range of tasks and consequently are already familiar working with PowerShell objects? This post explains how to turn the contents of a file into a PowerShell object. You can then use this object for whatever you need. Say you have a file in C:\data\ with the content: hostname=file-server-1 os=Windows 2012R2 location=Digbeth city=Birmingham installed=01-06-2015 active=yes Now you create a PowerShell function that will take the above content…

Leave a Comment

VMware NSX SSL VPN Setup

SSL VPN is a brilliant under utilised feature of VMware NSX. Easy to setup, allowing users access to an environment, you can even do more advanced setups by coupling with the context-aware micro-segmentation features of NSX. This tutorial will explain how to setup a NSX SSL VPN. NSX 6.4.5 was used for this tutorial, other NSX versions follow the same setup but you may notice some differences as you go along. You can use an…

1 Comment

SSH User and Key Management

Managing users and more importantly SSH keys across numerous Linux systems can be the bane of any sysadmin’s life. There are tools out there which make this easier, however some don’t work very well, some are complicated and others are costly. All of them tend to require additional software installing and being configured. Essentially there is a simple solution, have the user’s SSH public keys stored in a remote location and have a script which…

Leave a Comment

vRealize Automation 8.1 has arrived

vRealize Automation (vRA) 8.1 has arrived! Well not quite yet 😉 VMware announced VMware Tanzu including vSphere 7 and vRA 8.1 on Tuesday 10th March. vRealize Automation (vRA) 8.1 (along with vSphere 7) should be GA (general availability) around 1st May 2020. Keep checking back here or subscribe to my RSS feed for updates. When vRA 8 arrived it completely changed the architecture from vRA 7 and made the move towards features such as Cloud…

Leave a Comment

Using Images on vRA Custom Forms

With the release of vRA 7.4 came custom forms. Custom forms remove the need for wrapping IaaS and PaaS blueprints behind XaaS blueprints. One of the many benefits is the ability to apply advanced formatting of the layout and fields, including adding images. When adding an image to a form you can set the value to a URL (as below). One of the issues with doing this is the end user who will use the…

Leave a Comment

Install vRealize Automation 8 using Easy Installer

This tutorial will explain how to install vRealize Automation (vRA) 8 using the vRealize Easy Installer. There are a couple of options as you go through which I will discuss here. This tutorial assumes you are using a Windows client but it can still be followed if you are using Linux or Mac, you will just need to run the relevant installer file. vRA8 simplifies the application stack versus vRA7 by doing away with the…

Leave a Comment

Remove Managed Machine in vRA 8

In vRA 7 you could remove a VM from portal management (leaving the VM in vCenter) by using the “Unregister” day 2 action. There is no such action in vRA 8. There is also no way to remove the VM using the API without it being deleted from vCenter. Fortunately there is a way but it involves directly editing data within the postgres database in the postgres pod. Accessing the postgres kubernetes pod and directly…

9 Comments