You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Alex Ough <al...@sungard.com> on 2013/11/21 19:40:00 UTC

Review Request 15763: Changed 'MigrateCommand' to use the global setting value of 'execute.in.sequence.hypervisor.commands'

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15763/
-----------------------------------------------------------

Review request for cloudstack.


Repository: cloudstack-git


Description
-------

When a host is switched to the 'maintenance mode', the vms in that host are migrated to another available hosts. Currently, the vm migrations are executed sequentially, it can take a lot of time when there are quite number of vms. So I changed 'MigrateCommand' to get the value of 'executeInSequence' property from the global setting value of 'execute.in.sequence.hypervisor.commands' so that users can execute the migrations in parallel to save time.


Diffs
-----

  core/src/com/cloud/agent/api/MigrateCommand.java 0d8f70c 
  engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java 3a3de70 
  setup/db/db/schema-410to420.sql 522ccc4 
  setup/db/db/schema-430to440.sql 9bb9602 

Diff: https://reviews.apache.org/r/15763/diff/


Testing
-------

Tested in the simulator mode and Xen servers.


Thanks,

Alex Ough


Re: Review Request 15763: Changed 'MigrateCommand' to use the global setting value of 'execute.in.sequence.hypervisor.commands'

Posted by Alex Ough <al...@sungard.com>.
Hi Koushik,

I followed your instructions and this is the merged commit.

https://reviews.apache.org/r/15763/diff/

Let me know if there is anything missing/incorrect.
Thanks
Alex Ough



On Wed, Dec 4, 2013 at 11:44 PM, Koushik Das <ko...@citrix.com> wrote:

>  Alex,
>
>  This is what you need to do.
>
>  1. Create a single commit for all the changes you have made. Currently I
> see that you have made 2 commits - your original set of changes is one
> commit and then there is the review comment related changes which is the
> other commit. You need to create a single commit out of them.
> 2. Create a patch from that commit
> 3. Update the review request with that patch.
>
>  -Koushik
>
>   On 04-Dec-2013, at 8:52 PM, Alex Ough <al...@sungard.com> wrote:
>
>  Hi Koushik,
>
>  This time I reloaded only the 2 changes.
> To make it clean, I tried to remove the previous incorrect one, but I
> couldn't find how.
> So let me know if it is better to discard this review and create a new one.
>
>  Thanks
> Alex Ough
>
>
> On Wed, Dec 4, 2013 at 12:04 AM, Koushik Das <ko...@citrix.com>wrote:
>
>>
>> -----------------------------------------------------------
>> This is an automatically generated e-mail. To reply, visit:
>>  https://reviews.apache.org/r/15763/#review29716
>> -----------------------------------------------------------
>>
>>
>> Looks like the latest patch has some issues, the diff is not showing up.
>> Also there are 2 commits in the patch file. Can you resubmit the patch with
>> only a single commit?
>>
>> - Koushik Das
>>
>>
>> On Dec. 3, 2013, 5:07 p.m., Alex Ough wrote:
>> >
>> > -----------------------------------------------------------
>> > This is an automatically generated e-mail. To reply, visit:
>> > https://reviews.apache.org/r/15763/
>>  > -----------------------------------------------------------
>> >
>> > (Updated Dec. 3, 2013, 5:07 p.m.)
>> >
>> >
>> > Review request for cloudstack.
>> >
>> >
>> > Repository: cloudstack-git
>> >
>> >
>> > Description
>> > -------
>> >
>>  > When a host is switched to the 'maintenance mode', the vms in that
>> host are migrated to another available hosts. Currently, the vm migrations
>> are executed sequentially, it can take a lot of time when there are quite
>> number of vms. So I changed 'MigrateCommand' to get the value of
>> 'executeInSequence' property from the global setting value of
>> 'execute.in.sequence.hypervisor.commands' so that users can execute the
>> migrations in parallel to save time.
>> >
>> >
>>  > Diffs
>> > -----
>> >
>> >   core/src/com/cloud/agent/api/MigrateCommand.java 0d8f70c
>> >   engine/api/src/com/cloud/vm/VirtualMachineManager.java c78942f
>> >   engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
>> 3a3de70
>> >   setup/db/db/schema-410to420.sql 522ccc4
>> >   setup/db/db/schema-410to420.sql 522ccc4
>> >   setup/db/db/schema-430to440.sql 9bb9602
>> >
>> > Diff: https://reviews.apache.org/r/15763/diff/
>> >
>> >
>> > Testing
>> > -------
>> >
>>  > Tested in the simulator mode and Xen servers.
>> >
>> >
>>  > Thanks,
>> >
>> > Alex Ough
>> >
>> >
>>
>>
>
>

