You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by sx chen <cl...@gmail.com> on 2013/04/12 04:56:17 UTC

Add new host and migrate existed vm to new cluster

Hello,
       My CloudStack environment is:
       version:3.02
       cluster1:5 blade server in cluster1,Cpu is 2*6*2.53GHz


       My requirement is:
       1.I want to add 5 rack server to the CloudStack,and a new cluster
named cluster2 or add a new zone,rack server CPU is 2*6*2.0GHz,
       2.migrate some of the existed vm to the new host.

       My question is
       1.Is there a way to migrate the whole cluster?
       2.Is migrateVirtualMachine API support cross cluster or cross zone?

Re: Add new host and migrate existed vm to new cluster

Posted by Nitin Mehta <Ni...@citrix.com>.
Use migrateVolume API to migrate data disks across cluster (you will need
to detach the data disks from the vm) and migrateVirtualMachine API to
migrate root disk across cluster (you will need to stop the vm). Try this
for one vm and see how it goes.

On 12/04/13 3:02 PM, "sx chen" <cl...@gmail.com> wrote:

>So nitin,you means migrateVolume API support cross cluster migrate?
>
>
>2013/4/12 Nitin Mehta <Ni...@citrix.com>
>
>>
>>
>> On 12/04/13 10:32 AM, "Ahmad Emneina" <ae...@gmail.com> wrote:
>>
>> >hey nitin, doesnt volume migrate allow for cross cluster migration? i
>>know
>> >the only caveat to that being, the vm's needing to be powered off to
>> >migrate.
>>
>> Yeah it does. It just skipped my mind. Thanks for pointing this out.
>> The enhancement I was pointing to would enable live migration.
>>
>>
>> >
>> >
>> >On Thu, Apr 11, 2013 at 9:48 PM, Nitin Mehta <Ni...@citrix.com>
>> >wrote:
>> >
>> >>
>> >>
>> >> On 12/04/13 8:26 AM, "sx chen" <cl...@gmail.com> wrote:
>> >>
>> >> >Hello,
>> >> >       My CloudStack environment is:
>> >> >       version:3.02
>> >> >       cluster1:5 blade server in cluster1,Cpu is 2*6*2.53GHz
>> >> >
>> >> >
>> >> >       My requirement is:
>> >> >       1.I want to add 5 rack server to the CloudStack,and a new
>> >>cluster
>> >> >named cluster2 or add a new zone,rack server CPU is 2*6*2.0GHz,
>> >> >       2.migrate some of the existed vm to the new host.
>> >> >
>> >> >       My question is
>> >> >       1.Is there a way to migrate the whole cluster?
>> >>
>> >> AFAIK no. But please feel free to open a feature request for this in
>> >>Jira.
>> >>
>> >> >       2.Is migrateVirtualMachine API support cross cluster or cross
>> >>zone?
>> >>
>> >> ATM it doesn't support it cross cluster/zone. But I guess with the FS
>> >>
>> >>
>> 
>>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Enabling+Storage+X
>> >>en
>> >> Motion+for+XenServer it would be. ETA - 4.2
>> >>
>> >> >
>> >>
>> >>
>>
>>


Re: Add new host and migrate existed vm to new cluster

Posted by sx chen <cl...@gmail.com>.
So nitin,you means migrateVolume API support cross cluster migrate?


2013/4/12 Nitin Mehta <Ni...@citrix.com>

>
>
> On 12/04/13 10:32 AM, "Ahmad Emneina" <ae...@gmail.com> wrote:
>
> >hey nitin, doesnt volume migrate allow for cross cluster migration? i know
> >the only caveat to that being, the vm's needing to be powered off to
> >migrate.
>
> Yeah it does. It just skipped my mind. Thanks for pointing this out.
> The enhancement I was pointing to would enable live migration.
>
>
> >
> >
> >On Thu, Apr 11, 2013 at 9:48 PM, Nitin Mehta <Ni...@citrix.com>
> >wrote:
> >
> >>
> >>
> >> On 12/04/13 8:26 AM, "sx chen" <cl...@gmail.com> wrote:
> >>
> >> >Hello,
> >> >       My CloudStack environment is:
> >> >       version:3.02
> >> >       cluster1:5 blade server in cluster1,Cpu is 2*6*2.53GHz
> >> >
> >> >
> >> >       My requirement is:
> >> >       1.I want to add 5 rack server to the CloudStack,and a new
> >>cluster
> >> >named cluster2 or add a new zone,rack server CPU is 2*6*2.0GHz,
> >> >       2.migrate some of the existed vm to the new host.
> >> >
> >> >       My question is
> >> >       1.Is there a way to migrate the whole cluster?
> >>
> >> AFAIK no. But please feel free to open a feature request for this in
> >>Jira.
> >>
> >> >       2.Is migrateVirtualMachine API support cross cluster or cross
> >>zone?
> >>
> >> ATM it doesn't support it cross cluster/zone. But I guess with the FS
> >>
> >>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Enabling+Storage+X
> >>en
> >> Motion+for+XenServer it would be. ETA - 4.2
> >>
> >> >
> >>
> >>
>
>

