Tuesday, July 17, 2018

How to Check and Repair Virtual machine objects in VSAN which are inaccessible state in vCenter.







SSH to VCSA using root credentials.
Type RVC
login using SSO credentials.
Go to localhost>Datacenter>Computers>Cluster>
Type : vsan.check_state . -r -e
This will recover inaccessible state vm's in VSAN datastore.

 

Wednesday, July 11, 2018

Free self-paced eLearning from VMware

Virtual machines can be in any one of four high-level CPU States



Wait: This can occur when the virtual machine's guest OS is idle (waiting for work), or the virtual machine could be waiting on vSphere tasks.  Some examples of vSphere tasks that a vCPU may be waiting on include waiting for I/O to complete or waiting for ESX level swapping to complete. These non-idle vSphere system waits are called VMWAIT.
Ready (RDY): A CPU is in the Ready state when the virtual machine is ready to run but unable to run because the vSphere scheduler is unable to find physical host CPU resources to run the virtual machine on. One potential reason for elevated Ready time is that the VM is constrained by a user-set CPU limit or resource pool limit, reported as max limited (MLMTD).
CoStop (CSTP): Time the vCPUs of a multi-vCPU virtual machine spent waiting to be co-started. This gives an indication of the co-scheduling overhead incurred by the virtual machine.

When investigating a potential CPU issue, there are several counters that are important to analyze


Demand: Amount of CPU  the virtual machine is demanding / trying to use.
Ready: Amount of time the virtual machine is ready to run but unable to because vSphere could not find physical resources to run the virtual machine on
Usage: Amount of CPU the virtual machine is actually currently being allowed to use.

RAV migration cutover was failing after sync

 Issue: HCX RAV migration was failing after base sync and while cutover the VM. Noticed below error in hcx connector app logs. TxId: 4cda256...