Re: Review Request 15763: Changed 'MigrateCommand' to use the global setting value of 'execute.in.sequence.hypervisor.commands'

Posted by Koushik Das <ko...@citrix.com>.
Alex,

This is what you need to do.

1. Create a single commit for all the changes you have made. Currently I see that you have made 2 commits - your original set of changes is one commit and then there is the review comment related changes which is the other commit. You need to create a single commit out of them.
2. Create a patch from that commit
3. Update the review request with that patch.

-Koushik

On 04-Dec-2013, at 8:52 PM, Alex Ough <al...@sungard.com>> wrote:

Hi Koushik,

This time I reloaded only the 2 changes.
To make it clean, I tried to remove the previous incorrect one, but I couldn't find how.
So let me know if it is better to discard this review and create a new one.

Thanks
Alex Ough


On Wed, Dec 4, 2013 at 12:04 AM, Koushik Das <ko...@citrix.com>> wrote:

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15763/#review29716
-----------------------------------------------------------


Looks like the latest patch has some issues, the diff is not showing up. Also there are 2 commits in the patch file. Can you resubmit the patch with only a single commit?

- Koushik Das


On Dec. 3, 2013, 5:07 p.m., Alex Ough wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15763/
> -----------------------------------------------------------
>
> (Updated Dec. 3, 2013, 5:07 p.m.)
>
>
> Review request for cloudstack.
>
>
> Repository: cloudstack-git
>
>
> Description
> -------
>
> When a host is switched to the 'maintenance mode', the vms in that host are migrated to another available hosts. Currently, the vm migrations are executed sequentially, it can take a lot of time when there are quite number of vms. So I changed 'MigrateCommand' to get the value of 'executeInSequence' property from the global setting value of 'execute.in.sequence.hypervisor.commands' so that users can execute the migrations in parallel to save time.
>
>
> Diffs
> -----
>
>   core/src/com/cloud/agent/api/MigrateCommand.java 0d8f70c
>   engine/api/src/com/cloud/vm/VirtualMachineManager.java c78942f
>   engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java 3a3de70
>   setup/db/db/schema-410to420.sql 522ccc4
>   setup/db/db/schema-410to420.sql 522ccc4
>   setup/db/db/schema-430to440.sql 9bb9602
>
> Diff: https://reviews.apache.org/r/15763/diff/
>
>
> Testing
> -------
>
> Tested in the simulator mode and Xen servers.
>
>
> Thanks,
>
> Alex Ough
>
>




Re: Review Request 15763: Changed 'MigrateCommand' to use the global setting value of 'execute.in.sequence.hypervisor.commands'

Posted by Alex Ough <al...@sungard.com>.
Hi Koushik,

This time I reloaded only the 2 changes.
To make it clean, I tried to remove the previous incorrect one, but I
couldn't find how.
So let me know if it is better to discard this review and create a new one.

Thanks
Alex Ough


On Wed, Dec 4, 2013 at 12:04 AM, Koushik Das <ko...@citrix.com> wrote:

