Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hDw7O-00069i-Ud for pgsql-admin@arkaria.postgresql.org; Tue, 09 Apr 2019 19:09:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hDw7N-00071r-JG for pgsql-admin@arkaria.postgresql.org; Tue, 09 Apr 2019 19:09:13 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1hDw7N-00070q-AM for pgsql-admin@lists.postgresql.org; Tue, 09 Apr 2019 19:09:13 +0000 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hDw7K-0003To-6g for pgsql-admin@postgresql.org; Tue, 09 Apr 2019 19:09:12 +0000 Received: by mail-qt1-x844.google.com with SMTP id d13so21195012qth.5 for ; Tue, 09 Apr 2019 12:09:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=aKB3D0visjVNWrYEZmir28xOWu978I5fQdjWViKXmAY=; b=DeE1JepZzJ1chtHl5CRUjmgA4CISH+S+9rNEVlzCDab5RsWDdpcfl4kLjMY7G9yn4v CtjTLAxr+RpdugjDMZVUPWmli8UfWdvTpEGBMC62VluRMdHJchGzNFfRGjlDkyLS0w4C ha/gY6LLxcAhtJOPUtxQvDnLte0KxQt/w4oPmeKiNbppAY9iY8DZYpTzwdk+cOJOWSTN 1UBjglKo7bYmtjaQU1gpJtVzuH9hz5PWIVCkX6pqHlkvyvvqU8Mys9HR1UWq7Fhp29+2 amYLQ0+8ggDhovPXo0GEOhXRMwwoU3lTp/WqoXeEFJF623ONKsDcUwF0ratkcPIs8MwN eDSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=aKB3D0visjVNWrYEZmir28xOWu978I5fQdjWViKXmAY=; b=dWZUrI8TA+jVhlEz97PSoms/gk+J0oXpODlxxNaY+z8mzyWfBaAzbvYhXx4X4I0fQP KGWm+QKKkgDJy2JosXy46hW6qJ5ihd2i8gDDopknFiG7GtAscU2/Pq+nHWoR5VLPXicG I7NydQZaiYQ5JyWrSnxCjKy9KVYBXzYq59ho62YioCLJzHbCJhobOceYZJntPKozCsb/ lrZK0t37SCnpqAs6U/47fja2r0QW/xd47Vx6vzaCjfOFtv5OgLsGEMZm6ZJ//ctuXA5k YPf7FsF/uGmX6FJCJVJL57yzqa7hn0ZNAGlGukzIZER3+zotLWnbpOnqKLgMJ9DyC1WV BU8w== X-Gm-Message-State: APjAAAULMMW7bctMMclmYEnCZXDtMOUYmtg03tkAGCPTCT1lB8wt/+VO wKfkpnIGEeNvuZQWLQ+4WmR6ypc/1hU= X-Google-Smtp-Source: APXvYqxZeaOIeyzMwKw/oPykPDmdbNTQjnAfdeOAZhqNcWpNJ3LOsfNHOqk0H09AQfVkffp0urYQKA== X-Received: by 2002:ac8:1a25:: with SMTP id v34mr30130103qtj.337.1554836948653; Tue, 09 Apr 2019 12:09:08 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id o136sm18141013qke.48.2019.04.09.12.09.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Apr 2019 12:09:08 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id E46C5121045; Tue, 9 Apr 2019 15:09:05 -0400 (-04) Date: Tue, 9 Apr 2019 15:09:05 -0400 From: Alvaro Herrera To: Vikas Bodani Cc: arnab biswas , pgsql-admin@postgresql.org Subject: Re: postgresql.conf file goes missing everytime I restart postgres DB server. Message-ID: <20190409190905.GA18766@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Apr-10, Vikas Bodani wrote: > > Maybe you have some HA tool that starts up another server, and delete > > this one's config file in order to prevent split-brain. > > Thanks Alvaro. Since this happens during the multi-master bdr setup, could > the other postgres instance within bdr, begin up and running while we > restart this one, delete this one's config? BDR by itself does not do that, to the best of my knowledge. I hope you didn't install the files twice somehow, so that one node's files overwrote the other node's; I would be very surprised if it let you do that anyway. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services