How to cancel VMware snapshot process?

Sometimes, snapshot takes huge time to get completed. We may then require to cancel the task to save time. However, we do not have any option to cancel the task in vsphere.

Please follow below steps to cancel the task.

1. Find the ESX hostname on which the virtual machine resides.
2. Establish a SSH session to the ESX host.
3. Execute the command to see all the process.
ps | grep vmx
4. Locate the Parent Process ID (the second column) for the hung VM.
5. Execute the command to kill the task
kill *parent process ID* to end the process (excluding *).

Note:
Be very careful, killing different process can harm the ESX.

Thanks,
WintelAdmin

How to identify the SAN Disk in Windows 2008?

In order to perform a storage testing, one of the server were allocated with two different storage XtremIO and FED.
Both the lun were added to server as a drive. However, we had a confusion to find which drive was from which storage. Luckily, we were able to track the luns using diskpart.

1. Open command prompt.
2. Enter “Diskpart”.
3. Enter “list volume”.
4. Type “Select volume *” (* to be replaced with volume ID Ex:C,D,E/0,1,2, etc)
5. Execute “Detail Disk”

You would now be displayed with disk details and more information, which will help you to track your lun.

Thanks,
WintelAdmin

How to get physical CPU count on a Windows server?

With the introduction of new concepts like hyper-threading and multi-core CPUs, it isn’t easy to find out how many physical CPUs (or sockets). The count what we see on the Task Manager or computer properties is the Virtual CPU.After a search around, I have found a free tool named CPUCount.

CPUCount is a tool from Intel that detects multi-core processor topology.It provides exactly the information that I was looking for only on Intel servers. It does not provide the correct information on AMD servers with multi-core processors. There are other tools too which can be handy in time like process explorer, winaudit, etc.

Thanks,

WintelAdmin.com

 

Port 80 used by System process “NT Kernel & System” with PID 4.

Today, I got a request from an application team stating that there application is not running. When checked found that there application is configured on port 80. Later, found that port 80 was not free and could see that port 80 was already listening with the process id (PID) 4, to my surprise, PID 4 is “NT Kernel & System” Owner SYSTEM

Command used to find the port 80 details:

netstat -aon | findstr 80

it will show you all processes that use port 80.

Finally, I was able to fix the issue by stopping the world wide web publishing service in the service manager.

There was no need for the IIS by the application team. Hence, I set the WWW publishing service as manual.

This fixed the issue and we tested by rebooting the server again.

Thanks,
WintelAdmin