Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 78306 invoked from network); 24 Jun 2009 13:21:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Jun 2009 13:21:11 -0000 Received: (qmail 66432 invoked by uid 500); 24 Jun 2009 13:21:21 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 66359 invoked by uid 500); 24 Jun 2009 13:21:21 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 66351 invoked by uid 99); 24 Jun 2009 13:21:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2009 13:21:21 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=FS_REPLICA,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.43.24] (HELO sca-ea-mail-1.sun.com) (192.18.43.24) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2009 13:21:10 +0000 Received: from dm-uk-02.uk.sun.com ([129.156.101.196]) by sca-ea-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n5ODKbiS029947 for ; Wed, 24 Jun 2009 13:20:37 GMT Received: from barman.uk.sun.com (barman.UK.Sun.COM [129.156.132.12]) by dm-uk-02.uk.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n5ODKbog017028 for ; Wed, 24 Jun 2009 14:20:37 +0100 (BST) Received: from vpn-129-150-121-18.uk.sun.com ([129.150.121.18]) by barman.uk.sun.com with esmtp (Exim 4.42) id 1MJSWr-0001eh-1W for derby-user@db.apache.org; Wed, 24 Jun 2009 14:28:45 +0100 Message-ID: <4A422821.4010704@sun.com> Date: Wed, 24 Jun 2009 14:20:33 +0100 From: Alan Burlison User-Agent: Thunderbird 2.0.0.21 (X11/20090505) MIME-Version: 1.0 To: Derby Discussion Subject: Re: Replication question: docs not clear References: <4A4219D8.4010005@sun.com> <4A421C91.9000003@sun.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Knut Anders Hatlen wrote: > Both of those scenarios should work. Whether or not the server is > running while the database is copied doesn't really matter, but the > database itself must not be booted. OK, thanks. Most other databases I've used would get a bit confused if you started fiddling with the contents of their data file directories while they were running, it might be worth noting in the docs that this is OK for Derby. > By the way, there is a documentation request that describes a slightly > easier procedure to start replication. See > https://issues.apache.org/jira/browse/DERBY-4196. I don't know if it is > relevant in your setup, but I thought I'd mention it in case it could > simplify things. Yes, it probably is relevant. I assume that if you start the master database with startMaster=true it locks the database until the client is running, or do you have to manually make sure no clients connect until after the slave is up and running? -- Alan Burlison --