Re: Add new host and migrate existed vm to new cluster

Posted by Nitin Mehta <Ni...@citrix.com>.

On 12/04/13 10:32 AM, "Ahmad Emneina" <ae...@gmail.com> wrote:

>hey nitin, doesnt volume migrate allow for cross cluster migration? i know
>the only caveat to that being, the vm's needing to be powered off to
>migrate.

Yeah it does. It just skipped my mind. Thanks for pointing this out.
The enhancement I was pointing to would enable live migration.


>
>
>On Thu, Apr 11, 2013 at 9:48 PM, Nitin Mehta <Ni...@citrix.com>
>wrote:
>
>>
>>
>> On 12/04/13 8:26 AM, "sx chen" <cl...@gmail.com> wrote:
>>
>> >Hello,
>> >       My CloudStack environment is:
>> >       version:3.02
>> >       cluster1:5 blade server in cluster1,Cpu is 2*6*2.53GHz
>> >
>> >
>> >       My requirement is:
>> >       1.I want to add 5 rack server to the CloudStack,and a new
>>cluster
>> >named cluster2 or add a new zone,rack server CPU is 2*6*2.0GHz,
>> >       2.migrate some of the existed vm to the new host.
>> >
>> >       My question is
>> >       1.Is there a way to migrate the whole cluster?
>>
>> AFAIK no. But please feel free to open a feature request for this in
>>Jira.
>>
>> >       2.Is migrateVirtualMachine API support cross cluster or cross
>>zone?
>>
>> ATM it doesn't support it cross cluster/zone. But I guess with the FS
>> 
>>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Enabling+Storage+X
>>en
>> Motion+for+XenServer it would be. ETA - 4.2
>>
>> >
>>
>>


Re: Add new host and migrate existed vm to new cluster

Posted by Ahmad Emneina <ae...@gmail.com>.
hey nitin, doesnt volume migrate allow for cross cluster migration? i know
the only caveat to that being, the vm's needing to be powered off to
migrate.


On Thu, Apr 11, 2013 at 9:48 PM, Nitin Mehta <Ni...@citrix.com> wrote:

>
>
> On 12/04/13 8:26 AM, "sx chen" <cl...@gmail.com> wrote:
>
> >Hello,
> >       My CloudStack environment is:
> >       version:3.02
> >       cluster1:5 blade server in cluster1,Cpu is 2*6*2.53GHz
> >
> >
> >       My requirement is:
> >       1.I want to add 5 rack server to the CloudStack,and a new cluster
> >named cluster2 or add a new zone,rack server CPU is 2*6*2.0GHz,
> >       2.migrate some of the existed vm to the new host.
> >
> >       My question is
> >       1.Is there a way to migrate the whole cluster?
>
> AFAIK no. But please feel free to open a feature request for this in Jira.
>
> >       2.Is migrateVirtualMachine API support cross cluster or cross zone?
>
> ATM it doesn't support it cross cluster/zone. But I guess with the FS
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Enabling+Storage+Xen
> Motion+for+XenServer it would be. ETA - 4.2
>
> >
>
>

Re: Add new host and migrate existed vm to new cluster

Posted by Nitin Mehta <Ni...@citrix.com>.

On 12/04/13 8:26 AM, "sx chen" <cl...@gmail.com> wrote:

>Hello,
>       My CloudStack environment is:
>       version:3.02
>       cluster1:5 blade server in cluster1,Cpu is 2*6*2.53GHz
>
>
>       My requirement is:
>       1.I want to add 5 rack server to the CloudStack,and a new cluster
>named cluster2 or add a new zone,rack server CPU is 2*6*2.0GHz,
>       2.migrate some of the existed vm to the new host.
>
>       My question is
>       1.Is there a way to migrate the whole cluster?

AFAIK no. But please feel free to open a feature request for this in Jira.

>       2.Is migrateVirtualMachine API support cross cluster or cross zone?

ATM it doesn't support it cross cluster/zone. But I guess with the FS
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Enabling+Storage+Xen
Motion+for+XenServer it would be. ETA - 4.2

>