Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDD51-0002sR-33 for pgsql-general@arkaria.postgresql.org; Fri, 10 Nov 2017 17:26:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eDD50-0007QB-Bf for pgsql-general@arkaria.postgresql.org; Fri, 10 Nov 2017 17:26:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eDD4z-0007PU-MS for pgsql-general@postgresql.org; Fri, 10 Nov 2017 17:26:57 +0000 Received: from mail-pg0-x235.google.com ([2607:f8b0:400e:c05::235]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eDD4w-0003l6-JD for pgsql-general@postgresql.org; Fri, 10 Nov 2017 17:26:56 +0000 Received: by mail-pg0-x235.google.com with SMTP id l19so5300422pgo.2 for ; Fri, 10 Nov 2017 09:26:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=illuminatedcomputing-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=rp9FhlrTU2uGNEJFKXN6cpS+GiuzCkWDzEmhdfqzc8A=; b=C8tLAhsqDNwjiccDnx5Z4J32y/5PmFi3fMcOeZTOvujP5IiWnnML58qxwdh/m44dYt Q8cioiQgrRIYMFwGNG5pH13lgmHp0260e7yolEet8qPxEVJN3umG4Iw3HlM2EIq4aDox qL2kltPnVTMZwvKz7KeCX2MdtlywIXcSO9nWi1rATcVrgIuxcsidZ+SF/jt4WYpI3Eme nnQPn8HVhTh0SvYVEX6ETiAQIw8BoY6DANc/mTjayIiqvNa8LXI0rw3ysb0KTt6wF+VY cJ1DZWW5qzu6m/SSK0mpr4iO4R3Dm1PQ0KT2weD824EW3cBZ2nQCMAmvmwNIMLwrjEO0 Mxag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=rp9FhlrTU2uGNEJFKXN6cpS+GiuzCkWDzEmhdfqzc8A=; b=r010ydzP9Shf6R6baiNlCpt54TV8gggQqCz8706Oowab+XjWE74TKpvW0JFGEmkCty zuBZerAfrz5tAeiRT9TD2ZNd6f69M+zvVjYa4XJQXDqm8G/g6B/uBuXh/HFlD6uEDnzi gtzFE7YoBHliB/GlGGNf6zR/JTAtQ75PcTvK5rwyX+4XBF8fjKHCalgw9vDDJSEr6i8P yK+T18YEw8GKIZuJiPI3bagbeouJbzWnWGy4CtVCBmwv/Cuq5fp9NegvHWN1FevCpHB5 icooPPqFbqru0AzXMdCmRmG/k0nBSKTjFWxEXjC3e08CCPB5yIGeogZhmhKv7OFa9qUX K93g== X-Gm-Message-State: AJaThX5vU5E8Whr7llwwu4S1UWIuEcIXZLoKh2oaHI0qDqa5/OQTOvVm 3pRdA3SOvAfuHvL73XJ3ppTp9w3W X-Google-Smtp-Source: AGs4zMZrOReo/bC3UHLgF1Tk2KRskvMKihHyRIZyZcI7O7y9/BNMMWXGWO4RmOwrIO89G3ehWbVWeA== X-Received: by 10.98.192.147 with SMTP id g19mr1085885pfk.59.1510334812060; Fri, 10 Nov 2017 09:26:52 -0800 (PST) Received: from [192.168.2.201] (static-50-53-109-254.bvtn.or.frontiernet.net. [50.53.109.254]) by smtp.googlemail.com with ESMTPSA id 68sm20923931pfx.105.2017.11.10.09.26.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Nov 2017 09:26:51 -0800 (PST) Subject: Re: archive_command not being executed To: pgsql-general@postgresql.org References: From: Paul Jungwirth Message-ID: <157fa048-8ca3-c79b-e075-53b0baaa45c5@illuminatedcomputing.com> Date: Fri, 10 Nov 2017 09:26:54 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org On 11/10/2017 09:10 AM, Eric D wrote: > I have a standby db server (SB1) that will soon become the master. SB1 > is set up with streaming replication from the current master. I'm > trying to set up a third server (SB2) as a slave/standby to SB1, so that > when SB1 becomes the master, there will be a standby for it. First step > is to get WAL files shipped from SB1->SB2. Oh this has happened to me before. :-) On SB1 you need to set archive_mode to always (not on). Otherwise it is ignored when running as a standby. Btw just in case you are using Ansible here is an unmerged PR for the postgres role: https://github.com/ANXS/postgresql/pull/254 Paul -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general