Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZkkIu-0007cG-KR for pgsql-admin@arkaria.postgresql.org; Sat, 10 Oct 2015 02:54:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZkkIt-0003Gr-Ib for pgsql-admin@arkaria.postgresql.org; Sat, 10 Oct 2015 02:54:35 +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) (envelope-from ) id 1ZkkIt-0003Gf-1I for pgsql-admin@postgresql.org; Sat, 10 Oct 2015 02:54:35 +0000 Received: from www.commandprompt.com ([2604:da00:2:2:5054:ff:fe07:7618] helo=lists.commandprompt.com) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZkkIn-0007q7-Qn for pgsql-admin@postgresql.org; Sat, 10 Oct 2015 02:54:33 +0000 Received: from [192.168.1.3] (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id BC89D42F; Fri, 9 Oct 2015 19:54:25 -0700 (PDT) Received: from c-67-168-169-165.hsd1.wa.comcast.net ([67.168.169.165] helo=[192.168.1.3]) by assp.commandprompt.com with SMTPSA(TLSv1_2 ECDHE-RSA-AES128-GCM-SHA256) (2.4.5); 9 Oct 2015 19:54:25 -0700 Subject: Re: streaming rep setup in PCI compliance environment To: Scott Ribe , dinesh bhandary References: <34DA3A67-CED4-48D1-83D9-DF70BB3AA3A7@elevated-dev.com> Cc: pgsql-admin@postgresql.org From: "Joshua D. Drake" Organization: Command Prompt, Inc. Message-ID: <56187DE1.5060406@commandprompt.com> Date: Fri, 9 Oct 2015 19:54:25 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <34DA3A67-CED4-48D1-83D9-DF70BB3AA3A7@elevated-dev.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Assp-Version: 2.4.5(15162) on assp.commandprompt.com X-Assp-ID: assp.commandprompt.com m1-45665-00001 X-Assp-Session: A5B9348 (mail 1) X-Assp-Envelope-From: jd@commandprompt.com X-Assp-Intended-For: pgsql-admin@postgresql.org X-Assp-Intended-For: dbhandary@gmail.com X-Assp-Intended-For: scott_ribe@elevated-dev.com X-Assp-Original-Subject: Re: [ADMIN] streaming rep setup in PCI compliance environment X-Assp-Client-SSL: yes X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On 10/09/2015 05:49 PM, Scott Ribe wrote: > On Oct 9, 2015, at 10:48 AM, dinesh bhandary wrote: >> >> I am trying to setup streaming rep between master ( which is in PCI tier1 zone) to slave ( PCI tier 2 zone). However, I am told that PCI tier1 can only initiate connection to lower security zone, in our case slave environment ( PCI tier 2). However, for streaming rep to work, slave needs to connect to Master. Does this violate PCI requirement. Anyone has experience setting up master-salve in PCI compliance environment? > > > I have a simliar situation in which I do not want anything in my replica's zone to be able to initiate connections into the data center where the primary is. I have the master set up an SSH reverse tunnel to the slave, and then the slave connects to that tunnel end locally. > You could also just use archiving, hot_standby still works when you do that. JD -- Command Prompt, Inc. - http://www.commandprompt.com/ 503-667-4564 PostgreSQL Centered full stack support, consulting and development. New rule for social situations: "If you think to yourself not even JD would say this..." Stop and shut your mouth. It's going to be bad. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin