VMware Cloud Community
mlubinski
Expert
Expert
Jump to solution

vmkernel log entries match with VM name?

Hi,

Below you can see what I see sometimes in /var/log/vmkernel log.

Dec 18 05:12:21 esx001 vmkernel: 14:12:53:59.793 cpu5:1521)WARNING: Swap: vm 1521: 7515: Swap sync read failed: status=195887167, retrying...

Dec 18 05:12:21 esx001 vmkernel: 14:12:53:59.793 cpu5:1521)WARNING: Swap: vm 1521: 7528: Swap sync read retry failed: status=195887167, retry=1

Dec 18 05:12:21 esx001 vmkernel: 14:12:53:59.844 cpu5:1521)WARNING: Swap: vm 1521: 7528: Swap sync read retry failed: status=195887167, retry=2

Dec 18 05:12:21 esx001 vmkernel: 14:12:54:00.145 cpu5:1521)WARNING: Swap: vm 1521: 7528: Swap sync read retry failed: status=195887167, retry=4

Dec 18 05:12:22 esx001 vmkernel: 14:12:54:00.415 cpu3:1302)WARNING: Swap: vm 1302: 7515: Swap sync read failed: status=195887167, retrying...

Dec 18 05:12:22 esx001 vmkernel: 14:12:54:00.415 cpu3:1302)WARNING: Swap: vm 1302: 7528: Swap sync read retry failed: status=195887167, retry=1

Dec 18 05:12:22 esx001 vmkernel: 14:12:54:00.465 cpu3:1302)WARNING: Swap: vm 1302: 7528: Swap sync read retry failed: status=195887167, retry=2

Dec 18 05:12:22 esx001 vmkernel: 14:12:54:00.765 cpu3:1302)WARNING: Swap: vm 1302: 7528: Swap sync read retry failed: status=195887167, retry=4

In this example I know that these 2 VMs: 1521 and 1302 had problem in the morning, and they will probably crash or crashed already.

How can I check which ones are they?

When I do vm-support -x, I get a list of VMs, and on this list there are:

vmid=1302 vm001

vmid=1521 vm009

but are they really these from the log?

If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points

[I]If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points[/I]
0 Kudos
1 Solution

Accepted Solutions
Rubeck
Virtuoso
Virtuoso
Jump to solution

Yes, these are indeed the same... Stats from these VMs can also be seen in the processes in the /proc/vmware/vm/ dir.. ...

/Rubeck

View solution in original post

0 Kudos
5 Replies
Rubeck
Virtuoso
Virtuoso
Jump to solution

Yes, these are indeed the same... Stats from these VMs can also be seen in the processes in the /proc/vmware/vm/ dir.. ...

/Rubeck

0 Kudos
mlubinski
Expert
Expert
Jump to solution

Ok, and what if after such log entry one of these vm's will be vmotioned to different host? How to trace this one after such move?

If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points

[I]If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points[/I]
0 Kudos
Rubeck
Virtuoso
Virtuoso
Jump to solution

Get the vmid from the vm-support -x output on the targeted host after movement... Then grep for this id in the logs..

/Rubeck

0 Kudos
mlubinski
Expert
Expert
Jump to solution

Ok,so it means that vmid will not change after vmotion? And what after

reboot?will vmid change?

Thx for your reply:)

Sent from my iPhone

On Dec 19, 2009, at 12:06 AM, Rubeck <communities-emailer@vmware.com

[I]If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points[/I]
0 Kudos
Rubeck
Virtuoso
Virtuoso
Jump to solution

The vmid does change...

That's why you need to check the id on the host targeted after vMotion..

/Rubeck

0 Kudos