Hi Team,
I have created a VM using oVirt, which is in UP state now.
1) I opened the guest console using oVirt
2) I want to get the statistics for disk so I tried to create and write some content in the file (say test.txt) in loop to increase the latency and bandwidth in disk.
3) I observed that CPU in VM statistics is increased to 100 % (This is a good news since I expected this also)
But when I looked into the disk level statistics using the following API, I observe the data value as '0' always.
{
"statistic": [
{
"kind": "gauge",
"type": "decimal",
"unit": "bytes_per_second",
"values": {
"value": [
{
"datum": 0
}
]
},
"disk": {
"href": "/ovirt-engine/api/disks/3bc267c0-a797-4e98-8ae9-217671649287",
"id": "3bc267c0-a797-4e98-8ae9-217671649287"
},
"name": "data.current.read",
"description": "Read data rate",
"href": "/ovirt-engine/api/disks/3bc267c0-a797-4e98-8ae9-217671649287/statistics/33b9212b-f9cb-3fd0-b364-248fb61e1272",
"id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
},
{
"kind": "gauge",
"type": "decimal",
"unit": "bytes_per_second",
"values": {
"value": [
{
"datum": 0
}
]
},
"disk": {
"href": "/ovirt-engine/api/disks/3bc267c0-a797-4e98-8ae9-217671649287",
"id": "3bc267c0-a797-4e98-8ae9-217671649287"
},
"name": "data.current.write",
"description": "Write data rate",
"href": "/ovirt-engine/api/disks/3bc267c0-a797-4e98-8ae9-217671649287/statistics/2f23addd-4ebd-3d82-a449-c28778bc33eb",
"id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
}
]
}
How can I increase the disk statistics using the VM Guest console?
Any help is much appreciated.
Thanks,
Hari