Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D672B1897C for ; Fri, 19 Feb 2016 12:16:17 +0000 (UTC) Received: (qmail 37943 invoked by uid 500); 19 Feb 2016 12:16:14 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 37897 invoked by uid 500); 19 Feb 2016 12:16:14 -0000 Mailing-List: contact dev-help@falcon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.apache.org Delivered-To: mailing list dev@falcon.apache.org Received: (qmail 37884 invoked by uid 99); 19 Feb 2016 12:16:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2016 12:16:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id E6C8F18051D for ; Fri, 19 Feb 2016 12:16:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.429 X-Spam-Level: ** X-Spam-Status: No, score=2.429 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_REPLY=1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id QZmd2ELmATN8 for ; Fri, 19 Feb 2016 12:16:12 +0000 (UTC) Received: from mail-yk0-f178.google.com (mail-yk0-f178.google.com [209.85.160.178]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 5393E5FB1B for ; Fri, 19 Feb 2016 12:16:12 +0000 (UTC) Received: by mail-yk0-f178.google.com with SMTP id u9so33885159ykd.1 for ; Fri, 19 Feb 2016 04:16:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=68MAd3evwFAYZDJA/8MJQIe2l/gGkiPBFT/KNiiUwkM=; b=WqhCh0rVrF7CZbxMpaBVFjm7FYyk4bMs/gJX3AIVkARiK5wR2nTrY6GOcXD/dqryGL PQpt5JPzNGKERAhF64cDTetA/kQqjeDv5avOvB6Y+FdFRDNwnGWW7WmWyOITwnlCQhdy zpCEkOZNXf+bUeJN2czWMv21Odo3ba/w03EQPE2tzlKOZmlOpUPvggpLDZbC8zpnYE3d +oe2BNkv3OrXUv+pq5qqa9y71/mVXZt8vpIe9K5MiMPsPB9qRlG6/07esxzOb3QxUsiV yLzO+nyMvaeBQUpYy6axj8dtGVZgfcpOXNGy1wif8d6Yt8qFLpknIQfD0hl0e4psAEA8 SJPw== 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:content-type; bh=68MAd3evwFAYZDJA/8MJQIe2l/gGkiPBFT/KNiiUwkM=; b=k02LW3mMOqLwzh7re1p0P3qX64BloO6xlLWY3GwxiF53JzvIvp5wZs3BynDLoW894r SmusX1eCgjS0j7VDTUTWzKkQVvQeHy8Dehy6M2CuvgPzRNi47p5tTX12EJhCsOlGylQh xuwu73+9pp58AZdeDA7eU2mZxjqxc11M/jdAF0+AsC1Eczv9Jr4cg5T3RlNw0ozWI4cJ QRnv4jdByCLwv3/YyaoT5RkHcjWMVOIruNpW04tjBrNu4J3e7w7KUIxktIyyqLfzMxIL fFJ2Wq+cNwTQHD/3/fWP2QZEAxZCgj8ZUTp8rO7dfZF8VTgcTQ2vDWCmCGtp89zOU1me ciZA== X-Gm-Message-State: AG10YOSj6sulRw41i6HCz7Li9Sc6q+lQJe2+0CIfnYpfV7pqI0xoTGIglQZmi+YFKTpmChHCmbXkGtKPSdJvZg== MIME-Version: 1.0 X-Received: by 10.37.94.215 with SMTP id s206mr795917ybb.119.1455884171763; Fri, 19 Feb 2016 04:16:11 -0800 (PST) Received: by 10.13.215.193 with HTTP; Fri, 19 Feb 2016 04:16:11 -0800 (PST) In-Reply-To: References: Date: Fri, 19 Feb 2016 12:16:11 +0000 Message-ID: Subject: Re: Running 2 versions of Falcon on the same cluster/upgrade procedure From: pragya mittal To: dev@falcon.apache.org Content-Type: multipart/alternative; boundary=001a11423a72e46847052c1e726a --001a11423a72e46847052c1e726a Content-Type: text/plain; charset=UTF-8 Hi Mark, To maintain entities there you can configure the config-store property in startup.properties: # Location to store user entity configurations *.config.store.uri=file://${falcon.home}/data/${falcon.app.type}-store (I usually maintain a standard location to store entity configs and point all my falcon to the same store) After this it is pretty straight-forward. This is how you can migrate from one falcon version to another : 1. Stop the old falcon instance. Install Falcon 0.9 on the same cluster as the old one. Maintain the config-store property as defined above (in prism as well as server) 2. Start falcon-0.9 and you should be able to list your entities. Consider re-runing any failed/killed instances if required. Note : Two servers of falcon cannot co-exist in the same cluster as of now. There is no documentation as of now. We will consider adding the same. Thanks, Pragya Mittal On Fri, Feb 19, 2016 at 10:14 AM, Marek Wiewiorka wrote: > Hi All - I've basically a question related to migration of entities between > Falcon versions. > I would like to upgrade Falcon from an old version to 0.9 by following such > an procedure: > > 1)Install Falcon 0.9 on the same cluster as the old one (and have them both > running at the same time)- 2 questions arise: > a)is it possible at all and if so what should be configured: ports, > anything else? > b)how to backup the existing entities definition? > > 2) test a few of the processes using the new Falcon > 3)migrate all of the processes to the new Falcon > 4)Decommission the old Falcon installation > > Is there any document describing a migration procedure? > The most import question for me now is the first one - how to run temporary > 2 falcon instances > on the same cluster for testing purposes? Is it safe? > > Many thanks in advance for any hints. > > Marek > --001a11423a72e46847052c1e726a--