cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Ough <alex.o...@sungard.com>
Subject Re: A question on vm migrations when hosts are set into a maintenance mode.
Date Mon, 23 Sep 2013 17:57:35 GMT
All,

After a little more investigation, I found that the 'MigrateCommand'
defined its 'executeInSequence' method to return 'FALSE', which seems to
make the vm migrations as serial even if the migration requests are
dispatched to ha_worker in parallel.
You can confirm this in line 56 of
'/cloudstack/core/src/com/cloud/agent/api/MigrateCommand.java'

So my question is if there is any reason why the method have been
defined to return 'FALSE' always?
And do we expect any side effects and/or malfunctioning if we change it to
returning 'TRUE'?

Any answers/comments will be very appreciated.
Thanks
Alex Ough


On Wed, Sep 18, 2013 at 10:22 AM, Alex Ough <alex.ough@sungard.com> wrote:

> I checked the vm migration when their host is set to a maintenance mode
> and found that even if the orchestration layer fires the each vm migration
> at the same time using a ha_worker thread, the actual migration seems to be
> executed serially.
>
> Is this what we expect? And if so, any chance to make the actual
> migrations in parallel?
>
> Thanks
> Alex Ough
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message