Menu

Virtual Geek

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

Blog posts : "vCenter Server"

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

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 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

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

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

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

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

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 vCenter server vcsa Setting IP IPv6 configuration failed, IP configuration not allowed

This issue you might have faced at least once while reconfiguring VMware vCenter server VCSA ip configuration. It does not allow to change the IP configuration in (F2) Customize System. Here I am on the vCenter Appliance console and I wanted to change few IP configuration.

Vmware Vsphere esxi vcenter vcsa vmware vcenter server embedded platform services controller appliance customize ip change failed.png

After changing an…

Read more

How to reset vCenter Server SSO administrator@vsphere.local password

Whenever I get a already configured VMware vSphere projects handover to optimization and modernization, Sometimes I received infrastructure vCenter server with forgotten passwords either root or administrator@vsphere.local. In my earlier blog I have already shows a procedure to Resetting root pass…

Read more

vCenter Server Public Key Authentication configuration SSH error received disconnect Too many authentication failures

This article is a second part of vCenter Server SSH received disconnect Too many authentication failures. In ther earlier article I resolved error without touching or configuring the VCSA (vCenter Server Appliance Server) to skip public key authentication. In this article I will configure VCSA serv…

Read more

vCenter Server SSH received disconnect Too many authentication failures

While connecting to vCenter Server Appliance with ssh command I was facing error Too many authentication failures disconnect. I checked ssh settings on the VCSA photon os from VM console but didnt find any issue. 

Related Article: 
Resetting root password in VMware vCenter Server Appliance
v…

Read more

Resetting root password in VMware vCenter Server Appliance

Recently I came accross vCenter server in my infrastructure where root password was not working. So I thought of resetting forgotten root password. Before starting reset process make sure to take the snapshot of  vcsa (VMware vCenter server appliance) virtual machine. This way it be can ensured ther…

Read more

20 blog posts

Blog Search

Page Views

11161231

Follow me on Blogarama