Re: migrate vm's between cluster

2013-06-25 Thread Ryan Lei
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/working-with-volumes.html#vm-storage-migration

13.4.5. VM Storage Migration
Supported in XenServer, KVM, and VMware.

You'll need to use two APIs to achieve this:
migrateVolume (for data volume) and migrateVirtualMachine (for root volume,
passing parameter storageid)

http://cloudstack.apache.org/docs/api/apidocs-4.1/TOC_Root_Admin.html



---
Yu-Heng (Ryan) Lei, Associate Reasearcher
Chunghwa Telecom Laboratories / Cloud Computing Laboratory
ryan...@cht.com.tw
or
ryanlei750...@gmail.com



On Tue, Jun 25, 2013 at 4:25 PM,  wrote:

> How to migrate the volume ?
>
> Le 06/06/2013 06:32, Ahmad Emneina a écrit :
> > You'll be required to power down the vm. Then migrate the vm's volume to
> > the primary storage associated with the desired cluster.
> > On Jun 5, 2013 2:57 PM, "david van zeebroeck" <
> > da...@analytics.brusselsairport.be> wrote:
> >
> >> hello i have a cluster defined which is running on redhat hosts
> >> now i wan't to migrate the vm's running on these machines to machine's
> >> running centos
> >>
> >> however you are not allowed to add a centos host to a cluster allready
> >> running redhat
> >>
> >> so i added a new cluster running the centos hosts.
> >>
> >> now how can i move/migrate the hosts to the centos cluster?
> >>
> >
>
>
> --
> Nicolas Lamirault
>
>
> _
>
> Ce message et ses pieces jointes peuvent contenir des informations
> confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez
> recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
> electroniques etant susceptibles d'alteration,
> France Telecom - Orange decline toute responsabilite si ce message a ete
> altere, deforme ou falsifie. Merci.
>
> This message and its attachments may contain confidential or privileged
> information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and
> delete this message and its attachments.
> As emails may be altered, France Telecom - Orange is not liable for
> messages that have been modified, changed or falsified.
> Thank you.
>
>


Re: migrate vm's between cluster

2013-06-25 Thread nicolas.lamirault
How to migrate the volume ?

Le 06/06/2013 06:32, Ahmad Emneina a écrit :
> You'll be required to power down the vm. Then migrate the vm's volume to
> the primary storage associated with the desired cluster.
> On Jun 5, 2013 2:57 PM, "david van zeebroeck" <
> da...@analytics.brusselsairport.be> wrote:
> 
>> hello i have a cluster defined which is running on redhat hosts
>> now i wan't to migrate the vm's running on these machines to machine's
>> running centos
>>
>> however you are not allowed to add a centos host to a cluster allready
>> running redhat
>>
>> so i added a new cluster running the centos hosts.
>>
>> now how can i move/migrate the hosts to the centos cluster?
>>
> 


-- 
Nicolas Lamirault

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
France Telecom - Orange decline toute responsabilite si ce message a ete 
altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, France Telecom - Orange is not liable for messages 
that have been modified, changed or falsified.
Thank you.



Re: migrate vm's between cluster

2013-06-05 Thread Ahmad Emneina
You'll be required to power down the vm. Then migrate the vm's volume to
the primary storage associated with the desired cluster.
On Jun 5, 2013 2:57 PM, "david van zeebroeck" <
da...@analytics.brusselsairport.be> wrote:

> hello i have a cluster defined which is running on redhat hosts
> now i wan't to migrate the vm's running on these machines to machine's
> running centos
>
> however you are not allowed to add a centos host to a cluster allready
> running redhat
>
> so i added a new cluster running the centos hosts.
>
> now how can i move/migrate the hosts to the centos cluster?
>


Re: migrate vm's between cluster

2013-06-05 Thread Nguyen Anh Tu
what hypervisor you using?


2013/6/5 david van zeebroeck 

> hello i have a cluster defined which is running on redhat hosts
> now i wan't to migrate the vm's running on these machines to machine's
> running centos
>
> however you are not allowed to add a centos host to a cluster allready
> running redhat
>
> so i added a new cluster running the centos hosts.
>
> now how can i move/migrate the hosts to the centos cluster?
>



-- 

N.g.U.y.e.N.A.n.H.t.U


migrate vm's between cluster

2013-06-05 Thread david van zeebroeck
hello i have a cluster defined which is running on redhat hosts
now i wan't to migrate the vm's running on these machines to machine's
running centos

however you are not allowed to add a centos host to a cluster allready
running redhat

so i added a new cluster running the centos hosts.

now how can i move/migrate the hosts to the centos cluster?