From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87D5CC3A589 for ; Thu, 15 Aug 2019 19:52:11 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4FC932083B for ; Thu, 15 Aug 2019 19:52:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=web.de header.i=@web.de header.b="hgTcc8Q2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4FC932083B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=web.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:46668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyLn8-0001Bt-Ab for qemu-devel@archiver.kernel.org; Thu, 15 Aug 2019 15:52:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47366) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyLjh-0000N2-Ae for qemu-devel@nongnu.org; Thu, 15 Aug 2019 15:48:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyLje-0001pM-P3 for qemu-devel@nongnu.org; Thu, 15 Aug 2019 15:48:37 -0400 Received: from mout.web.de ([212.227.15.4]:36283) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hyLjc-0001mY-05 for qemu-devel@nongnu.org; Thu, 15 Aug 2019 15:48:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1565898487; bh=+3d+zfv8SHsPOVospNIl1e3p/4YlGVQYJuMy5jWEPK4=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References; b=hgTcc8Q2FPakr4eUM24gjQfmX873MIIczF8TZsH5fzyGphIUyGCV4P5W+saCI3AWV rVyz0n1zS/T46s3Uw8JM87KU6+XtbhU8yuvzIgTYCVz0USahLHDhhB5fG6K1x4CVgS vrN0oRybsvA7QIQW7nKETvZC7rlCa7eriZs39Wus= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from luklap ([89.247.255.245]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0Lm4jx-1iX8Rq1mNt-00Zfxo; Thu, 15 Aug 2019 21:48:07 +0200 Date: Thu, 15 Aug 2019 21:48:04 +0200 From: Lukas Straub To: "Dr. David Alan Gilbert" Message-ID: <20190815214804.69e4334f@luklap> In-Reply-To: <20190815185737.GC2883@work-vm> References: <20190815200815.2cffc21b@luklap> <20190815185737.GC2883@work-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:DWUfYD30txV6KVEPm3wLICZ6T2VDAsXqq7ixTciikkp6+Yeqvou NhJEAfPtI81vfhgPsxhgGUP24rzKsNmbe0QpDlZB7oc13Fv9smMI3JjIWN1tQrViK7RwEDD iiVsYD+O5RSM/76og8xiPc0swDE9s2EnDXQOHEj/Bgmi9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20J +V2Bx1O4VP6uXYgVZsGNxcPL3uUUpuB/sfa0YtdS4+NPeTkpHbPJY+gwSxsf+GbZRfUg4htFn uHuTVn91rRpHiuI03Kbmof5c0VXrMUZdX0lZGFsrlQLUbcUTJ4KZ+B79Laux42aKBs5IZTAoM wvfSVKPk77YEHEOUNEkJnSeUGyOHiqzUj45OhjbiZaAek4hcrNWygFCCaSl3uoP7pN3DRlDIN iSPeY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.4 Subject: Re: [Qemu-devel] [PATCH v2 0/3] colo: Add support for continious replication X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Zhang Chen , Jason Wang , Xie Changlong , qemu-devel , Wen Congyang Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Thu, 15 Aug 2019 19:57:37 +0100 "Dr. David Alan Gilbert" wrote: > * Lukas Straub (lukasstraub2@web.de) wrote: > > Hello Everyone, > > These Patches add support for continious replication to colo. > > Please review. > > > OK, for those who haven't followed COLO for so long; 'continuous > replication' is when after the first primary fails, you can promote the > original secondary to a new primary and start replicating again; > > i.e. current COLO gives you > > p<->s > > s > > with your patches you can do > > s becomes p2 > p2<->s2 > > and you're back to being resilient again. > > Which is great; because that was always an important missing piece. > > Do you have some test scripts/setup for this - it would be great > to automate some testing. My Plan is to write a Pacemaker Resource Agent[1] for qemu-colo and then do some long-term testing in my small cluster here. Writing standalone tests using that Resource Agent should be easy, it just needs to be provided with the right arguments and environment Variables. Regards, Lukas Straub [1] https://github.com/ClusterLabs/resource-agents/blob/master/doc/dev-gui= des/ra-dev-guide.asc#what-is-a-resource-agent