>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15763/#review29716
> -----------------------------------------------------------
>
>
> Looks like the latest patch has some issues, the diff is not showing up.
> Also there are 2 commits in the patch file. Can you resubmit the patch with
> only a single commit?
>
> - Koushik Das
>
>
> On Dec. 3, 2013, 5:07 p.m., Alex Ough wrote:
> >
> > -----------------------------------------------------------
> > This is an automatically generated e-mail. To reply, visit:
> > https://reviews.apache.org/r/15763/
> > -----------------------------------------------------------
> >
> > (Updated Dec. 3, 2013, 5:07 p.m.)
> >
> >
> > Review request for cloudstack.
> >
> >
> > Repository: cloudstack-git
> >
> >
> > Description
> > -------
> >
> > When a host is switched to the 'maintenance mode', the vms in that host
> are migrated to another available hosts. Currently, the vm migrations are
> executed sequentially, it can take a lot of time when there are quite
> number of vms. So I changed 'MigrateCommand' to get the value of
> 'executeInSequence' property from the global setting value of
> 'execute.in.sequence.hypervisor.commands' so that users can execute the
> migrations in parallel to save time.
> >
> >
> > Diffs
> > -----
> >
> >   core/src/com/cloud/agent/api/MigrateCommand.java 0d8f70c
> >   engine/api/src/com/cloud/vm/VirtualMachineManager.java c78942f
> >   engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
> 3a3de70
> >   setup/db/db/schema-410to420.sql 522ccc4
> >   setup/db/db/schema-410to420.sql 522ccc4
> >   setup/db/db/schema-430to440.sql 9bb9602
> >
> > Diff: https://reviews.apache.org/r/15763/diff/
> >
> >
> > Testing
> > -------
> >
> > Tested in the simulator mode and Xen servers.
> >
> >
> > Thanks,
> >
> > Alex Ough
> >
> >
>
>

Re: Review Request 15763: Changed 'MigrateCommand' to use the global setting value of 'execute.in.sequence.hypervisor.commands'

Posted by Koushik Das <ko...@citrix.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15763/#review29716
-----------------------------------------------------------


Looks like the latest patch has some issues, the diff is not showing up. Also there are 2 commits in the patch file. Can you resubmit the patch with only a single commit?

- Koushik Das


On Dec. 3, 2013, 5:07 p.m., Alex Ough wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15763/
> -----------------------------------------------------------
> 
> (Updated Dec. 3, 2013, 5:07 p.m.)
> 
> 
> Review request for cloudstack.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> When a host is switched to the 'maintenance mode', the vms in that host are migrated to another available hosts. Currently, the vm migrations are executed sequentially, it can take a lot of time when there are quite number of vms. So I changed 'MigrateCommand' to get the value of 'executeInSequence' property from the global setting value of 'execute.in.sequence.hypervisor.commands' so that users can execute the migrations in parallel to save time.
> 
> 
> Diffs
> -----
> 
>   core/src/com/cloud/agent/api/MigrateCommand.java 0d8f70c 
>   engine/api/src/com/cloud/vm/VirtualMachineManager.java c78942f 
>   engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java 3a3de70 
>   setup/db/db/schema-410to420.sql 522ccc4 
>   setup/db/db/schema-410to420.sql 522ccc4 
>   setup/db/db/schema-430to440.sql 9bb9602 
> 
> Diff: https://reviews.apache.org/r/15763/diff/
> 
> 
> Testing
> -------
> 
> Tested in the simulator mode and Xen servers.
> 
> 
> Thanks,
> 
> Alex Ough
> 
>


Re: Review Request 15763: Changed 'MigrateCommand' to use the global setting value of 'execute.in.sequence.hypervisor.commands'

Posted by Alex Ough <al...@sungard.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15763/#review29872
-----------------------------------------------------------

Ship it!


Ship It!

- Alex Ough


