Logo
  • Home
  • Projects
  • Recent Blog Posts
  • About
  • Guests
  • Posts
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Posts
Hero Image
Getting Started With Packer to Create vSphere Templates – Part 2 - Answer Files and Scripts

Welcome to part 2 of my Getting Started with Packer series, if you missed part 1, you can find it here. In part 2, we will take a look through an important part of creating your vSphere templates; Answer Files and scripts. Firstly, we will be looking at a couple of example scripts that can be used to configure your operating system before its turned into your template. We will then move on to answer files that allow an automated, non user prompting installation of your operating system. These answer files provide configuration details during the operating system installation.

  • Packer
  • vSphere
Tuesday, June 22, 2021 | 8 minutes Read
Hero Image
Getting Started With Packer to Create vSphere Templates - Part 1

Virtual Machines Templates, why? Templates are a great way to achieve consistent, repeatable and fast virtual machine (VM) deployments, be it an on-premise vSphere environment or cloud based environment. Having up to date VM templates for each of the operating systems you use, is key to being able to deploy infrastructure quickly and easily across multiple platforms. In this series of blog posts, I will be focusing on deploying virtual machine templates in vSphere, specifically vSphere 7, using a product called Packer by HashiCorp. Packer is an Infrastructure as Code tool specifically for template management.

  • Packer
  • Templates
  • vSphere
Tuesday, June 15, 2021 | 6 minutes Read
Hero Image
Upgrading Site Recovery Manager (SRM) 8.3.1 to 8.4

I recently started looking at prerequisites to a vSphere 7 upgrade, by reviewing any associated upgrades that might be needed. VMware Site Recovery Manager was one product that needed to be upgraded prior to this. I decided I would fire up a quick nested setup in my HomeLab to run through the process before hand and share the process! This nested lab consists of two ESXi 6.7 nested hosts, two vCenter 6.7 VCSA’s and two SRM 8.3.1 appliances, with the VCSA’s and SRM appliances having custom CA certificates installed.

  • VMware
  • SRM
Tuesday, May 25, 2021 | 3 minutes Read
Hero Image
Upgrade vRealize Operations Manager (vROPS) 7.5 to 8.4

Recently I tested a vRealize Operation Manager (vROps) upgrade from version 7.5 to 8.4 ahead of a vCenter 7.0.2 upgrade and thought I would share the process. Something worth noting with this upgrade. vROps 7.5 is based on a SUSE Linux OS, 8.4 is Photon OS. Before we install the 8.4 update, make sure you back up any customised content and install the vRealize Operations Manager Pre-Upgrade to 8.4.0 Assessment Tool! This will inform you of any content that is being removed that could affect your metrics/content and advise of any upgrade issues.

  • vROps
Tuesday, May 18, 2021 | 2 minutes Read
Hero Image
Updating PowerCLI and Cleaning Up Old Versions

Following the recent PowerCLI 12.3 release, I’m sure many will be rushing to make use of some of the great new additions which you can find information on here. I thought I would quickly show the process of upgrading to the latest version whilst uninstalling any older versions you might still have installed. Partly because I’m playing with creating video content at the moment! Credit to @colinwestwater for his article on how to clean up old versions, blog post here.

  • PowerCLI
Friday, April 9, 2021 | 1 minute Read
Hero Image
Enabling Native KMS in vSphere 7.0 Update 2

Some time back I wrote about setting up and enabling a HyTrust Key Management setup for vSphere to make use of VM and vSAN encryption. Following the release of vSphere 7.0 Update 2, VMware have introduced native key management capabilities! This is a great feature as you no longer require a potentially expensive separate key management solution to make use of vSphere’s encryption offerings. Lets take a look at this new capability by heading over to the Key Providers menu on your vCenter object, and selecting ‘Add Native Key Provider’:

  • KMS
  • vsphere
  • vSAN
Thursday, March 25, 2021 | 2 minutes Read
Hero Image
Get, Set and Remove Perennial Reservations Using PowerShell Functions

Having recently had to do some work with RDM perennial reservations I looked into ways to make this less of a manual headache. There are plenty of examples out there for doing this, which I took as a basis to make a PowerShell function. If anything it was a great way to refresh my PowerShell skills and an opportunity to learn some new skills. Note: Although this has been tested in my environment, please make sure you test it appropriately before running against a production environment!

  • PowerCLI
  • PowerShell
  • vSphere
Tuesday, March 9, 2021 | 3 minutes Read
Hero Image
Administering ESXi Hosts With ESXCLI using PowerCLI

There are times as a vSphere admin, you are going to want to run ESXCLI commands against multiple ESXi Hosts from a central location. This could be for configuration / administration, reporting, patching or a number of other things. Recently I have been testing different values in the /DataMover/MaxHWTransferSize advanced setting. To make life easier, I wanted a way to change multiple hosts quickly and easily. To do this, I customised a script that Luc Dekens posted as a solution to a problem someone was having that can be used to send ESXCLI commands to multiple hosts using PowerCLI and plink.exe. This slightly modified version uses a CSV file as a source containing my hosts FQDN and the username and password I will be connecting with.

  • ESXCLI
  • PowerCLI
  • vSphere
Wednesday, February 10, 2021 | 3 minutes Read
Hero Image
Deploying vCenter 7.0 via the CLI

Recently I decided it was time to add a second vCenter 7.0 Appliance to my main lab environment after the lab containing my SRM and vSphere Replication installation ceased to exist… I thought I would take the CLI route as its been a while, and thought I’d share! To begin, you need to decide what you are deploying. There are four deployment options available to you, which you can see listed below. To see the options, mount the vCenter ISO image, browse to vcsa-cli-installer\templates\install, and you will find 4 templates;

  • vSphere
Wednesday, January 27, 2021 | 7 minutes Read
Hero Image
Using Tags To Automate The Assigning Of vCenter Object Permissions

Tags are a really useful component in VMware. They can be used for all manor of things, whether it’s for storage policies, backups, identifying a group of objects or in the case of this post, managing permissions. Having a method of easily assigning permissions to singular or multiple objects in vCenter can be a great benefit to a vSphere Admin as it’s gives them greater control over the environment they manage.

  • PowerCLI
  • vSphere
Tuesday, December 1, 2020 | 7 minutes Read
  • ««
  • «
  • 3
  • 4
  • 5
  • 6
  • 7
  • »
  • »»

Liability Notice: All content provided on this blog is for informational purposes only. I make no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. I will not be liable for any errors or omissions in this information nor for the availability of this information. I will not be liable for any losses, injuries, or damages from the display or use of this information. The opinions expressed here are my personal opinions. Content published here is not read or approved in advance by any company mentioned and does not necessarily reflect the views and opinions of those companies nor does it constitute any official communication therein. Always check official documentation hosted by either company for support or verified technical information.


© 2026 Copyright.
Powered by Hugo Logo