Skip to main content

Build Ubuntu 24.04 VM on vSphere with Packer

A couple of years ago I did a post on how to use Packer to build Ubuntu 20.04 VM on vSphere. You can find it here. It go a lot of reads and now I’ve made an update focused on 24.04 and also changed from yaml to hcl code. I did this because I’m on a mission to move VM’s from an old KVM host to vSphere, instead of using some shady migration tool I will rebuild the VM’s and move the configuration files. I want to free the KVM host to install Proxmox instead, more on that in a later post.

Read full post gblog_arrow_right

ONTAP Select vCenter Plug-In

This was a new discovery for me! Maybe everyone already knows about the ONTAP Select vCenter Plug-in - but for me, it’s a new acquaintance. With the plug-in, you quickly deploy and manage ONTAP clusters on your VMware environment, all from vCenter.

Let us start with what ONTAP Select is and go through the architecture of the ONTAP Select deployment process.

What is ONTAP Select?

ONTAP Select is the software-defined version of NetApp’s storage operating system ONTAP. Essentially it’s the same operating system that runs in the appliances AFF & FAS. With ONTAP Select, you can choose to deploy it on custom hardware, KVM, or VMware.

Read full post gblog_arrow_right

Deploy K8s VM's with Terraform on vSphere

Feature Image

I’m on my way to deploying Kubernetes the hard way, following Kelsey Hightowers GitHub tutorial. The guide uses GCP for compute resources, but I want to utilize my home lab based on VMware, and I want to do it in a cloud fashion, with Infrastructure as Code. For this, I leverage tools like Packer and Terraform. In my previous post, I showed you how to build a VM template on vSphere with Packer. In this post, I’ll show you how to provision VMs from that template with Terraform.

Read full post gblog_arrow_right

Build Ubuntu 20.04 VM on vSphere with Packer

Updated version available
This post covers Ubuntu 20.04. For Ubuntu 24.04 with autoinstall, read the updated guide: Build Ubuntu 24.04 VM on vSphere with Packer.

I have a home lab in my basement for learning purposes and to be able to create useful content on this blog. My next mission is to learn more about Kubernetes and advance my knowledge of IaC and Linux. For this, I need a consistent way to build and deploy Ubuntu VM’s. In this post, I’ll show you how I use Packer to create VM templates on vSphere.

Read full post gblog_arrow_right

Deploy VMware Cloud Director with PowerShell

In my home lab, I like to automate as much as possible so I can bring stuff up/down quickly. To achieve this I use several tools such as Ansible, Terraform and PowerShell. This time I decided on using PowerShell to quickly bring up VCD with the same settings every time.

This script deploys the appliance and please, edit the settings to fit your environment.

First, you need to download the VCD Appliance 10.1.1 and point the $ovfPath variable to the .ova file.

Read full post gblog_arrow_right

Enable Hyperthreading in BIOS with Ansible on VMware hosts

Ansible PowerEdge Modules

Recently, I found a configuration issue on a VMware cluster running on DellEMC hardware. Initially, they were vulnerable to the L1 Terminal Fault CVE-2018-3646, to mitigate we disabled HT in the BIOS of the hosts. As time passed, VMware released software updates to mitigate these issues. We did install the patches, but the disabled HT stayed the same. When the problem came to light, I decided to put Ansible to work as I did not want to perform manual work on the entire cluster. So the adventure begins!

Read full post gblog_arrow_right

VCAP Design Study Notes

In the year 2019(it feels like a million years ago, right?!), I started my VMware Certification journey. In short, I passed my first VCP6, renewed it to 2019, and passed the VMware Cloud Provider Specialist exam. After a successful 2019, I went on parental leave from November to February. Now, when I’m back in action, I need to continue expanding my knowledge and have new goals to achieve in 2020. At first, I thought about going after the AZ-103 exam because some of my colleagues are going down the Azure route, but, as I’m already a VCP, I think it’s wrong not to continue to the advanced certifications. I will start with the VCAP6.5-DCV design, and when I’m successful, I’ll continue with the deploy exam. In this post, I’ll share some of my study notes and links to the resources I use to prepare myself.

Read full post gblog_arrow_right

Port Forward on vCloud Director with Terraform

Terraform + VMware

My Terraform adventures continue! In my last post, I covered how to provision a VM on vCloud Director with the help of Terraform. I’m just at the beginning of my IaC journey, but I already see the benefits of using this method to deploy infrastructure. The main advantage of using IaC is that you easily can re-use the code on multiple similar projects. When you start a new project, it’s just a matter of copying your codebase and modifying it to fit the current project. Other advantages are documentation in code, ability to have CI/CD pipeline that ties into a managed change process with approvals.

Read full post gblog_arrow_right

Create VM on VMware vCloud Director with Terraform

code on computer

One of the things I enjoy the most in life is to learn new exciting stuff, the part I like the most is how to create. Whether it’s in the physical world such as carpentry or homebrewing(I love to brew beer!), or if it’s in the virtual computer world where I like to create infrastructure. On the other hand, I also enjoy sharing that knowledge with other people! In this post, I’ll share how to create a virtual machine in a software-defined data center(running vCloud Director) with the help of Terraform.

Read full post gblog_arrow_right

VMware Proactive HA

You are a VMware Administrator. In your data center, there’s a vSphere 6.0 cluster running rock-solid! But, with the 6.0 end of support coming up March 12, 2020, you’re forced to look into the newer version of vSphere. You may have noticed that there’s been a couple of improvements and new features since 6.0 came out. In this post, I’ll walk you through the feature called Proactive HA, released in 6.5.

Read full post gblog_arrow_right