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 49737725B for ; Wed, 3 Aug 2011 16:14:32 +0000 (UTC) Received: (qmail 67233 invoked by uid 500); 3 Aug 2011 16:14:31 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 67132 invoked by uid 500); 3 Aug 2011 16:14:31 -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 67117 invoked by uid 99); 3 Aug 2011 16:14:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2011 16:14:30 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Semyon.Chernyy@ubs.com designates 139.149.1.204 as permitted sender) Received: from [139.149.1.204] (HELO dmz-vsgate1.ldn.ibb.ubs.com) (139.149.1.204) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2011 16:14:23 +0000 Received: from localhost (localhost [127.0.0.1]) by postfix.amavisd (Postfix) with ESMTP id 3B42260488 for ; Wed, 3 Aug 2011 17:13:46 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ubs.com; h= content-type:x-virus-scanned:from:message-id:date:subject :mime-version:content-class:received:received:received:received :received; s=srsa; t=1312388026; bh=xHjV+cv3ogx3oclQ77UtxLu5yPXD qXaqY2pdyncmBPI=; b=ae/JpDOLJWAmAhCxTX3KI0nxR3sa0XOlxBG5wUG/ecXf qomecwJquUHtb171n2ZKckzcfkN9n3fj0ajdBFQZMnFDl6MP4sLvsqN/Qn6kkl1a P0qwlAkDKePzJs0uLgIYPBfI2HSBuhh8X7+3/QIHQtlQfPppoVGbjulq+EWMNl4= Received: from dmz-vsgate1.ldn.ibb.ubs.com ([127.0.0.1]) by localhost (sldn0847xmh.ldn.swissbank.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lGjzHuJHZnzv for ; Wed, 3 Aug 2011 17:13:46 +0100 (BST) Received: by dmz-vsgate1.ldn.ibb.ubs.com (Postfix, from userid 103) id 1395F6046C; Wed, 3 Aug 2011 17:13:45 +0100 (BST) Received: from sldn3028pmh.ldn.swissbank.com (unknown [139.149.96.13]) by dmz-vsgate1.ldn.ibb.ubs.com (Postfix) with ESMTP id 4F82960490 for ; Wed, 3 Aug 2011 17:13:45 +0100 (BST) Received: from nldn2375pap.ubsw.net (nldn2375pap.ldn.swissbank.com [14.64.43.133]) by sldn3028pmh.ldn.swissbank.com (Postfix) with ESMTP id 83AAC202 for ; Wed, 3 Aug 2011 17:13:44 +0100 (BST) Received: from NLDNC111PEX1.ubsw.net ([14.64.42.221]) by nldn2375pap.ubsw.net with Microsoft SMTPSVC(6.0.3790.4675); Wed, 3 Aug 2011 17:13:44 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: Upgrade of the cluster. Data completion check Date: Wed, 3 Aug 2011 17:13:43 +0100 Message-ID: <2E4C6C547282904987189BD44047AAFE487C73@NLDNC111PEX1.ubsw.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Upgrade of the cluster. Data completion check Thread-Index: AcxR+FB7JRXmBgB+S7uMNzEAoG2QEg== From: To: X-OriginalArrivalTime: 03 Aug 2011 16:13:44.0065 (UTC) FILETIME=[51101710:01CC51F8] X-Virus-Scanned: clamav-milter 0.96.5 at sldn3028pmh.ldn.swissbank.com X-Virus-Status: Clean Content-Type: multipart/mixed; boundary="retimiled-emim-mijooneldraneldeen" X-UBS-Disclaimer: Version $Revision: 1.33 (postfix edition)$ --retimiled-emim-mijooneldraneldeen Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CC51F8.51159FFE" This is a multi-part message in MIME format. ------_=_NextPart_001_01CC51F8.51159FFE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, We have the project built on zookeeper-3.3.3 which starts the cluster, just simple wrapper on zk lib. Every version of the project has its own path to zookeeper's data/tx folders. But all configs (number of nodes, client ports, etc) - the same. We release a new version and want to deploy it without stopping the cluster.=20 Let's say we change from version A to B We are executing: 1. stop node 1 of cluster (v. A) 2. start node 1 of cluster (v. B) 3. stop node 2 of cluster (v. A) 4. start node 2 of cluster (v. B) And so on. The data is automatically transferred to the data/tx directories of the newly started nodes from the still running nodes of project version A. The question is: is it possinble to check that the transfer of data completed? Is it correct that it starts automatically? Action 1, 2, 3, 4, ... can be automated but if they are executed too fast I suppose it's possible to get the incompleted data on the nodes of project's B. Thank you Semyon ------_=_NextPart_001_01CC51F8.51159FFE Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Upgrade of the cluster. Data completion check

Hello,

We have the project built on = zookeeper-3.3.3 which starts the cluster, just simple wrapper on zk = lib.

Every version of the project has its = own path to zookeeper's data/tx folders. But all configs (number of = nodes, client ports, etc) - the same.

We release a new version and want to = deploy it without stopping the cluster.
Let’s say we change from version = A to B

We are executing:

1. stop node 1 of cluster (v. A)
2. start node 1 of cluster (v. = B)
3. stop node 2 of cluster (v. = A)
4. start node 2 of cluster (v. = B)
And so on.

The data is automatically transferred = to the data/tx directories of the newly started nodes from the still = running nodes of project version A.

The question is: is it possinble to check that the transfer of = data completed? Is it correct that it starts automatically?

Action 1, 2, 3, 4, ... can be automated = but if they are executed too fast I suppose it's possible to get the = incompleted data on the nodes of project's B.

Thank you
Semyon

------_=_NextPart_001_01CC51F8.51159FFE-- --retimiled-emim-mijooneldraneldeen Content-Type: text/plain; charset=us-ascii; name="disclaim.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-Description: Legal Disclaimer Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mails are not encrypted and cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. UBS Limited is a company limited by shares incorporated in the United Kingdom registered in England and Wales with number 2035362. Registered office: 1 Finsbury Avenue, London EC2M 2PP. UBS Limited is authorised and regulated by the Financial Services Authority. UBS AG is a public company incorporated with limited liability in Switzerland domiciled in the Canton of Basel-City and the Canton of Zurich respectively registered at the Commercial Registry offices in those Cantons with Identification No: CH-270.3.004.646-4 and having respective head offices at Aeschenvorstadt 1, 4051 Basel and Bahnhofstrasse 45, 8001 Zurich, Switzerland. Registered in the United Kingdom as a foreign company with No: FC021146 and having a UK Establishment registered at Companies House, Cardiff, with No: BR 004507. The principal office of UK Establishment: 1 Finsbury Avenue, London EC2M 2PP. In the United Kingdom, UBS AG is authorised and regulated by the Financial Services Authority. UBS reserves the right to retain all messages. Messages are protected and accessed only in legally justified cases. --retimiled-emim-mijooneldraneldeen--