Menu

Virtual Geek

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

Blog posts : "esxi"

VMware vCenter server Error no healthy upstream

After completing VMware vCenter server appliance (vcsa) installation and configuration, when tested vCenter UI url https://vcenter:443/ui, I was receiving below error. I restarted vCenter server vcsa multiple times, checked if DNS entries (A host record and PTR pointer record) exists in DNS server …

Read more

vCenter ui sorry this website doesn't exist 404 not found

Recently I was working with my friend to test my home lab, I gave him access to my vCenter server and he connected to my wifi network, but when he was testing IP of vCenter server he was able to connect through IP and when he was landing on to the vCenter FQDN SSO saml token page he was receiving er…

Read more

PowerCLI oneliner get the list of users and groups from vCenter SSO

I was doing the audit of VMware vSphere vCenter servers to know the users and groups list on the vsphere.local SSO domain (If any custom new user or groups created), Below simple one-liner script helps to fetch the list of groups from vsphere.local single sign on domain. 

Import-Module VMwa…

Read more

Ansible Error couldn't resolve module vmware.vmware_rest

After resolving error VMware ansible Error couldn't resolve module community.vmware, I faced another error while upgrading hardware version on the VMware Virtual Machines, while using ansible vmware.guest in the task. Which derived from main module/plugin vmware.vm_rest. Below is the test tem…

Read more

VMware ansible Error couldn't resolve module community.vmware

Recently while working with one of the old ansible server where I wanted to automation to get the list of VMware vCenter virtual machines list, and the ansible playbook was failing due to few prerequisite, In below script I was using community.vmware.vmware_vm_info ansible module/plugin to get th…

Read more

Guide to building a Home Lab

Recently I purchased one laptop as an addition to home lab and for personal use. Over the period slowly I have increased systems in my Home Lab, Now even though if I buy systems with smaller hardware it works great as an overall addition. And in my lab I can run any setup ie vmware, windows, contain…

Read more

VMware vCenter Server Management Exception in invoking authentication handler user password expired

While logging to vCenter VAMI portal (VMware vCenter Server Management Port 5480), I was receiving below error message with my root login.

Exception in invoking authentication handler User password expired.

This issue is due to the root password for VAMI portal is expired. Although you can st…

Read more

VMware LifeCycle Manager import updates bundle and patch ESXi server

With VMware vCenter version 7 Lifecyle Management is greatly improved as with new name lifecycle manager with new features (formerly VUM [VMware Update manager]). The new innovations for lifecycle management in vSphere 7 make it easy for customers to have consistent and up-to-date systems. The major…

Read more

How to update a patch on an ESXi host via command line

When it comes to upgrade/update patches or ESXi version my preferred method is VMware Lifecycle manager / VMware update manager vum. But there are scenarios or issues while updating ESXi using VUM / LifeCyle manager or also this procedure helps if ESXi server is standalone and not managed by vCenter…

Read more

VMware LifeCycle Manager There are conflicts from the patches selected for staging or remediation

I was testing ESXi patching through Lifecycle Manager/VUM (Vmware Update Manager). While remediating patch bundle on ESXi server, there was electricity issue and my Esxi server and vCenter server got powered off abruptly in the middle of update. After powering on the vCenter and Esxi server I tried …

Read more

Configure PTP (Precision Time Protocol) on ESXi Server

Time keeping on ESXi server is a best practice, It helps in SSL certificate authentication and troubleshooting (logs/activities), it is very essential to Time configuration settings on ESXi server after deployment or after later. I have written two articles earlier on this topic.

vSphere ESXi s…

Read more

PowerCLI create, modify and assign tag and tagcategory

This script is written using VMware Powercli module and its purpose is as similar as earlier written script Powershell vCenter server Rest API create and assign tag and tagcategory for creating and modifying Tag and TagCategory, only the difference is earlier script is written using vSphere API t…

Read more

VMware Skyline Collector Password Recovery (KB52652)

After configuring few instances of VMware Skyline I found I am no longer able to login through ssh root or on web portal through admin, the default password was not working. Another thing was whenever logging through SSH tool I was getting root is locked up. For this skyline has simple and nice know…

Read more

PowerCLI Add a SCSI Controller to a Virtual Machine

My requirement was to write and automate adding a new virtual SCSI controller to virtual machines using PowerCLI. For this task there is cmdlet is already available New-ScsiController. But the problem with command is, standalone virtual SCSI controller cannot be added. It has to add new or existing…

Read more

Esxi Registration unregistration of third-party IO filter storage providers fails on a host

While installing and testing ESXi 7 on the summary page it was showing warning message in yellow Registration/unregistration of third-party IO filter storage providers fails on a host

VMware has already KB provided for this issue - https://kb.vmware.com/s/article/55774. According to VMware this

Read more

Add a VMFS datastore using VMware PowerCLI

This article's completely focus is on VMware PowerCLI command line to add or create new VMFS datastore, You can check Create a VMFS Datastore in the vSphere Client how The same task is performed using vSphere Client (HTML5). To start first Import Vmware.PowerCLI module on to PowerShell and log in t…

Read more

PowerCLI Get-VMhost The operation on computer failed The WinRM client cannot process the request

I frequently get error winrm client cannot process the request while running few VMware PowerCLI commands for example: Get-VM, Get-VMhost etc. The complete error is highlighted as below in the Red, This generally happens due to duplicate cmdlet name in the another module.

Microsoft Powershell Module PowerCLI vmware.Powercli vmware vsphere esxi connect-viserver import-module get-vmhost winrm hyper-v module vcenter server vcsa vsphere client visual studio code.png

Import-Module VMw…

Read more

Create a VMFS Datastore in the vSphere Client

This is a step by step procedure to create a new VMFS datastore on the ESXi server using vSphere Client, and same guide is applicable for both Local Disk as well as Shared remote storage. While using HTML5 based vSphere client you might find little difference creating a new Datastore. To start I hav…

Read more

Registering HPE ILO amplifier pack (Hardware support manager) with vCenter 7 Lifecycle manager

I was testing new VMware vCenter server 7 Lifecycle manager feature setting up Image, vSphere Lifecycle Manager presents a new technique of maintaining all ESXi hosts in a cluster by defining an image for the cluster. Images characterize the desired state requirement that comprises software, drivers…

Read more

PowerCLI one-liner Reporting, Assigning, Changing and Removing licenses on ESXi

I was looking for instant one-liner PowerCLI script to get licensing report of ESXi servers and also wanted one-liner commands to assign / remove licenses on ESXi servers, Below scripts help to do the tasks.

#Connect ESXi Server
$vmHost = Get-VMHost -Name ironman.vcloud-lab.com

#Assign / …

Read more

20 Blog Posts

Blog Search

Page Views

5101876

Follow me on Blogarama