[one-users] Is it OK for VM migration between two physical hosts when the home folders of these two hosts are different?

Qiubo Su (David Su) qiubosu at gmail.com
Tue Nov 26 20:42:49 PST 2013


Dear OpenNebula Community,

Thanks for your help.

If it is failed when start a VM, how to debug to sort out the cause for the
error?

Thanks,
Q.S.


On Tue, Nov 26, 2013 at 11:56 PM, Carlos Martín Sánchez <
cmartin at opennebula.org> wrote:

> Hi,
>
> 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.
>
> Regards
>
> [1]
> http://opennebula.org/documentation:rel4.2:system_ds#using_the_shared_transfer_driver
>
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
>
>
> On Tue, Nov 19, 2013 at 11:51 AM, Qiubo Su (David Su) <qiubosu at gmail.com>wrote:
>
>> Dear OpenNebula Community,
>>
>> For VM migration between two physical host machines HostA (with IP
>> 192.168.1.97) and HostB (with IP 192.168.1.98).
>>
>> 1) in HostA, create a user "oneadmin", add user to group "oneadmin" and
>> have /home/var/lib/one as home folder.
>>
>> edit /etc/exports as below:
>>
>> /home/var/lib/one
>> 192.168.1.0/24(rw,sync,no_subtree_check,no_root_squash,anonuid=10000,anongid=10000)
>>
>> 2) in HostB, create a user "oneadmin", add user to group "oneadmin" and
>> have /var/lib/one as home folder.
>>
>> edit /etc/fstab as below:
>>
>> 192.168.1.97:/home/var/lib/one     /var/lib/one     nfs     defaults
>> 0     0
>>
>> 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?
>>
>> Thanks kindly,
>> Q.S.
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131127/5c757357/attachment-0002.htm>


More information about the Users mailing list