[ovirt-users] Event History for a VM
Sven Achtelik
Sven.Achtelik at eps.aero
Tue Mar 21 08:38:36 UTC 2017
Hi Kevin,
thank you for the details on this. Do you also know how and where things like changes to the VMs CPUs or preferred host or Ram are stored ? I’m looking for the ability to show the history of a VM.
Example: I have a VM that has 4 vCPus, 64GB Ram and is pinned to host 1. 2 or 3 years later I need to be able to show an auditor that this has not changed throughout that time.
Are those changes recorded ? an if that’s the case are the recorded in the DB ?
Thank you,
Sven
Von: Kevin Goldblatt [mailto:kgoldbla at redhat.com]
Gesendet: Dienstag, 21. März 2017 09:32
An: Gianluca Cecchi <gianluca.cecchi at gmail.com>
Cc: Sven Achtelik <Sven.Achtelik at eps.aero>; users at ovirt.org; Raz Tamir <ratamir at redhat.com>; Goldblatt, Kevin <kgoldbla at redhat.com>
Betreff: Re: [ovirt-users] Event History for a VM
Hi Sven,
On your engine you can run the following to get the vms info from the engine database:
su - postgres -c "psql -U postgres engine -c 'select * from vms;'" |less -S
You may also find some info on the specific vm in the engine log and the libvirt log:
On the engine - /var/log/ovirt-engine/engine.log (this will probably have been rotated in your case. Check to see the oldest engine.log in the directory).
On the host the the vm runs on - /var/log/libvirt/qemu/vm111.log
Hope this helps,
Kevin
On Tue, Mar 21, 2017 at 9:45 AM, Gianluca Cecchi <gianluca.cecchi at gmail.com<mailto:gianluca.cecchi at gmail.com>> wrote:
On Tue, Mar 21, 2017 at 8:42 AM, Sven Achtelik <Sven.Achtelik at eps.aero<mailto:Sven.Achtelik at eps.aero>> wrote:
Hi,
does anyone know if this information is pulled from the logs and if it’s related to the log-rotation or if this is part of the Engine DB. I need to know if it’s possible to read this information like 2 or 3 years later for some auditing purpose. It might help if you could let me know where to look at.
Thank you,
Sven
Von: users-bounces at ovirt.org<mailto:users-bounces at ovirt.org> [mailto:users-bounces at ovirt.org<mailto:users-bounces at ovirt.org>] Im Auftrag von Sven Achtelik
Gesendet: Donnerstag, 16. März 2017 11:54
An: users at ovirt.org<mailto:users at ovirt.org>
Betreff: [ovirt-users] Event History for a VM
Hi All,
I would need to have an Event-History of our VMs for auditing purposes that is able to go back until the moment the VM was created/imported. I found the Events Tab in the VM view and found that this is not showing everything to the moment of creation. Things that are important for me would be any change in CPUs or Host that the VM is pinned to. Are the Events stored in the Engine DB and can I read them in any way ? Is there a value that needs to be changed in order to keep all Events for a VM ?
Thank you for helping,
Sven
+1
Gianluca
_______________________________________________
Users mailing list
Users at ovirt.org<mailto:Users at ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170321/fdde41b4/attachment-0001.html>
More information about the Users
mailing list