Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9D128200D11 for ; Mon, 2 Oct 2017 14:55:57 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9B9101609EF; Mon, 2 Oct 2017 12:55:57 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B622C1609DE for ; Mon, 2 Oct 2017 14:55:56 +0200 (CEST) Received: (qmail 82058 invoked by uid 500); 2 Oct 2017 12:55:55 -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 82046 invoked by uid 99); 2 Oct 2017 12:55:55 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Oct 2017 12:55:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 995AFD96D4 for ; Mon, 2 Oct 2017 12:55:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id TeLyjtXjM7xq for ; Mon, 2 Oct 2017 12:55:51 +0000 (UTC) Received: from mail-lf0-f50.google.com (mail-lf0-f50.google.com [209.85.215.50]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 83DE15F522 for ; Mon, 2 Oct 2017 12:55:50 +0000 (UTC) Received: by mail-lf0-f50.google.com with SMTP id d17so5926276lfe.2 for ; Mon, 02 Oct 2017 05:55:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=j2dq2I+ubCZlOCwCGjkOo8GaxSp0z/nTr4g8P28c454=; b=JGLP10KcaUCz34V9RwMVo1wCG0zmWtDYzDbq35L2it9d1aKqmPp5QWe37ESnlztJz2 z0nzmNInxg1J7aMw55F3tHQJB9V1e4g/yqumZPJQfoMGISM1iRbk687dz0jjeoKsvR21 VqD/IutS0ZuirhXRTK7bT54BazO1MrNEW1zbNhS/vlkDCvDILpFzAUtS0vA9dAokgHc+ pSPrYhjoiF7X7wFYYoFYlXbUXUns0smpAnV0YWrqiSzzYu+qDDmFr89nj2Bl8I8Aq2bt JuqJGbOxyndhQbhmp8U3fiJoI3C2ybfTgHLWAxGHH16TFZ1jwOU5gl1U7H1QjwznUsqa APRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=j2dq2I+ubCZlOCwCGjkOo8GaxSp0z/nTr4g8P28c454=; b=tMMW/oacbTa+R9W690hby94aZn9tkaYmfdBvF30pTGwRZEL4aSaqGYusC2M88rfdCO GD72B4HQXTr3U1OU1onByhbD75FgL/NcJ9CY9vFHjS1x1E0C/I/6e3zNkX6xLPXDx09o esU7DPF6TEVAk6cyMxeO/JiSxIoXt8+mW6eI1C21KGoCddMn+NzM5JmczWvf3OlqSZ8D 70aBHslvxcgyil2CC/FW4VKvUL30Oy3fUdri3a8gvc74ATlBCrvx49UufwVWBZcnS5KH 8fgI4e4hMg6FcpgXhQsv62VPGvdwJk+0k3VlbPPM1nIVxc8xur9+Kds+Zomjeo1XXb/1 oWqQ== X-Gm-Message-State: AHPjjUjPm3IVEm2LqoUtKNUh0fzdC2nBM9c9HQTGarwwj4TvMw5jLq9P aKKfRz7K0s3Mpx6FiFLedvPWfvxMjRw4IdrIXvw= X-Google-Smtp-Source: AOwi7QD8KQta7DHU+PGcCwZCY8pJHkqQwZwINejseANlMLwTKK1wvogmbXgJFnfLl/TV0lnBNvx/RJOTgbnliaHAS/s= X-Received: by 10.46.31.18 with SMTP id f18mr6689052ljf.181.1506948948968; Mon, 02 Oct 2017 05:55:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.83.195 with HTTP; Mon, 2 Oct 2017 05:55:08 -0700 (PDT) In-Reply-To: References: <7dd74055-b320-c0b0-c5e3-dd69adfa7101@gmail.com> From: Dmitriy Kaluzhniy Date: Mon, 2 Oct 2017 15:55:08 +0300 Message-ID: Subject: Re: Need to ask for help again (Migration in cloudstack) To: dev@cloudstack.apache.org Content-Type: multipart/alternative; boundary="f40304396880cc4b1e055a8fe425" archived-at: Mon, 02 Oct 2017 12:55:57 -0000 --f40304396880cc4b1e055a8fe425 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello! I want to say thanks to all! Nowadays I had no time to work on this, but I hope I will setup some test environment to try live migration + migration on non-shared. 2017-10-02 13:50 GMT+03:00 Ivan Kudryavtsev : > AFAIK ACS has VM suspend parameter in KVM agent which acts when ACS is > unable to migrate successfully. Also, I almost have no problem with > 8core/16GB migration over 10G, but you are right. Sometimes it doesn't wo= rk > as expected without autoconvergence and new Qemu/KVM does the work. > > 2017-10-02 17:44 GMT+07:00 Andrija Panic : > > > A bit late, and not directly related with original question - if you ar= e > > doing any kind of KVM live migration (ACS or not), make sure you are > using > > qemu 2.5 and libvirt 1.3+, to support > > dynamic auto-convergence (regular auto-convergence, almost useless, > > available from qemu 1.6+) - becase live migration works well, until you > hit > > busy production VM, where there is hi RAM change rate, then nothing hel= ps > > except mentioned qemu 2.5+ dynamic autoconvergence (and even this takes > > ages to completely allow some very busy VMs to finish migration...). > > > > On 5 September 2017 at 22:52, ilya wrote= : > > > > > Personal experience with KVM (not cloudstack related) and non-shared > > > storage migration - works most of the time - but can be very slow - > even > > > with 10G backplane. > > > > > > On 9/5/17 6:27 AM, Marc-Aur=C3=A8le Brothier wrote: > > > > Hi Dimitriy, > > > > > > > > I wrote the PR for the live migration in cloudstack (PR 1709). We'r= e > > > using > > > > an older version than upstream so it's hard for me to fix the > > integration > > > > tests errors. All I can tell you, is that you should first configur= e > > > > libvirt correctly for migration. You can play with it by manually > > running > > > > virsh commands to initiate the migration. The networking part will > not > > > work > > > > after the VM being on the other machine if down manually. > > > > > > > > Marc-Aur=C3=A8le > > > > > > > > On Tue, Sep 5, 2017 at 2:07 PM, Dmitriy Kaluzhniy < > > > > dmitriy.kaluzhniy@gmail.com> wrote: > > > > > > > >> Hello, > > > >> That's what I want, thank you! > > > >> I want to have Live migration on KVM with non-shared storages. > > > >> As I understood, migration is performed by LibVirt. > > > >> > > > >> 2017-09-01 17:04 GMT+03:00 Simon Weller : > > > >> > > > >>> Dmitriy, > > > >>> > > > >>> Can you give us a bit more information about what you're trying t= o > > do? > > > >>> If you're looking for live migration on non shared storage with > KVM, > > > >> there > > > >>> is an outstanding PR in the works to support that: > > > >>> > > > >>> https://github.com/apache/cloudstack/pull/1709 > > > >>> > > > >>> - Si > > > >>> > > > >>> > > > >>> ________________________________ > > > >>> From: Rajani Karuturi > > > >>> Sent: Friday, September 1, 2017 4:07 AM > > > >>> To: dev@cloudstack.apache.org > > > >>> Subject: Re: Need to ask for help again (Migration in cloudstack) > > > >>> > > > >>> You might start with this commit > > > >>> https://github.com/apache/cloudstack/commit/ > > > >> 21ce3befc8ea9e1a6de449a21499a5 > > > >>> 0ff141a183 > > > >>> > > > >>> > > > >>> and storage_motion_supported column in hypervisor_capabilities > > > >>> table. > > > >>> > > > >>> Thanks, > > > >>> > > > >>> ~ Rajani > > > >>> > > > >>> http://cloudplatform.accelerite.com/ > > > >>> > > > >>> On August 31, 2017 at 6:29 PM, Dmitriy Kaluzhniy > > > >>> (dmitriy.kaluzhniy@gmail.com) wrote: > > > >>> > > > >>> Hello! > > > >>> I contacted this mail before, but I wasn't subscribed to mailing > > > >>> list. > > > >>> The reason I'm contacting you - I need advise. > > > >>> During last week I was learning cloudstack code to find where is > > > >>> implemented logic of this statements I found in cloudstack > > > >>> documentation: > > > >>> "(KVM) The VM must not be using local disk storage. (On > > > >>> XenServer and > > > >>> VMware, VM live migration with local disk is enabled by > > > >>> CloudStack support > > > >>> for XenMotion and vMotion.) > > > >>> > > > >>> (KVM) The destination host must be in the same cluster as the > > > >>> original > > > >>> host. (On XenServer and VMware, VM live migration from one > > > >>> cluster to > > > >>> another is enabled by CloudStack support for XenMotion and > > > >>> vMotion.)" > > > >>> > > > >>> I made up a long road through source code but still can't see > > > >>> it. If you > > > >>> can give me any advise - it will be amazing. > > > >>> Anyway, thank you. > > > >>> > > > >>> -- > > > >>> > > > >>> *Best regards,Dmitriy Kaluzhniy+38 (073) 101 14 73* > > > >>> > > > >> > > > >> > > > >> > > > >> -- > > > >> > > > >> > > > >> > > > >> *--=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC,= =D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9 =D0=9A=D0=B0=D0=BB=D1=8E=D0=B6= =D0=BD=D1=8B=D0=B9+38 (073) 101 14 73* > > > >> > > > > > > > > > > > > > > > -- > > > > Andrija Pani=C4=87 > > > > > > -- > With best regards, Ivan Kudryavtsev > Bitworks Software, Ltd. > Cell: +7-923-414-1515 > WWW: http://bitworks.software/ > --=20 *--=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC,=D0=94=D0= =BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9 =D0=9A=D0=B0=D0=BB=D1=8E=D0=B6=D0=BD=D1= =8B=D0=B9+38 (073) 101 14 73* --f40304396880cc4b1e055a8fe425--