Re: [one-users] vmware migreate error

2013-09-26 Thread hansz
hi,
i find at http://opennebula.org/documentation:rel4.2:devel-vmm   there is 
migrate on kvm  , but how can i config the vmware driver


like this ?  
VM_MAD = [
name   = vmware,
executable = one_vmm_exec,
arguments  = -t 15 -r 0 -l migrate,save vmware,
default= vmm_exec/vmm_exec_vmware.conf,
type   = vmware]

i want to migrate online 







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


Re: [one-users] vmware migreate error

2013-09-26 Thread Tino Vazquez
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


Re: [one-users] vmware migreate error

2013-09-26 Thread Tino Vazquez
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
 

Re: [one-users] vmware migreate error

2013-09-24 Thread Tino Vazquez
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


Re: [one-users] vmware migreate error

2013-09-24 Thread hansz
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