<div dir="ltr">Hi,<div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 21, 2014 at 11:02 AM, Stuart Kenny <span dir="ltr"><<a href="mailto:stuart.kenny@scss.tcd.ie" target="_blank">stuart.kenny@scss.tcd.ie</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi, thanks for the reply. Could you
tell me where the cached data is stored?<br>
<br>
Thanks,<br>
Stuart.</div></div></blockquote><div><br></div><div>In memory, the oned process caches the info read from the DB.<div></div></div><div><br></div><div>Regards</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div><div><div class="h5">
<br>
On 21/01/2014 09:48, Carlos Martín Sánchez wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div class="gmail_extra">
<div class="gmail_quote">On Mon, Jan 20, 2014 at 4:46 PM,
Stuart Kenny <span dir="ltr"><<a href="mailto:stuart.kenny@scss.tcd.ie" target="_blank">stuart.kenny@scss.tcd.ie</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">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.<br>
<br>
Thanks,<br>
Stuart.<br>
</blockquote>
<div>
<div dir="ltr"><br>
</div>
<div>No, it's not possible to set a new vm status or host.</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Regards</div>
<div><br>
</div>
<div>[1] <a href="http://docs.opennebula.org/stable/administration/references/onedb.html" target="_blank">http://docs.opennebula.org/stable/administration/references/onedb.html</a><br>
</div>
<div dir="ltr">--<br>
<div>Carlos Martín, MSc<br>
Project Engineer</div>
<div>OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.opennebula.org/" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"></span></div>
</div>
</div>
</div>
<br>
<div> </div>
</div>
</div>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div></div>