Re: [one-users] Manually migrate a VM
Hi, On Mon, Jan 20, 2014 at 4:46 PM, Stuart Kenny stuart.ke...@scss.tcd.iewrote: Hi, is it possible to tell OpenNebula that a VM that is in the unknown state on a failed host is now running on a new host? It doesn't seem to be possible to edit the database to do this as the changes get overwritten. Thanks, Stuart. No, it's not possible to set a new vm status or host. If you edit the DB (this is of course not recommended as you may break things), oned will replace your changes with the cached data. First you need to stop opennebula, make a backup, edit, and run onedb fsck [1] to fix possible inconsistencies. Regards [1] http://docs.opennebula.org/stable/administration/references/onedb.html -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Manually migrate a VM
Hi, thanks for the reply. Could you tell me where the cached data is stored? Thanks, Stuart. On 21/01/2014 09:48, Carlos Martín Sánchez wrote: Hi, On Mon, Jan 20, 2014 at 4:46 PM, Stuart Kenny stuart.ke...@scss.tcd.ie mailto:stuart.ke...@scss.tcd.ie wrote: Hi, is it possible to tell OpenNebula that a VM that is in the unknown state on a failed host is now running on a new host? It doesn't seem to be possible to edit the database to do this as the changes get overwritten. Thanks, Stuart. No, it's not possible to set a new vm status or host. If you edit the DB (this is of course not recommended as you may break things), oned will replace your changes with the cached data. First you need to stop opennebula, make a backup, edit, and run onedb fsck [1] to fix possible inconsistencies. Regards [1] http://docs.opennebula.org/stable/administration/references/onedb.html -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org mailto:cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Manually migrate a VM
Hi, On Tue, Jan 21, 2014 at 11:02 AM, Stuart Kenny stuart.ke...@scss.tcd.iewrote: Hi, thanks for the reply. Could you tell me where the cached data is stored? Thanks, Stuart. In memory, the oned process caches the info read from the DB. Regards On 21/01/2014 09:48, Carlos Martín Sánchez wrote: Hi, On Mon, Jan 20, 2014 at 4:46 PM, Stuart Kenny stuart.ke...@scss.tcd.iewrote: Hi, is it possible to tell OpenNebula that a VM that is in the unknown state on a failed host is now running on a new host? It doesn't seem to be possible to edit the database to do this as the changes get overwritten. Thanks, Stuart. No, it's not possible to set a new vm status or host. If you edit the DB (this is of course not recommended as you may break things), oned will replace your changes with the cached data. First you need to stop opennebula, make a backup, edit, and run onedb fsck [1] to fix possible inconsistencies. Regards [1] http://docs.opennebula.org/stable/administration/references/onedb.html -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Manually migrate a VM
Hi, is it possible to tell OpenNebula that a VM that is in the unknown state on a failed host is now running on a new host? It doesn't seem to be possible to edit the database to do this as the changes get overwritten. Thanks, Stuart. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org