[one-users] Clean up OpenNebula

Carlos Martín Sánchez cmartin at opennebula.org
Wed Jan 18 04:10:59 PST 2012


Hi,

If you update the pool_control table without a cleanup of the pool tables
you will face some inconsistencies.

To "reset" opennebula, the easiest way is to delete the DB. With sqlite,
just execute 'rm /var/lib/one/one.db', or issue a 'drop database' in mysql.

Regards.
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>


On Sat, Dec 24, 2011 at 2:33 PM, Håkan Iaksson <hakan.isaksson at init.se>wrote:

> I believe the database table 'pool_control' contains that information,
>
> a "update pool_control set last_oid=0 where tablename like 'vm_pool'"
> would reset the vm-counter.
>
> Exactly how you update it, would depend on if you are using mysql or
> sqllite.
>
> --
>
> Håkan Isaksson
>
> Init System Management
>
>
>
> On Fri, 23 Dec 2011 14:56:33 -0300, matheus tor4 wrote:
>
>> After lots of lots of test, now I want to clean up all my cloud.
>>
>> Does exist a way to clean all templates that I built?
>> I want to have my IDs from 0 again! :/
>>
>> Thanks in advance.
>>
>
> ______________________________**_________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120118/0f9f5a17/attachment-0002.htm>


More information about the Users mailing list