<div dir="ltr"><div><div><div><div>Hi Carlos,<br><br></div>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.<br>
<br></div>Somehow the system knows that there are previously cluster ID 101, and disregard the number set in DB table.<br><br></div>Appreciate explanation on this matter. <br><br></div>Thanks.<br><div><div><br><br></div>
</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 2, 2013 at 5:52 PM, Carlos Martín Sánchez <span dir="ltr"><<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div class="gmail_extra"><div class="gmail_quote"><div class="im">On Tue, Apr 2, 2013 at 10:00 AM, Sharuzzaman Ahmat Raslan <span dir="ltr"><<a href="mailto:sharuzzaman@gmail.com" target="_blank">sharuzzaman@gmail.com</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 dir="ltr"><div><div><div><div><div><div><div><div><div>
Hello,<br><br></div>I'm just trying out Opennebula.<br><br></div>In my installation, when I type the command<br><br></div>onecluster create Testing<br><br></div>
it will create a new cluster named Testing with ID 100<br><br></div>Why it start with 100? How do I make is start with 1, instead of 100?<br></div></div></div></div></div></blockquote><div><br></div></div><div>This way we reserve the first 100 IDs for internal or default clusters we may add in the future.</div>
<div class="im">
<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 dir="ltr"><div><div><div>If I delete the cluster, then issue the command again, it will create a cluster of ID 101<br>
<br></div>How do I change the cluster ID to 100 back?<br></div></div></div></blockquote><div><br></div></div><div>This is not supported, but if it is really crucial you can fiddle with the database directly. Look for the pool_control table.</div>
<div class="im">
<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 dir="ltr"><div>The reason is that I need it to be identical to another setup that we already have in the company, created by another engineer.<br>
</div></div></blockquote><div><br></div></div><div>Maybe you can clone the entire database?</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 class="im">
<div dir="ltr"><div><br></div>Thanks.<span><font color="#888888"><br><div>
<div><div><div><div><div><div><div><br clear="all"><div><div><div><br>-- <br>Sharuzzaman Ahmat Raslan
</div></div></div></div></div></div></div></div></div></div></div></font></span></div>
<br></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div><div class="gmail_extra"><div><br>--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<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"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div><br></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Sharuzzaman Ahmat Raslan
</div>