2012/8/23 André Monteiro <span dir="ltr"><<a href="mailto:andre.monteir@gmail.com" target="_blank">andre.monteir@gmail.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hello Bart,</div><div> </div><div>Regarding the manual migration, I've done some in the past and you can:</div><div>- shutdown VM</div><div>- create an image template with the source pointing to your raw image (it will create a symlink)</div>


<div>- create a template with your specs and image template</div><div>- instantiate new VM with created template</div><div> </div><div>or if you have already test VM created and running with proper specs:</div><div>- shutdown VM</div>


<div>- just go to datastore/0/imageid, delete disk.0 (if its a test disk) and make a symlink with the path to your image named disk.0<br clear="all"></div><div>Now it's just a matter of your existing VMs homogeneity/heterogeneity, if they are all alike just go to the 2nd option, or combine the both.</div>


<div><br>--<br>André Monteiro<br><br><br>
<br><br></div><div class="gmail_quote"><div><div class="h5">On Thu, Aug 23, 2012 at 10:33 AM, Bart <span dir="ltr"><<a href="mailto:bart@pleh.info" target="_blank">bart@pleh.info</a>></span> wrote:<br></div></div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div><div class="h5">

Hi,<div><br></div><div>I'm new to OpenNebula and have read some of the documentation and even got the book (b.t.w. a great book!), as such I'm in the process of setting up an initial setup to see how all the pieces fit together.</div>



<div><br></div><div>For the initial setup I have 4 servers, all identical, and the setup that I'm going for is a growth model as shown below:</div><div><ul><li>The first server will be the OpenNebula management server.</li>



<li>The second and third server will both function as a distributed filesystem using MooseFS, the idea is to get a redundant server setup for storage + have the ability to easily grow the storage side.</li><li>The fourth server will become a KVM node in it's own cluser. In addition to this one node we currently have three other stand-alone KVM servers which will eventually be integrated into this setup (so in the end I'll have four KVM nodes, all in one cluster).</li>



</ul><div>I'm pretty confident that this setup will work, but if you have some ideas on an even better setup then I'm all up for the info :)</div></div><div><br></div><div>As mentioned, we currently have three running stand-alone KVM nodes. They are currently running about 20 VM's in total and I'll have to migrate these VM's towards the OpenNebula setup since OpenNebula doesn't detect the currently running VM's.</div>



<div>I've read somewhere on these lists that you'd have to import the current disk image (they are all in raw file format) and try to duplicate the template from where you'll be able to startup a VM with that image. . . (it was a short answer...)</div>



<div><br></div><div>My question is, are there example tutorials on how to do these migrations? Or tricks/scripts that can help with the migration?</div><div><br></div><div>Currently this is the biggest question that I have, if I can do a migration in a proper way (I don't mind if I have to do it manually, as long as it works) then I can start to make plans for a production environment along with a migration plan where I'll move VM's from one server to OpenNebula and then reinstall the stand-alone KVM node to become part of the OpenNebula cluster.</div>



<div><br></div><div>Any input would be great, so thanks in advance.</div><span><font color="#888888"><div><div><br></div>-- <br>Bart<br>
</div>
</font></span><br></div></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>
</blockquote></div><br>Hi André,<div><br></div><div>Thanks for the answer, I'll give the first sequence a go and see how far I can get with it.</div><div><div><div><br></div>-- <br>Bart<br>
</div></div>