Question
Hypervisor has a high wait time and load. An iotop shows these as the top readers:
32608 be/4 root 649.57 M 0.00 B 0.00 % 0.00 % [blkback.193.xvd] 15518 be/4 root 212.54 M 0.00 B 0.00 % 0.00 % [blkback.14.xvda] 25954 be/4 root 112.22 M 0.00 B 0.00 % 0.00 % [blkback.35.xvda]
How can I determine which virtual machines these are?
Environment
OnApp 5.x/6.x
Xen Hypervisor
Answer
The blkback process identifies the domain ID as part of the process:
blkback.xx.xvd
where xx appears to be the domain ID. The domain ID can be associated with a specific virtual machine using 'xm list'
[root@dev10-hv2 ~]# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 400 8 r----- 105177.5 mftmgkltc9ja2p 14 810 1 -b---- 212.0 mzsn0mkdnwxjbd 35 128 1 -b---- 91694.4 sjejv5vscxio18 193 384 1 -b---- 94324.8
So in this case:
ID 14 is mftmgkltc9ja2p
ID 35 is mzsn0mkdnwxjbd
ID 193 is sjejv5vscxio18