Hi Hansz, Could you send us the contents of your vmwarerc file? The problems seems to be in the definition of the datacenter name. By default it should be "ha-datacenter", did you change this default in the ESX boxes or vCenter?
Regards, -Tino -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Constantino Vázquez Blanco, PhD, MSc Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | es.linkedin.com/in/tinova -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the "To" and "cc" box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation. On Thu, Sep 26, 2013 at 2:03 PM, hansz <hanshizhun...@126.com> wrote: > > > > but how, i can migrate vm cold ,but when i migrate vm live it fail > and the log > the log > Thu Sep 26 16:43:00 2013 [LCM][I]: New VM state is MIGRATE > Thu Sep 26 16:43:00 2013 [VMM][I]: Successfully execute transfer manager > driver operation: tm_premigrate. > Thu Sep 26 16:43:00 2013 [VMM][I]: Successfully execute network driver > operation: pre. > Thu Sep 26 16:43:06 2013 [VMM][I]: Command execution fail: > /var/lib/one/remotes/vmm/vmware/migrate 'one-187' 'vmware' 'qianyi' 187 > qianyi > Thu Sep 26 16:43:06 2013 [VMM][E]: migrate: Error executing: -r virsh -c > vpx://10.24.101.71/ha-datacenter/qianyi/?no_verify=1 migrate one-187 > vpx://10.24.101.71/ha-datacenter/vmware/?no_verify=1 err: ExitCode: 1 > Thu Sep 26 16:43:06 2013 [VMM][I]: out: internal error Could not find > datacenter specified in '/ha-datacenter/qianyi/' > Thu Sep 26 16:43:06 2013 [VMM][I]: error: failed to connect to the > hypervisor > Thu Sep 26 16:43:06 2013 [VMM][I]: ExitCode: 1 > Thu Sep 26 16:43:06 2013 [VMM][I]: Failed to execute virtualization driver > operation: migrate. > Thu Sep 26 16:43:06 2013 [VMM][E]: Error live migrating VM > Thu Sep 26 16:43:06 2013 [LCM][I]: Fail to live migrate VM. Assuming that > the VM is still RUNNING (will poll VM). > > and where should i take care when i configure my opennebula , > the driver? or the vmwarerc file ,or other files; > pls give some detail advices. > thinks very much > > > At 2013-09-26 17:49:09,"Tino Vazquez" <cvazq...@c12g.com> wrote: >>Hi, >> >>Sure, you can issue a migrate --live from Susntone, Virtual Machine tab. >> >>Best, >> >>-Tino >>-- >>Constantino Vázquez Blanco, PhD, MSc >>Senior Infrastructure Architect at C12G Labs >>www.c12g.com | @C12G | es.linkedin.com/in/tinova >> >>-- >>Confidentiality Warning: The information contained in this e-mail and >>any accompanying documents, unless otherwise expressly indicated, is >>confidential and privileged, and is intended solely for the person >>and/or entity to whom it is addressed (i.e. those identified in the >>"To" and "cc" box). They are the property of C12G Labs S.L.. >>Unauthorized distribution, review, use, disclosure, or copying of this >>communication, or any part thereof, is strictly prohibited and may be >>unlawful. If you have received this e-mail in error, please notify us >>immediately by e-mail at ab...@c12g.com and delete the e-mail and >>attachments and any copy from your system. C12G thanks you for your >>cooperation. >> >> >>On Thu, Sep 26, 2013 at 10:58 AM, hansz <hanshizhun...@126.com> wrote: >>> >>> >>> >>> can i use sunstone? not use command line for my client are not inablity >>> use >>> it ? >>> >>> >>> >>> >>> At 2013-09-26 16:53:24,"Tino Vazquez" <cvazq...@c12g.com> wrote: >>>>Hi, >>>> >>>>You need to set the following in the vmwarerc file: >>>> >>>>--- >>>>:datacenter(only for vMotion) name of the datacenter where the hosts >>>>have been registered. >>>>:vcenter(only for vMotion) name or IP of the vCenter that manage the ESX >>>> hosts >>>>--- >>>> >>>>Then you will need to use the following to livemigrate VM (vid) to a >>>>particular host (hostid): >>>> >>>>$ onevm migrate --live <vid> <hostid> >>>> >>>>Hope it helps, >>>> >>>>-Tino >>>> >>>>-- >>>>Constantino Vázquez Blanco, PhD, MSc >>>>Senior Infrastructure Architect at C12G Labs >>>>www.c12g.com | @C12G | es.linkedin.com/in/tinova >>>> >>>>-- >>>>Confidentiality Warning: The information contained in this e-mail and >>>>any accompanying documents, unless otherwise expressly indicated, is >>>>confidential and privileged, and is intended solely for the person >>>>and/or entity to whom it is addressed (i.e. those identified in the >>>>"To" and "cc" box). They are the property of C12G Labs S.L.. >>>>Unauthorized distribution, review, use, disclosure, or copying of this >>>>communication, or any part thereof, is strictly prohibited and may be >>>>unlawful. If you have received this e-mail in error, please notify us >>>>immediately by e-mail at ab...@c12g.com and delete the e-mail and >>>>attachments and any copy from your system. C12G thanks you for your >>>>cooperation. >>>> >>>> >>>>On Wed, Sep 25, 2013 at 7:50 AM, hansz <hanshizhun...@126.com> wrote: >>>>> hi , >>>>> the version is 4.2 and esxi 5.1, follow your advices,i have ready >>>>> create >>>>> a >>>>> working vCenter with vMotion capabilities. >>>>> and i can migrate vm from esxi5.1(1)to esxi 5.2 (2) use vcenter, but >>>>> how >>>>> can >>>>> i use opennebula do migration , >>>>> i see in the vmwarerc file has ":vcenter" should i write like "vcenter: >>>>> "192.168.1.1"" or not, i want to try live migration >>>>> >>>>> thinks for some advices. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> At 2013-09-24 17:25:05,"Tino Vazquez" <cvazq...@c12g.com> wrote: >>>>>>Hi there, >>>>>> >>>>>>We would need a bit more of context of that log file, could you send >>>>>>an excerpt covering 10 lines before and after? >>>>>> >>>>>>Also, it would be good to know which version of OpenNebula, and which >>>>>>migration are you trying to invoke (cold or live migration). If it is >>>>>>a live migration, please bear in mind that you would need a working >>>>>>vCenter installation, with vMotion capabilities. >>>>>> >>>>>>Best regards, >>>>>> >>>>>>-Tino >>>>>>-- >>>>>>Constantino Vázquez Blanco, PhD, MSc >>>>>>Senior Infrastructure Architect at C12G Labs >>>>>>www.c12g.com | @C12G | es.linkedin.com/in/tinova >>>>>> >>>>>>-- >>>>>>Confidentiality Warning: The information contained in this e-mail and >>>>>>any accompanying documents, unless otherwise expressly indicated, is >>>>>>confidential and privileged, and is intended solely for the person >>>>>>and/or entity to whom it is addressed (i.e. those identified in the >>>>>>"To" and "cc" box). They are the property of C12G Labs S.L.. >>>>>>Unauthorized distribution, review, use, disclosure, or copying of this >>>>>>communication, or any part thereof, is strictly prohibited and may be >>>>>>unlawful. If you have received this e-mail in error, please notify us >>>>>>immediately by e-mail at ab...@c12g.com and delete the e-mail and >>>>>>attachments and any copy from your system. C12G thanks you for your >>>>>>cooperation. >>>>>> >>>>>> >>>>>>On Tue, Sep 24, 2013 at 8:41 AM, hansz <hanshizhun...@126.com> wrote: >>>>>>> hi man, >>>>>>> today i have a try to migrate one vm ,but it faild >>>>>>> the log : >>>>>>> rror: executing: -r virsh -c vpx:///ha-datacenter/qianyi/?no_verify=1 >>>>>>> migrae >>>>>>> one-180 vpx:///ha-datacenter/vmware/?no_verify=1 err:ExitCode:! >>>>>>> my environment >>>>>>> 1, x3650 install opennebual 4.2 (with one 1T iscsi disk,and i cp the >>>>>>> datastores system and the datastores iamge into it, and mount the >>>>>>> iscsi >>>>>>> disk >>>>>>> /var/lib/one/datastore) >>>>>>> 2, x3650 install vmware esxi 5.1 >>>>>>> 3.x3650 install vmware esxi 5.1 >>>>>>> i have already add the two esxi to the onehost ,and i can create vm >>>>>>> on >>>>>>> both, but i want to migrate one vm one vmware1 to vmware 2 it faild. >>>>>>> >>>>>>> what is wrong ? >>>>>>> pls gave me some ideals . >>>>>>> thinks >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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 >>>>> >>> >>> >>> > > > _______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org