On Dec. 5, 2013, 3:28 p.m., Alex Ough wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15763/
> -----------------------------------------------------------
> 
> (Updated Dec. 5, 2013, 3:28 p.m.)
> 
> 
> Review request for cloudstack.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> When a host is switched to the 'maintenance mode', the vms in that host are migrated to another available hosts. Currently, the vm migrations are executed sequentially, it can take a lot of time when there are quite number of vms. So I changed 'MigrateCommand' to get the value of 'executeInSequence' property from the global setting value of 'execute.in.sequence.hypervisor.commands' so that users can execute the migrations in parallel to save time.
> 
> 
> Diffs
> -----
> 
>   core/src/com/cloud/agent/api/MigrateCommand.java 0d8f70c 
>   engine/api/src/com/cloud/vm/VirtualMachineManager.java fbbed21 
>   engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java 5136130 
>   setup/db/db/schema-430to440.sql 8098ad8 
> 
> Diff: https://reviews.apache.org/r/15763/diff/
> 
> 
> Testing
> -------
> 
> Tested in the simulator mode and Xen servers.
> 
> 
> Thanks,
> 
> Alex Ough
> 
>


Re: Review Request 15763: Changed 'MigrateCommand' to use the global setting value of 'execute.in.sequence.hypervisor.commands'

Posted by Koushik Das <ko...@citrix.com>.

> On Dec. 6, 2013, 4:19 a.m., Koushik Das wrote:
> > Ship It!

master -> 88f64b2b93a3898e7868e9e55c1feca57b2ed48e


- Koushik


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15763/#review29870
-----------------------------------------------------------


On Dec. 5, 2013, 3:28 p.m., Alex Ough wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15763/
> -----------------------------------------------------------
> 
> (Updated Dec. 5, 2013, 3:28 p.m.)
> 
> 
> Review request for cloudstack.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> When a host is switched to the 'maintenance mode', the vms in that host are migrated to another available hosts. Currently, the vm migrations are executed sequentially, it can take a lot of time when there are quite number of vms. So I changed 'MigrateCommand' to get the value of 'executeInSequence' property from the global setting value of 'execute.in.sequence.hypervisor.commands' so that users can execute the migrations in parallel to save time.
> 
> 
> Diffs
> -----
> 
>   core/src/com/cloud/agent/api/MigrateCommand.java 0d8f70c 
>   engine/api/src/com/cloud/vm/VirtualMachineManager.java fbbed21 
>   engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java 5136130 
>   setup/db/db/schema-430to440.sql 8098ad8 
> 
> Diff: https://reviews.apache.org/r/15763/diff/
> 
> 
> Testing
> -------
> 
> Tested in the simulator mode and Xen servers.
> 
> 
> Thanks,
> 
> Alex Ough
> 
>


Re: Review Request 15763: Changed 'MigrateCommand' to use the global setting value of 'execute.in.sequence.hypervisor.commands'

Posted by Koushik Das <ko...@citrix.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15763/#review29870
-----------------------------------------------------------

Ship it!


Ship It!

- Koushik Das


On Dec. 5, 2013, 3:28 p.m., Alex Ough wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15763/
> -----------------------------------------------------------
> 
> (Updated Dec. 5, 2013, 3:28 p.m.)
> 
> 
> Review request for cloudstack.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> When a host is switched to the 'maintenance mode', the vms in that host are migrated to another available hosts. Currently, the vm migrations are executed sequentially, it can take a lot of time when there are quite number of vms. So I changed 'MigrateCommand' to get the value of 'executeInSequence' property from the global setting value of 'execute.in.sequence.hypervisor.commands' so that users can execute the migrations in parallel to save time.
> 
> 
> Diffs
> -----
> 
>   core/src/com/cloud/agent/api/MigrateCommand.java 0d8f70c 
>   engine/api/src/com/cloud/vm/VirtualMachineManager.java fbbed21 
>   engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java 5136130 
>   setup/db/db/schema-430to440.sql 8098ad8 
> 
> Diff: https://reviews.apache.org/r/15763/diff/
> 
> 
> Testing
> -------
> 
> Tested in the simulator mode and Xen servers.
> 
> 
> Thanks,
> 
> Alex Ough
> 
>


