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 | cmar...@opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmar...@opennebula.org>


On Tue, Nov 19, 2013 at 11:51 AM, Qiubo Su (David Su) <qiub...@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@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to