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…
Blog posts : "esxi"
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 …
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.
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…
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…
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…
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 …
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…
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.
Import-Module VMw…
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…
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…
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 / …
Patching the vCenter Server Appliance VCSA
VMware regularly releases security patches/fixes for its products, here I am patching vCenter server appliance (vcsa portal). Upgrade patches are downloaded from url https://my.vmware.com/group/vmware/patch#search (VMware Patch download center).
I have downloaded vCenter server patch ISO f…
Assign vSAN licenses in vSphere client
After writing Administrating licenses in vSphere client I missed to mention another way to assign licences to vSAN cluster. Whenever you build you a new cluster and if don't enable vSAN services, that cluster generally is not listed under licenses Assets, Unless you enable vSAN service on cluster. (…
Administrating licenses in vSphere client
Recently I deployed VMware vSphere 7, and after logging to vSphere Client the first message was popped up on the top middle screen is There are expired or expiring licenses in your inventory. [MANAGE YOUR LICENSES]. As I had licenses to for testing I decided to assign the same to vCenter and ESXi se…
Powercli Get vCenter licenses information
Recently I was testing vCenter and Esxi 7 - vSphere suite for my new project, I periodically ask my subordinate team to review and collect the licenses information to know and forecast licensing needs. To use this script first I fill and run information accordingly. (Temporarily remove/unload Hyper-…
VMware vcenter 7.0 A problem occurred during setup Services might not be working as expected 63%
As VMware vSphere 7 version is released recently, I thought of testing and have hands-on on the product, to get further on vCenter server 7.0, ISO file is downloaded from my.vmware.com. Here I am performing vCenter server deployment and installation steps on VMware workstation, OVA file is located u…
Ansible get information from esxi advanced settings nested dictionary with unique keynames
After my earlier post ansible create an array with set_fact, I wanted to grab some selected information from VMware ESXi Advanced setting. but the problem was when I use ansible module vmware_host_config_info, information generated here was in below json format. (Note: There are tons of advanced…
ansible create an array with set_fact
In one of my vSphere Ansible automation task, I was looking for to create a new array variable using set_fact. here I have achieved the same task using 2 different playbook with small way procedure. In the both methods on the vars I have defined infra variable where I have defined my VMware esxi s…
Ansible for VMwary Using vmware_vm_inventory dynamic inventory plugin
Since I started using Ansible for VMware management, Daily I am exploring new thing on vSphere Ansible, and stumbled upon interesting dynamic inventory plugin named vmware_vm_inventory from url https://docs.ansible.com/ansible/latest/plugins/inventory/vmware_vm_inventory.html (for more about pa…
Blog Search
Page Views
8990400
Archive
- January 2023 (1)
- December 2022 (10)
- November 2022 (15)
- October 2022 (15)
- September 2022 (14)
- March 2022 (8)
- December 2021 (9)
- November 2021 (6)
- October 2021 (12)
- September 2021 (10)
Comments
-
MattFebruary 3, 2023 06:15AM
-
JonFebruary 2, 2023 12:01AM
-
January 27, 2023 04:44AM
-
Saeed AhmedJanuary 22, 2023 03:05PM
-
dvJanuary 19, 2023 01:24AM