On Thu, Mar 9, 2017 at 12:40 PM Nathanaël Blanchet <blanc...@abes.fr> wrote:
> > > Le 09/03/2017 à 10:25, Gianluca Cecchi a écrit : > > On Wed, Mar 8, 2017 at 6:05 PM, Gianluca Cecchi <gianluca.cec...@gmail.com > > wrote: > > > > NOTE: during the snapshot creation I see in web admin console the VM in > paused state and also not responsive in both console and ssh session. > After a couple of seconds it comes back and as a confirmation I see this > in its messages: > > Mar 8 17:38:57 T-ORACLE73 chronyd[616]: System clock wrong by 19.077230 > seconds, adjustment started > > Is this expected? > > > > > Possibly the default changed at some point in time, so that now it saves > memory and so this implies pause of VM > > Saving memory is essential in some apàplications like DB, so you won't > bypass vm pauses for such a stuff > In a database, you actually want to ensure all transactions are complete for an application-complete snapshot. I don't think memory is needed. Y. > > In the mean time I verified changing backup.py this way solves the problem > (the 3.6 api deprecation still in place... ;-): > > $ diff backup.py backup.py.orig > 123c123 > < > vm.snapshots.add(params.Snapshot(description=config.get_snapshot_description(), > vm=vm,persist_memorystate=False)) > --- > > > vm.snapshots.add(params.Snapshot(description=config.get_snapshot_description(), > vm=vm)) > > The snapshot doesn't include memory and no problem at VM OS side now > > Tested also getting the parameter from config file > > Modifications needed in this case: > > 1) > $ diff backup.py backup.py.orig > 123c123 > < > vm.snapshots.add(params.Snapshot(description=config.get_snapshot_description(), > vm=vm,persist_memorystate=config.get_persist_memorystate())) > --- > > > vm.snapshots.add(params.Snapshot(description=config.get_snapshot_description(), > vm=vm)) > > > 2) > $ diff config.py config.py.orig > 34d33 > < self.__persist_memorystate = > config_parser.getboolean(section, "persist_memorystate") > 113,116d111 > < > < > < def get_persist_memorystate(self): > < return self.__persist_memorystate > > > And in config file called add: > > # Save Memory in snapshot > persist_memorystate=False > > It could be further improved if one wants to differentiate save memory for > some VMs and not for other ones.... > > HIH other ones, > Gianluca > > > -- > Nathanaël Blanchet > > Supervision réseau > Pôle Infrastrutures Informatiques > 227 avenue Professeur-Jean-Louis-Viala > 34193 MONTPELLIER CEDEX 5 > Tél. 33 (0)4 67 54 84 55 > Fax 33 (0)4 67 54 84 14blanc...@abes.fr > > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users >
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users