Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Blog posts : "vmware"

Developing and writing custom Ansible Python module Part 2

This is a second part of Developing and writing Ansible Python custom module for VMware pyvmomi example. In this example I have extended writing python module for VMware ansible to get more information from vCenter server from one single python ansible module script. 

Download this custom an…

Read more

Developing and writing Ansible Python custom module for VMware pyvmomi example

There may be requirement in RedHat Ansible when you write custom module when you don't fine tasks module for certain objects, that time you will need to write your own custom python module. In this given example I was using community VMware vSphere module with ansible and wanted to list all ESXi ser…

Read more

Terraform clone virtual machine template in VMware vSphere vCenter Dynamic Content Part 2

This is improvised Terraform configuration scripts to clone Windows and Linux Template from VMware vCenter server. I have made few improvements in the configuration adding dynamic content block in the modules for network and disks. Another change is use variables, New VM information from csv file to…

Read more

Terraform clone virtual machine template in VMware vSphere vCenter from CSV file

While working on cloning virtual machine in vCenter from template I already written two articles Using terraform to clone a virtual machine on VMware vSphere infrastructure and Terraform module clone VMware vSphere Linux and Windows virtual machine. But I wanted to improvise it as I got some modi…

Read more

How to PowerCLI VMware Snapshots Virtual Machines disks consolidation is needed

In earlier part Solved: VMware Snapshots Virtual Machines disks consolidation is needed I performed steps on vCenter Portal GUI. Here I will use VMware PowerCLI to perform the same steps to automate it. 

First step is to connect to vCenter server using command Connect-VIServer. Use below comm…

Read more

Solved: VMware Snapshots Virtual Machines disks consolidation is needed

I was cleaning up some datastore data due to storage space low. I found there were few old long snapshots exist on VMs. After deleting those old snapshots from VMware Virtual Machines I was seeing warning and information message on summary page Virtual machine disks consolidation is needed status

Read more

Update offline bundle zip on standalone ESXi host using commandline without vCenter

This is a step by step procedure to update offline bundle zip on standalone ESXi host using command line without vCenter. I was updating few of my VMware ESXi servers in my home Lab environment. There were few ESXi hosts in the lab were standalone and not connected to any vCenter server. On the stan…

Read more

Update ESXi servers in VMware Cluster using vCenter Lifecycle Manager

It is best practice to keep you ESXi server up to date to keep server out of vulnerabilities and issue. Patching helps to resolve new upcoming CVE's and keep server compliant in security team's report. In this article I will update entire cluster using VMware Lifecycle Manager in vCenter server 8…

Read more

Build custom ESXi image using VMware Image Builder

In this article I will show how use VMware Image Builder to customize and create ESXi ISO images. 

VMware Image Builder is a powerful functionality within vCenter Server that enables the packaging, validation, and distribution of ESXi OS ISO/Zip software images across various platforms within an…

Read more

Part 3: Using HashiCorp Packer to build a Windows Server VM template for VMware vSphere

HashiCorp Packer.exe is an open source tool for building identical Virtual machine golden images for various platforms from a single source configuration. Packer is lightweight, runs on every major operating system, and is highly efficient, creating Master/Base machine images for several platforms i…

Read more

Part 2: Configure IIS server to allow download .ISO files

This is a part 2 of my Part 1 article Inject and install VMware Tools During Install by modifying Microsoft Windows ISO. I will use this IIS server setup in the Hashcorp Packer.exe configuration to create VMware Microsoft Windows VM Template on vCenter server. 

Here I will configure IIS (Inter…

Read more

Update vCenter Server Appliance (VCSA) from VAMI portal

This is a step by step procedure updating vCenter Server Appliance (VCSA) using VAMI portal. Before making update to vCenter server make sure you properly backup vCenter server using article Backup VMware vCenter server using SMB protocol.  As I am testing update in DEV environment I have taken a s…

Read more

Second VMKernel port not working or reachable on nested ESXi server in VMware ESXi server

I was building nested VMware vSphere lab for POCs. While configuration I was facing strange issue after installing nested ESXi server as virtual machine on Physical ESXi Server, I created Few VMs and VMKernel ports on nested ESXi VM. But when I was trying to connect VMs or new VMKernel port it was f…

Read more

Staging vCenter Server Appliance (VCSA) updates using Rest API

This script is a another part of Upgrade vCenter Server Appliance (VCSA) with VMware PowerCLI. In this article I am using Rest API calls to update VCSA via VAMI. At the moment I am able to stage the updates, but installation of update to vCenter is not working. Once I get solution I will revise thi…

Read more

Upgrade vCenter Server Appliance (VCSA) with VMware PowerCLI

I had bunch of vCenter Server appliance (VCSA) to update/upgrade. Although the upgrade process using vCenter Server VAMI portal (5480) is fairly very simple and easy as shown in Patching update VMware vCenter Server Appliance from a zipped update bundle Web server. But I wanted it to get it automat…

Read more

VMware PowerCLI Clone VM from template with customization specs in vCenter

This is a second alternative script to VMware PowerCLI Clone and Deploy VM from template in vCenter. In earlier article I did customization of newly cloned Virtual Machine using Windows PowerShell commands which I executed using Invoke-VMscript. Here in this script I used inbuilt customization pro…

Read more

VMware PowerCLI Clone and Deploy VM from template in vCenter

This VMware PowerCLI helps cloning and deploying Virtual Machine from template in vCenter Server. I had to write OS customization for Windows 2019 server because due to some reason native customization profile was failing. Here in this script there are 3 files in the script package, first file is 

Read more

Can not execute kustomize build issue installing Ansible AWX Operator

While installing Ansible AWX operator tower (Automation Controller) for the development team, I was receiving the below error. I was following the official installation guide given from https://github.com/ansible/awx-operator.

kustomize kustomization.yaml yml kubernetes manifest configuration vmware vsphere ansible awx operator azure ansible platform automation controller tower setup sevalsymlink git.jpg

ubuntu@AnsibleAWX:~$
ubuntu@AnsibleAWX:~$ kustomize build . …

Read more

MINIKUBE Unable to start VM - This computer doesn't have VT-X AMD-v enabled

While setting up and starting minikube in my lab How to Install Minikube on Ubuntu - Step by Step, I was receiving two errors. First error was related to not running minikube start as root privileges. Which was resolved after existing from the root account and running minikube as a normal user.

Read more

How to Install Minikube on Ubuntu - Step by Step

This is a step by step guide to install Minikube on the Ubuntu Linux system. Minikube is a lightweight Kubernetes implementation that creates a VM on your local machine and deploys a simple cluster containing only one node. Minikube is available for Linux, macOS, and Windows systems. Minikube is ve…

Read more

20 blog posts

Blog Search

Page Views

12063736

Follow me on Blogarama