Re: [one-users] Is it OK for VM migration between two physical hosts when the home folders of these two hosts are different?
Hi, The first thing you should do is take a look at the logs [1]. Regards [1] http://opennebula.org/documentation:rel4.2:log_debug -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Wed, Nov 27, 2013 at 5:42 AM, Qiubo Su (David Su) qiub...@gmail.comwrote: 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 cmar...@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 | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Tue, Nov 19, 2013 at 11:51 AM, Qiubo Su (David Su) qiub...@gmail.comwrote: 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=1,anongid=1) 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
Re: [one-users] Is it OK for VM migration between two physical hosts when the home folders of these two hosts are different?
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 | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Tue, Nov 19, 2013 at 11:51 AM, Qiubo Su (David Su) qiub...@gmail.comwrote: 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=1,anongid=1) 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
Re: [one-users] Is it OK for VM migration between two physical hosts when the home folders of these two hosts are different?
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 cmar...@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 | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Tue, Nov 19, 2013 at 11:51 AM, Qiubo Su (David Su) qiub...@gmail.comwrote: 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=1,anongid=1) 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