Menu

Virtual Geek

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

Blog posts : "vcenter"

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

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

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

Install Update VIB Zip files software on VMware ESXi server

This is a simple step by step guide on how to install or update vib software application on VMware ESXi server. First step I am going to use ESXi SSH to login. Make sure SSH is enabled on ESXi server, for the same you can find article VMWARE SECURITY BEST PRACTICES: POWERCLI ENABLE OR DISABLE ESX…

Read more

PowerCLI Connect-VIServer Error: Invalid server certificate. Use Set-PowerCLIConfiguration to set the value for the InvalidCertificateAction

While working with VMware PowerCLI module I was receiving below error, when connecting to vCenter or ESXi server. The system where I was working on, PowerCLI was installed for first time and I was connecting to vCenter/ESXi for first time from the system. This issue occurs due to SSL certificate ins…

Read more

Create a custom TCPIP stack on ESXi server - VMware PowerCLI GUI

While working with my VMware team we had to audit and create or delete TCP/IP network stack, Here on the ESXi server under Networking >> TCP/IP Configuration you cannot create new custom stack using vSphere client. I was able to automate almost all infrastructure using PowerCLI scripts, but few…

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

VMware PowerCLI esxcli namespace command elements empty no output

This article is another part and related to this VMware PowerCLI Connect-VIServer Object reference not set to an instance of an object. The resolution used in the earlier blog is applied here in this article.

The problem description is, I connected to my vCenter server after I tried to connect…

Read more

VMware PowerCLI Connect-VIServer Object reference not set to an instance of an object

While connecting to ESXi server with VMware PowerCLI from one of my server I was keep receiving below error. I wasn't able to connect to ESXi server directly from PowerCLI module. 

@SERVER01 ~ Connect-VIServer ironman.vcloud-lab.com
Connect-VIServer :  Object reference not set to an instanc…

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

20 blog posts

Blog Search

Page Views

11274975

Follow me on Blogarama