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 DAC15100A5 for ; Mon, 18 Nov 2013 14:17:29 +0000 (UTC) Received: (qmail 62393 invoked by uid 500); 18 Nov 2013 14:17:28 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 62267 invoked by uid 500); 18 Nov 2013 14:17:26 -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 62177 invoked by uid 99); 18 Nov 2013 14:17:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Nov 2013 14:17:25 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [74.125.149.140] (HELO na3sys009aog120.obsmtp.com) (74.125.149.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Nov 2013 14:17:20 +0000 Received: from mail-lb0-f171.google.com ([209.85.217.171]) (using TLSv1) by na3sys009aob120.postini.com ([74.125.148.12]) with SMTP ID DSNKUoohWsj+B39oGugMBjrSyGRa6/qASEFn@postini.com; Mon, 18 Nov 2013 06:17:00 PST Received: by mail-lb0-f171.google.com with SMTP id q8so3695369lbi.16 for ; Mon, 18 Nov 2013 06:16:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=3L+DhFXti9kMgRwyUEpH/VJrb5rR5uHlV+IlGj2d+PM=; b=WXlFlnbk79sRMWSpZroFfb10wnfwXGLGm8CwxIBY3wRLrXNMp6n5CcpqzZ7sTeCmtg jHWAJ2spuqzMcxQnCGDb3HyKG941QGwTEaCk+Ve/ez1CRQjbKTNuUv2Xc9yfCKeklnaJ IBVoEyhvevWDf5/VPOEXFaI1VkFPapn3++qTDXhn8T0FHDk3vsi3Avn32DS5lozl6WJf BTElzlAydgD21q/78XL08xI9eDmZiqAiG64zfbTgQNRrQP0hSsO5eRtvO/nKeIOpe1DW h3jxNFk3YHMxlsJ5+f7pE67/2fJAP2U5YT5ihoqs5YbUaHfeUYRs9swRrrfFAn8Ynt5n kNeg== X-Gm-Message-State: ALoCoQmAb40frZMFZEZCmbb9AUjh73trdLo2XToWLnonwqM0SaUFn1J2qQiZJbBSHs53Upem7IXSOda+Z9jQ7Cy4eHlA7mrEe1E4p9OlbXEMUzAlrRetgbbyAw5DbHsvkWWiZyOC23HyCJ8i33qwbGtZrvIeW0NLoe7wlKGsRCaAq01i/hYE9rk= X-Received: by 10.152.120.231 with SMTP id lf7mr1628879lab.36.1384784217347; Mon, 18 Nov 2013 06:16:57 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.152.120.231 with SMTP id lf7mr1628865lab.36.1384784217185; Mon, 18 Nov 2013 06:16:57 -0800 (PST) Received: by 10.112.29.170 with HTTP; Mon, 18 Nov 2013 06:16:57 -0800 (PST) In-Reply-To: References: <20131003174123.GZ73023@USLT-205755.sungardas.corp> <20131116031727.GA1163@cloud-2.local> Date: Mon, 18 Nov 2013 08:16:57 -0600 Message-ID: Subject: Re: A question on vm migrations when hosts are set into a maintenance mode. From: Alex Ough To: "dev@cloudstack.apache.org" Cc: Alex Huang Content-Type: multipart/alternative; boundary=089e0122aefe5b2ecf04eb743334 X-Virus-Checked: Checked by ClamAV on apache.org --089e0122aefe5b2ecf04eb743334 Content-Type: text/plain; charset=ISO-8859-1 Thank Parasanna & Sebastien, I also got his email and sent an email. Waiting for his reply... Thanks Alex Ough On Sat, Nov 16, 2013 at 3:05 PM, Sebastien Goasguen wrote: > cc Alex Huang to get his attention: > > > On Nov 15, 2013, at 10:17 PM, Prasanna Santhanam wrote: > > > Alex, Could you just do a git blame on the file and copy the emails of > > people who changed that bit of code? They may be able to help if Cc-ed > > directly. > > > > Thanks, > > > > On Fri, Nov 15, 2013 at 01:49:07PM -0600, Alex Ough wrote: > >> I hate to sending the same emails over and over again, but I really > need to > >> finalize this feature to be included in the next code freeze because > this > >> feature is very critical in our inside project. > >> > >> Anyone who can help, please? > >> Thanks > >> Alex Ough > >> > >> > >> On Thu, Nov 14, 2013 at 1:27 PM, Alex Ough > wrote: > >> > >>> Not sure if Alex Huang checked this, but can anyone help to resolve > this? > >>> > >>> Thanks > >>> Alex Ough > >>> > >>> > >>> On Wed, Nov 13, 2013 at 11:39 AM, Alex Ough > wrote: > >>> > >>>> It sounds a little scary... > >>>> > >>>> I looked at the history and found these. > >>>> > >>>> 8/9/ : file moved to engine by Alex Huang > >>>> 9/16 : '_mgmtServer.getExecuteInSequence()' changed to > >>>> 'getExecuteInSequence()' by Alex Huang > >>>> > >>>> > >>>> Hi Alex Huang, > >>>> I'm not sure if you're aware of this, but can you check this for me? > >>>> > >>>> Thanks > >>>> Alex Ough > >>>> > >>>> > >>>> > >>>> On Wed, Nov 13, 2013 at 11:18 AM, Marcus Sorensen < > shadowsor@gmail.com>wrote: > >>>> > >>>>> I'm not sure. I know in the past when I've seen files change > locations > >>>>> it has also clobbered updates to that file. Someone branched, did the > >>>>> reorganization work, and merged, while in-between the original file > >>>>> changed. > >>>>> > >>>>> On Wed, Nov 13, 2013 at 9:21 AM, Alex Ough > >>>>> wrote: > >>>>>> All, > >>>>>> > >>>>>> While merging my changes to 4.3 branch, I found that the option, > >>>>>> 'execute.in.sequence.hypervisor.commands' is NOT used in > >>>>> Start/Stop/Copy > >>>>>> commands in 'VirtualMachineManagerImpl.java' any more as below. > >>>>>> > >>>>>> > >>>>>> *StopCommand stop = new StopCommand(vm, getExecuteInSequence());* > >>>>>> > >>>>>> *protected boolean getExecuteInSequence() {* > >>>>>> * return false;* > >>>>>> *}* > >>>>>> > >>>>>> As you see in the above, the function, 'getExecuteInSequence', just > >>>>> returns > >>>>>> false instead of getting the value from the global variable. > >>>>>> > >>>>>> And one more change is that the file has been moved to > >>>>>> 'engine/orchestration/src/com/cloud/vm' from > 'server/src/com/cloud/vm'. > >>>>>> > >>>>>> Am I missing something related with this or do we stop supporting > this > >>>>>> option in 4.3? > >>>>>> I'm a little confused, so please help me resolve this. > >>>>>> > >>>>>> Thanks > >>>>>> Alex Ough > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> On Tue, Nov 12, 2013 at 4:20 PM, Alex Ough > >>>>> wrote: > >>>>>> > >>>>>>> Thanks a lot for your confirmation, Marcus. > >>>>>>> I'll create a review request unless anyone has an objection. > >>>>>>> > >>>>>>> Thanks > >>>>>>> Alex Ough > >>>>>>> > >>>>>>> > >>>>>>> On Tue, Nov 12, 2013 at 3:37 PM, Marcus Sorensen < > shadowsor@gmail.com > >>>>>> wrote: > >>>>>>> > >>>>>>>> I have done parallel KVM migrations without issue, it's "supposed > to > >>>>>>>> work". Really I think it's in the same boat as parallel > start/stop. > >>>>> It > >>>>>>>> should work, but the config option is there just in case. I think > we > >>>>>>>> should add it. > >>>>>>>> > >>>>>>>> On Thu, Oct 3, 2013 at 11:41 AM, Chip Childers > >>>>>>>> wrote: > >>>>>>>>> On Thu, Oct 03, 2013 at 11:44:46AM -0500, Alex Ough wrote: > >>>>>>>>>> I'm not sure what else commands 'MigrateCommand' actually > execute > >>>>> in > >>>>>>>>>> addition to 'Start/Stop/CopyCommand', but can we include > >>>>>>>> 'MigrateCommand' > >>>>>>>>>> if it consists of only those 3 commands? > >>>>>>>>>> > >>>>>>>>>> Thanks > >>>>>>>>>> Alex Ough > >>>>>>>>> > >>>>>>>>> In the case of VMware, the migrate command is executed via the > >>>>>>>>> MigrateVMTask that's part of the VMware SDK (see > >>>>>>>>> > >>>>> > vmware-base/src/com/cloud/hypervisor/vmware/mo/VirtualMachineMO.java). > >>>>>>>>> > >>>>>>>>> For VMware, I know that vCenter will queue and process concurrent > >>>>>>>>> requests for migrations. Specifically, it will throttle the > >>>>> migrations > >>>>>>>>> happening, based on it's internal concurrency constraints, but > the > >>>>> task > >>>>>>>>> queue will still accept more connections. Obviously the risk are > >>>>> the > >>>>>>>>> VMware layer tasks timing out if it takes too long for the task > >>>>> queue to > >>>>>>>>> complete. > >>>>>>>>> > >>>>>>>>> As for XenServer, it's happening in what appears to be a similar > >>>>> way > >>>>>>>>> (although the source host is the target for the migration API > >>>>> call). > >>>>>>>>> > >>>>>>>>> Check > >>>>>>>>> > >>>>>>>> > >>>>> > plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java. > >>>>>>>>> > >>>>>>>>> I'm not familiar enough with XenServer's concurrency model for > >>>>>>>>> migrations. Any experts know the answer to if it can handle > >>>>> concurrency > >>>>>>>>> in a stable way? > >>>>>>>>> > >>>>>>>>> With KVM, it's obviously executing via the agent. Similarly to > >>>>>>>>> XenServer, I'm not familiar enough to know about concurrent > >>>>> operations. > >>>>>>>>> > >>>>>>>>> So do the HV experts on the list have any opinions about > XenServer > >>>>> and > >>>>>>>>> KVM migration concurrency? > >>>>>>>>> > >>>>>>>>> -chip > >>>>>>>>> > >>>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>> > >>>>> > >>>>> > >>>> > >>> > > > > -- > > Prasanna., > > > > ------------------------ > > Powered by BigRock.com > > > > > --089e0122aefe5b2ecf04eb743334--