Hi, Sorry, I forgot to mention that you must stop OpenNebula before touching the DB. Otherwise, oned will continue to use the cached information.
Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | [email protected] | @OpenNebula<http://twitter.com/opennebula><[email protected]> On Wed, Apr 3, 2013 at 5:57 AM, Sharuzzaman Ahmat Raslan < [email protected]> wrote: > Hi Carlos, > > I change cluster_pool last_oid in table pool_control to 99, but when I > execute the command onecluster create Testing, it creates a new cluster > with ID 102, not 100. > > Somehow the system knows that there are previously cluster ID 101, and > disregard the number set in DB table. > > Appreciate explanation on this matter. > > Thanks. > > > > > On Tue, Apr 2, 2013 at 5:52 PM, Carlos Martín Sánchez < > [email protected]> wrote: > >> Hi, >> >> On Tue, Apr 2, 2013 at 10:00 AM, Sharuzzaman Ahmat Raslan < >> [email protected]> wrote: >> >>> Hello, >>> >>> I'm just trying out Opennebula. >>> >>> In my installation, when I type the command >>> >>> onecluster create Testing >>> >>> it will create a new cluster named Testing with ID 100 >>> >>> Why it start with 100? How do I make is start with 1, instead of 100? >>> >> >> This way we reserve the first 100 IDs for internal or default clusters we >> may add in the future. >> >> >>> If I delete the cluster, then issue the command again, it will create a >>> cluster of ID 101 >>> >>> How do I change the cluster ID to 100 back? >>> >> >> This is not supported, but if it is really crucial you can fiddle with >> the database directly. Look for the pool_control table. >> >> >>> The reason is that I need it to be identical to another setup that we >>> already have in the company, created by another engineer. >>> >> >> Maybe you can clone the entire database? >> >> Regards >> >> >>> >>> Thanks. >>> >>> >>> -- >>> Sharuzzaman Ahmat Raslan >>> >>> _______________________________________________ >>> Users mailing list >>> [email protected] >>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >>> >>> >> >> -- >> Carlos Martín, MSc >> Project Engineer >> OpenNebula - The Open-source Solution for Data Center Virtualization >> www.OpenNebula.org <http://www.opennebula.org/> | [email protected] >> | @OpenNebula <http://twitter.com/opennebula> <[email protected]> >> >> > > > -- > Sharuzzaman Ahmat Raslan >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