Re: Review Request 15763: Changed 'MigrateCommand' to use the global setting value of 'execute.in.sequence.hypervisor.commands'

Posted by Alex Ough <al...@sungard.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15763/
-----------------------------------------------------------

(Updated Dec. 5, 2013, 3:28 p.m.)


Review request for cloudstack.


Changes
-------

merged two commits into one


Repository: cloudstack-git


Description
-------

When a host is switched to the 'maintenance mode', the vms in that host are migrated to another available hosts. Currently, the vm migrations are executed sequentially, it can take a lot of time when there are quite number of vms. So I changed 'MigrateCommand' to get the value of 'executeInSequence' property from the global setting value of 'execute.in.sequence.hypervisor.commands' so that users can execute the migrations in parallel to save time.


Diffs (updated)
-----

  core/src/com/cloud/agent/api/MigrateCommand.java 0d8f70c 
  engine/api/src/com/cloud/vm/VirtualMachineManager.java fbbed21 
  engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java 5136130 
  setup/db/db/schema-430to440.sql 8098ad8 

Diff: https://reviews.apache.org/r/15763/diff/


Testing
-------

Tested in the simulator mode and Xen servers.


Thanks,

Alex Ough


Re: Review Request 15763: Changed 'MigrateCommand' to use the global setting value of 'execute.in.sequence.hypervisor.commands'

Posted by Alex Ough <al...@sungard.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15763/
-----------------------------------------------------------

(Updated Dec. 4, 2013, 3:16 p.m.)


Review request for cloudstack.


Changes
-------

reloading only with the latest changes


Repository: cloudstack-git


Description
-------

When a host is switched to the 'maintenance mode', the vms in that host are migrated to another available hosts. Currently, the vm migrations are executed sequentially, it can take a lot of time when there are quite number of vms. So I changed 'MigrateCommand' to get the value of 'executeInSequence' property from the global setting value of 'execute.in.sequence.hypervisor.commands' so that users can execute the migrations in parallel to save time.


Diffs (updated)
-----

  engine/api/src/com/cloud/vm/VirtualMachineManager.java c78942f 
  setup/db/db/schema-410to420.sql 522ccc4 

Diff: https://reviews.apache.org/r/15763/diff/


Testing
-------

Tested in the simulator mode and Xen servers.


Thanks,

Alex Ough


Re: Review Request 15763: Changed 'MigrateCommand' to use the global setting value of 'execute.in.sequence.hypervisor.commands'

Posted by Alex Ough <al...@sungard.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15763/
-----------------------------------------------------------

(Updated Dec. 3, 2013, 5:07 p.m.)


Review request for cloudstack.


Changes
-------

To fix what Koushik Das pointed out.


Repository: cloudstack-git


Description
-------

When a host is switched to the 'maintenance mode', the vms in that host are migrated to another available hosts. Currently, the vm migrations are executed sequentially, it can take a lot of time when there are quite number of vms. So I changed 'MigrateCommand' to get the value of 'executeInSequence' property from the global setting value of 'execute.in.sequence.hypervisor.commands' so that users can execute the migrations in parallel to save time.


Diffs (updated)
-----

  core/src/com/cloud/agent/api/MigrateCommand.java 0d8f70c 
  engine/api/src/com/cloud/vm/VirtualMachineManager.java c78942f 
  engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java 3a3de70 
  setup/db/db/schema-410to420.sql 522ccc4 
  setup/db/db/schema-410to420.sql 522ccc4 
  setup/db/db/schema-430to440.sql 9bb9602 

Diff: https://reviews.apache.org/r/15763/diff/


Testing
-------

Tested in the simulator mode and Xen servers.


Thanks,

Alex Ough


Re: Review Request 15763: Changed 'MigrateCommand' to use the global setting value of 'execute.in.sequence.hypervisor.commands'

