How to find top memory or CPU consuming process in linux

There are many ways to find this but quick and widely used method will be using top or ps command. Find the top memory consuming process using top command top -o +%MEM | head -n 20 Similarly, if we have to find top CPU consuming process, command will be top -o +%CPU | head -nContinue reading “How to find top memory or CPU consuming process in linux”

How to find which vmnic is VM connected to in ESXi

Sometimes there is a need to find which physical NIC is VM connected to in ESXi server. Below i am listing two quick methods to find these. There may be other ways also. First method using esxtop. SSH into Esxi server. Then type “esxtop”. Then press ‘n’ to get networking view. In the third columnContinue reading “How to find which vmnic is VM connected to in ESXi”

vmfsfilelockinfo – tool to check which host is holding locks on vm files.

vmfsfilelockinfo is inbuilt tool on ESX server to check which host is holding the lock on VM files. To prevent concurrent changes to virtual machine files, ESXi host establish locks on virtual machine files. Once we vmotion virtual machine from ESX host A to ESX host B, then that host B holds the lock ofContinue reading “vmfsfilelockinfo – tool to check which host is holding locks on vm files.”

How to calculate VM growth rate using vRealize

Often times we need to calculate VM growth rate over a period of time.There are many ways to do this and couple ways to do it in vrealize itself. Below are the steps. Open up vRealize operations manager. First we will start by creating a new view. Go to Dashboard – > View -> CreateContinue reading “How to calculate VM growth rate using vRealize”

How Mac address leaning works in physical switch v/s VMware vSwitch

Physical Switch: When a switch is first powered on, the MAC address table is empty. The switch will build MAC address table and only learn from source mac address. Lets say there is switch with 3 servers connected to it. All the servers will have real mac address but for sake of explanation lets assumeContinue reading “How Mac address leaning works in physical switch v/s VMware vSwitch”

How to replace SSL certificate on Horizon Connection server

Below process only outline how to replace/change certificate on Horizon View Connection Server. For process of generating request for certificate, we can refer to this KB article. https://kb.vmware.com/s/article/2068666 RDP into connection server. Open up mmc.exe Click on File->Add/Remove Snap-in. Select Certificate->Add. In the pop up window, select Computer Account. In the next screen, keep selectingContinue reading “How to replace SSL certificate on Horizon Connection server”

Why we started using Virtual volumes ?

With traditional virtual machines, a datastore is either a LUN (VMFS) or a volume (NFS).  VMDK is sitting on top of other file system ( VMFS or NFS ).  VVOLs can be considered as individual LUNs and VMDK are not sitting on any file system. Only file system is of guest operating system. There areContinue reading “Why we started using Virtual volumes ?”

Will HA and DRS work if vCenter goes down ?

DRS ( Distributed Resource Scheduler) does initial placement and balance VMs in a cluster based on the load. This feature is enabled at the cluster level.  DRS runs its algorithm once every 5 minutes ( by default) to study imbalance in the cluster . In each round, if it needs to balance the load, DRSContinue reading “Will HA and DRS work if vCenter goes down ?”