Is there anyway I could get all the task or activity of a particular VM?
Best answer by AnishWalia20 10 January 2021, 14:43
Yes. Still need some time to get used on operation of nutanix
Hey @swee han , Just wanted to know if the above resources helped you achieve your goal? Let me know if I can help in any other way.
Hey @swee han , so there are lots of ways to do so i.e using Prism Tasks menu, checking logs on CVM and checking VM specific logs on the host.
1)PRISM GUI: You can get the event details like reboots, VM updates etc on Prism GUI: Here is a guide to that: https://portal.nutanix.com/page/documents/solutions/details?targetId=TN-2042-Prism:top_tasks.html
2)Logs on CVM: you can get inside directory ~/data/logs on one of the CVM on the cluster & check log file acropolis.out for all the VMs specific info. Just use grep to find and enter the VM name to search for its related messages inside the log file.
3)Logs on the Host where the VM is running: You can search for messages related to VMs activities inside “/var/log/libvirt/qemu/<VM_name>.log” logfile.
4)ECLI: Ergon CLI is another tool to get all the tasks details on a Nutanix cluster. Ergon is a task manager service running on a CVM. So on the CVM you can use commands:
For example, in the above on an AHV host you see one is the CVM log file and other one is the log file of the VM with the given UUID “cf34f7b8-d186-4ecb-83d3-b9dcb38f3435” .
Now this is also Hypervisor specific, if you are running ESXi hypervisor the VM specific log locations on the host would differ.
I hope the above helps.
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.