Posted by Koushik Das <ko...@citrix.com>.

> On Dec. 3, 2013, 8:44 a.m., Koushik Das wrote:
> > core/src/com/cloud/agent/api/MigrateCommand.java, line 32
> > <https://reviews.apache.org/r/15763/diff/1/?file=389559#file389559line32>
> >
> >     I see that you have tested for XS. In the mail thread people have mentioned that it should work on Vmware and KVM. Will it be possible to do a quick verification?
> >     
> >     Otherwise (except for a few minor comments) the change looks good to me.

Now that HyperV is also there can there be any issues with that?


- Koushik


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15763/#review29649
-----------------------------------------------------------


On Nov. 21, 2013, 6:39 p.m., Alex Ough wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15763/
> -----------------------------------------------------------
> 
> (Updated Nov. 21, 2013, 6:39 p.m.)
> 
> 
> Review request for cloudstack.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> When a host is switched to the 'maintenance mode', the vms in that host are migrated to another available hosts. Currently, the vm migrations are executed sequentially, it can take a lot of time when there are quite number of vms. So I changed 'MigrateCommand' to get the value of 'executeInSequence' property from the global setting value of 'execute.in.sequence.hypervisor.commands' so that users can execute the migrations in parallel to save time.
> 
> 
> Diffs
> -----
> 
>   core/src/com/cloud/agent/api/MigrateCommand.java 0d8f70c 
>   engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java 3a3de70 
>   setup/db/db/schema-410to420.sql 522ccc4 
>   setup/db/db/schema-430to440.sql 9bb9602 
> 
> Diff: https://reviews.apache.org/r/15763/diff/
> 
> 
> Testing
> -------
> 
> Tested in the simulator mode and Xen servers.
> 
> 
> Thanks,
> 
> Alex Ough
> 
>


Re: Review Request 15763: Changed 'MigrateCommand' to use the global setting value of 'execute.in.sequence.hypervisor.commands'

Posted by Koushik Das <ko...@citrix.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15763/#review29649
-----------------------------------------------------------



core/src/com/cloud/agent/api/MigrateCommand.java
<https://reviews.apache.org/r/15763/#comment57065>

    I see that you have tested for XS. In the mail thread people have mentioned that it should work on Vmware and KVM. Will it be possible to do a quick verification?
    
    Otherwise (except for a few minor comments) the change looks good to me.



setup/db/db/schema-410to420.sql
<https://reviews.apache.org/r/15763/#comment57063>

    Since the change is for master, this is not required. 430-440 upgrade should suffice.



setup/db/db/schema-430to440.sql
<https://reviews.apache.org/r/15763/#comment57064>

    Also the description needs to be updated in VirtualMachineManager.java where ExecuteInSequence is defined.


- Koushik Das


On Nov. 21, 2013, 6:39 p.m., Alex Ough wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15763/
> -----------------------------------------------------------
> 
> (Updated Nov. 21, 2013, 6:39 p.m.)
> 
> 
> Review request for cloudstack.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> When a host is switched to the 'maintenance mode', the vms in that host are migrated to another available hosts. Currently, the vm migrations are executed sequentially, it can take a lot of time when there are quite number of vms. So I changed 'MigrateCommand' to get the value of 'executeInSequence' property from the global setting value of 'execute.in.sequence.hypervisor.commands' so that users can execute the migrations in parallel to save time.
> 
> 
> Diffs
> -----
> 
>   core/src/com/cloud/agent/api/MigrateCommand.java 0d8f70c 
>   engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java 3a3de70 
>   setup/db/db/schema-410to420.sql 522ccc4 
>   setup/db/db/schema-430to440.sql 9bb9602 
> 
> Diff: https://reviews.apache.org/r/15763/diff/
> 
> 
> Testing
> -------
> 
> Tested in the simulator mode and Xen servers.
> 
> 
> Thanks,
> 
> Alex Ough
> 
>