[one-users] vmware migreate error

Tino Vazquez cvazquez at c12g.com
Thu Sep 26 01:53:24 PDT 2013


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 abuse at 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 <hanshizhunjob at 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" <cvazquez at 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 abuse at 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 <hanshizhunjob at 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 at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



More information about the Users mailing list