Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CB9A019EAA for ; Tue, 15 Mar 2016 18:24:19 +0000 (UTC) Received: (qmail 80232 invoked by uid 500); 15 Mar 2016 18:24:19 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 80171 invoked by uid 500); 15 Mar 2016 18:24:18 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 80158 invoked by uid 99); 15 Mar 2016 18:24:18 -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; Tue, 15 Mar 2016 18:24:18 +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 8F9D0180285 for ; Tue, 15 Mar 2016 18:24:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.431 X-Spam-Level: X-Spam-Status: No, score=-0.431 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.329, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=elyograg.org Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id uzSuC4NX_-_p for ; Tue, 15 Mar 2016 18:24:16 +0000 (UTC) Received: from frodo.elyograg.org (frodo.elyograg.org [166.70.79.219]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTP id 16B0B5F574 for ; Tue, 15 Mar 2016 18:24:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by frodo.elyograg.org (Postfix) with ESMTP id 080BD5350 for ; Tue, 15 Mar 2016 12:24:07 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=elyograg.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject:received:received; s=mail; t= 1458066246; bh=58OKSlgapYkVrTuKMmI2exuT7APLMNWI55/EXRNBLac=; b=P xdof71Kbdo5x53XO941evjijeFRIJ3wBGNHGiZtetRocSQjNzZPnjtuE2TwR2AId Ebg/KBsU+TH835t7uRGwSDIhv/pdGhAAuaFGBK2vYPYpyIthjOKHnB2ghvU1vs98 D9qkDdhgtuX7uBv80pNAKVGpEbw10g00Ewf42mJFUA= X-Virus-Scanned: Debian amavisd-new at frodo.elyograg.org Received: from frodo.elyograg.org ([127.0.0.1]) by localhost (frodo.elyograg.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JgxUiPW+hpjY for ; Tue, 15 Mar 2016 12:24:06 -0600 (MDT) Received: from [10.2.0.108] (client175.mainstreamdata.com [209.63.42.175]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: elyograg@elyograg.org) by frodo.elyograg.org (Postfix) with ESMTPSA id 804335302 for ; Tue, 15 Mar 2016 12:24:06 -0600 (MDT) Subject: Re: from zookeper embedded to standalone To: user@zookeeper.apache.org References: <42CF10DF-3644-4D2A-B450-03EE341B2AB7@apache.org> From: Shawn Heisey Message-ID: <56E85345.8070906@elyograg.org> Date: Tue, 15 Mar 2016 12:24:05 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <42CF10DF-3644-4D2A-B450-03EE341B2AB7@apache.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 3/15/2016 10:13 AM, Flavio Junqueira wrote: > Have you asked on the Solr list? They are probably better equipped to answer your question. > > On our end, if you are switching to a new set of servers, it is unclear how you're going to safely migrate your data from the old ensemble to the new one. It is also unclear what will happen with in-flight requests. If it is the same set of servers, then I don't se why you'd have issues. We'd need to know more about your setup, though. I saw the message on the Solr list, and was going to send Rachid here, because migrating the zookeeper database successfully to different servers is something that you can help with better. Here's the overall steps I'd use: * Shut down all Solr processes. * Migrate the zookeeper DB and start the new ensemble. * Start each Solr server without the -DzkRun option and with a corrected -DzkHost option. The middle step is what you fine folks will need to help with. Drawing from elsewhere on this thread ... what "history" would be lost? As far as I know, Solr only cares what's in the database at any given moment ... but my understanding may be incomplete. Because Solr includes version 3.4.6, adding/removing servers on the fly isn't supported, which is why I thought a migration with downtime would be the best option. Thanks, Shawn