<div dir="ltr"><div><div><div>Dear OpenNebula Community,<br><br></div>Thanks for your help.<br><br></div>If it is failed when start a VM, how to debug to sort out the cause for the error?<br><br></div>Thanks,<br>Q.S.<br></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 26, 2013 at 11:56 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>The oneadmin home is not relevant, what is required is that the datastores are mounted in the same location [1]. DATASTORE_LOCATION is defined in oned.conf, and by default it is /var/lib/one/datastores.</div>
<div><div><br></div><div>Regards</div><div><br></div><div>[1] <a href="http://opennebula.org/documentation:rel4.2:system_ds#using_the_shared_transfer_driver" target="_blank">http://opennebula.org/documentation:rel4.2:system_ds#using_the_shared_transfer_driver</a><br>
</div>
</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">--<br><div>Carlos Martín, MSc<br>Project Engineer</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br><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></div></div>
<br><br><div class="gmail_quote"><div><div class="h5">On Tue, Nov 19, 2013 at 11:51 AM, Qiubo Su (David Su) <span dir="ltr"><<a href="mailto:qiubosu@gmail.com" target="_blank">qiubosu@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr"><div><div><div>Dear OpenNebula Community,<br><br></div>For VM migration between two physical host machines HostA (with IP 192.168.1.97) and HostB (with IP 192.168.1.98).<br><br></div>1) in HostA, create a user "oneadmin", add user to group "oneadmin" and have /home/var/lib/one as home folder.<br>
<br></div>edit /etc/exports as below:<br><br><div>/home/var/lib/one <a href="http://192.168.1.0/24(rw,sync,no_subtree_check,no_root_squash,anonuid=10000,anongid=10000)" target="_blank">192.168.1.0/24(rw,sync,no_subtree_check,no_root_squash,anonuid=10000,anongid=10000)</a><br>
<br></div><div>2) in HostB, create a user "oneadmin", add user to group "oneadmin" and have /var/lib/one as home folder.<br><br></div><div>edit /etc/fstab as below:<br></div><div><div><br>192.168.1.97:/home/var/lib/one /var/lib/one nfs defaults 0 0<br>
<br></div><div>From above 1) and 2) can see that the home folders of HostA and HostB are different, is this setup OK for VM migration between HostA and HostB?<br><br></div><div>Thanks kindly,<br></div><div>Q.S.<br></div>
<div>
<br></div></div></div>
<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></div>
</blockquote></div><br></div>