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 40CB5107E7 for ; Tue, 3 Dec 2013 09:05:53 +0000 (UTC) Received: (qmail 96920 invoked by uid 500); 3 Dec 2013 09:01:25 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 96883 invoked by uid 500); 3 Dec 2013 09:01:18 -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 96822 invoked by uid 99); 3 Dec 2013 09:01:08 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Dec 2013 09:01:08 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id A35D81D3982; Tue, 3 Dec 2013 09:01:03 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============6718590892337917344==" MIME-Version: 1.0 Subject: Re: Review Request 15763: Changed 'MigrateCommand' to use the global setting value of 'execute.in.sequence.hypervisor.commands' From: "Koushik Das" To: "Koushik Das" , "Alex Ough" , "cloudstack" Date: Tue, 03 Dec 2013 09:01:03 -0000 Message-ID: <20131203090103.12251.8427@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Koushik Das" X-ReviewGroup: cloudstack X-ReviewRequest-URL: https://reviews.apache.org/r/15763/ X-Sender: "Koushik Das" References: <20131203084422.12482.98024@reviews.apache.org> In-Reply-To: <20131203084422.12482.98024@reviews.apache.org> Reply-To: "Koushik Das" X-ReviewRequest-Repository: cloudstack-git --===============6718590892337917344== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit > On Dec. 3, 2013, 8:44 a.m., Koushik Das wrote: > > core/src/com/cloud/agent/api/MigrateCommand.java, line 32 > > > > > > 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 > > --===============6718590892337917344==--