Menu

Virtual Geek

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

Blog posts : "vsphere"

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

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

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

PowerCLI enable or disable WBEM service on VMware ESXi server

The VMware Host Hardware (WBEM) sensor monitors information about the hardware of an ESXi server using Web-based Enterprise Management (WBEM). This script will disable and enable WBEM service using PowerCLI.

Download this Set-WbemServiceEsxi.ps1 here or it is also available on github.com/janviu…

Read more

Vmware PowerCLI Import-Module message VMware Customer Experience Improvement Program (CEIP)

When you run the command to Import-Module VMware.PowerCLI on Powershell, You might have received the below warning message regarding VMware CEIP (Customer Experience Improvement Program). 

VMware's Customer Experience Improvement Program (CEIP) collects technical information from participating …

Read more

Ansible Deploy a VMware vSphere Virtual Machine from a Template

One of my teammates from another project had a requirement of deploying a clone VMware Virtual Machine from a template using Ansible. In the last hour additional requirements they wanted to process clones of multiple VMs with different types of operating system such as Linux and Microsoft Windows.…

Read more

VMware vSphere vCenter replace machine SSL certificate with custom CA signed certificates

There is a best security practice to implement authorized SSL Certificates on VMware infrastructure. Here I am installing certificates on the vSphere vCenter server. By default VMCA (VMware Certificate Authority) signed certificate is installed on the vCenter server. Which you can see under vSphere …

Read more

VMware vCenter Esxi Add a Trusted Root Certificate to the Certificate Store

In this article I will add the Trusted Root certificate in vCenter Certificate store. Basically this will help to use your Certificate Authority root chain certificate (CA server) or third party certificates in your VMware vSphere infrastructure, If you are intending to use a trusted root certificat…

Read more

20 blog posts

Blog Search

Page Views

12085014

Follow me on Blogarama