Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 08C7A10639 for ; Thu, 21 Nov 2013 18:40:06 +0000 (UTC) Received: (qmail 95230 invoked by uid 500); 21 Nov 2013 18:40:05 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 95149 invoked by uid 500); 21 Nov 2013 18:40:05 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 95140 invoked by uid 99); 21 Nov 2013 18:40:05 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Nov 2013 18:40:05 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 5CC101D377C; Thu, 21 Nov 2013 18:40:00 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============8288704391230534269==" MIME-Version: 1.0 Subject: Review Request 15763: Changed 'MigrateCommand' to use the global setting value of 'execute.in.sequence.hypervisor.commands' From: "Alex Ough" To: "Alex Ough" , "cloudstack" Date: Thu, 21 Nov 2013 18:40:00 -0000 Message-ID: <20131121184000.1417.14640@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Alex Ough" X-ReviewGroup: cloudstack X-ReviewRequest-URL: https://reviews.apache.org/r/15763/ X-Sender: "Alex Ough" Reply-To: "Alex Ough" X-ReviewRequest-Repository: cloudstack-git --===============8288704391230534269== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit ----------------------------------------------------------- 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 --===============8288704391230534269==--