Posts

Showing posts from October, 2018

Error: The destination host is not compatible with the hardware version to which the VM is scheduled to be upgraded

Error: The destination host is not compatible with the hardware version to which the VM is scheduled to be upgraded I scheduled a large number of VMs ( find the script here ) to upgrade the virtual hardware to the latest version. Unfortunately, one VM ran into an issue and it was not possible to perform a vMotion or power it on anymore. Every vMotion or Power-on actions failed with the following general system error: A general system error  occurred : The destination host is not compatible with the hardware version to which the VM is scheduled to be upgraded. In order to proceed with the operation, VM’s scheduled compatibility upgrade should be disabled. The hardware version displayed in the vSphere Web client was vHW 11. Everything looked fine, no VM Compatibility Upgrade was scheduled. So I tried to remove the VM from inventory and re-add it, but the error persisted. Resolution: It was necessary to delete three lines in the .vmx file: power off the VM (if it i...

Get the host and VM count using power CLI

To get the host and VM count using power CLI 1. connect the VC using connectVIserver cmd, 2. Get-Cluster | Select Name, @{N="Host Count"; E={($_ | Get-VMHost).Count}},  @{N="VM Count"; E={($_ | Get-VM).Count}} out put like follow :- Cluster:                                                      VMHost                         VM's Cluster01                                          ...

Exit the host from maintenance mode

Exit the host from maintenance mode Connect to the vcenter - using following cmd, 1. connect0VIserver  vcenter name - username chandru  - password ******, 2. Get-VMHost  host name  | Set-VMHost Connected -Confirm:$false out put :- Nam      ConnectState PowerState NumCpu CpuUsageMhz TotalMhz   MemoryGB TotalGB Version ----                 --------------- ---------- ------ ----------- -----------   -------------   ------------- ------- host name Connected       PoweredOn      12         107       30312           2.469          47.987   6.5.0