Menu

Virtual Geek

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

Blog posts : "vmware"

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

Terraform VMware vSphere Virtual Machine customization clone failed on Windows

While doing project on Terraform with VMware vSphere: Terraform module clone VMware vSphere Linux and Windows virtual machine, I was receiving below error while deployment. VM was getting deployed but VM customization was running into error and failing.

Error: 
│ Virtual machine customiza…

Read more

Terraform module clone VMware vSphere Linux and Windows virtual machine

After writing initial Terraform code to clone VMware Virtual Machine template Using terraform to clone a virtual machine on VMware vSphere infrastructure, There was a requirement to clone Linux and Windows Virtual Machines using the single TF file and it must create multiple VMs from map hash table …

Read more

Terraform VMware vSphere Virtual Machine cloning Operating system not found

After cloning VMWare Virtual Machine using Terraform code, I waited for a long time but terraform apply command was not getting completed and was in the creation state of indefinitely. The VM was cloned on the vCenter server and it was powered on. But when I checked on the VM VMware web remote conso…

Read more

Using terraform to clone a virtual machine on VMware vSphere infrastructure

This is a example script to clone and deploy multiple Linux vCenter Virtual Machines on VMware vSphere vCenter server infrastructure using hashicorp terraform scripts. In my VMware infrastructure I already have configured virtual datacenter, cluster, network and datastore. There is Linux VM template…

Read more

Configure, Manage and Assign License Settings for VMware vCenter Server and ESXi

After deploying new VMware vSphere 8.0 products, I was seeing MANAGE YOUR LICENSES (There are expired or expiring licenses in your inventory) warning on the vCenter vSphere Client ui portal top bar. This article focuses on assigning licenses to vCenter server or ESXi host.

Installation Articles

Read more

How to Install & Deploy vCenter Server Appliance (VCSA) 8.0

vCenter Server is the unified management service for VMware, and is used to handle virtual machines, multiple ESXi hosts, and all dependent elements from a single centralized location. As a base I have already deployed my ESXi server in the lab with VMware ESXi 8.0 step by step Installation guide w…

Read more

Configure VMware ESXi server network settings in DCUI

In the earlier part of I wrote an article about VMware ESXi 8.0 step by step Installation guide with Screenshots. In this article I will configure the networking for ESXi server and assign IP address, DNS and other configuration.

After first part ESXi server is rebooted, I am on the DCUI screen,…

Read more

ESXi Installation Hardware_Virtualization Warning Hardware virtualization is not a feature of CPU

While installing ESXi operating system on the server, I was receiving below warnings errors regarding CPU hardware Virtualization. 

Check out: VMware ESXi 8.0 step by step Installation guide with Screenshots

Error(s)/Warning(s) Found During System Scan

The system encountered the followi…

Read more

VMware ESXi 8.0 step by step Installation guide with Screenshots

As VMware recently released and made available ESXi 8.0 publicly available, I thought get the hands dirty and install it in my Home Lab. I don't have licenses for ESXi 8.0, but it can be tested in Evaluation mode for 60 day trial. Which is enough to check new features of ESXi 8.0 server. I have down…

Read more

Create List or Remove VMware VM Snapshots with PowerCLi

This is very handy and useful PowerCLI script, when I do my labs or production deployment changes on VMware environment. Whenever I have multiple servers to make changes and wants to ensure no problem should occur after changes, I take temporary VMware snapshots. But working with snapshot manually i…

Read more

PowerCLi Connect-VIServer could not connect using the requested protocol

There is a common issue you might have faced while connecting to either vCenter server or Esxi Server using Vmware PowerCLI.

Connect-VIserver $esxiServer -User $user -Password $password
Connect-VIServer could not connect using the requested protocol. 
Additional Information: The remote server…

Read more

PowerCLI The SSL connection could not be established see inner exception

Recently while working with Vmware PowerCLI on one of my new laptop, when connecting to esxi server and vCenter server with Connect-VIserver command, I was receiving below error.

Connect-VIServer $esxiserver -User $user -Password $password
Connect-VIServer The SSL connection could not be estab…

Read more

VMware.PowerCLI install update error - Install-Package: Authenticode issuer

I had a project to automate and upgrade VMware infrastructure. I had given few of the basic tasks to my fellow juniors to update VMware.PowerCLI modules on few servers and run script on the systems. But while upgrading VMware PowerCLI they were receiving below errors. 

PackageManagement\In…

Read more

How to Install vCenter server appliance on ESXi host

In this article I will be installing fresh VMware vCenter server appliance vcsa on esxi server. First step is to download vCenter server 7.0 vcsa ISO file from customerconnect.vmware.com or my.vmware.com website. You need to have access to the VMware site to download ISO. Search for VCSA and go to…

Read more

VMware PowerCLI Find vCenter server name of any inventory object

In my daily use of Vmware PowerCLI scripts while pulling inventory from vCenter Server, I always include vCenter Center name in the inventory. For example if I am fetching list of Clusters or VMs with complete information it should include a property name of vCenter Server, where the object belongs.…

Read more

PowerCLI Gather complete Virtual Distributed Switch (VDS) information from VMware vCenter

While working at different clients on their VMware infrastructure, I always gather complete inventory of a vCenter infrastructure first before doing any changes or designing a solution. This way I get to know very quick about the architecture. Here is my script which fetches all VDS (Virtual Distrib…

Read more

20 blog posts

Blog Search

Page Views

11240038

Follow me on Blogarama