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 | cmar...@opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmar...@opennebula.org>


On Sat, Dec 24, 2011 at 2:33 PM, Håkan Iaksson <hakan.isaks...@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@lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to