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 1i01SP-0000jD-9w for pgsql-general@arkaria.postgresql.org; Tue, 20 Aug 2019 10:33:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i01SO-0005dw-5A for pgsql-general@arkaria.postgresql.org; Tue, 20 Aug 2019 10:33:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i01SN-0005YP-Hs for pgsql-general@lists.postgresql.org; Tue, 20 Aug 2019 10:33:39 +0000 Received: from mail-eopbgr1380122.outbound.protection.outlook.com ([40.107.138.122] helo=IND01-MA1-obe.outbound.protection.outlook.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1i01SE-0004Wn-IJ for pgsql-general@lists.postgresql.org; Tue, 20 Aug 2019 10:33:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C4GCehmt4h0cD7AzNXsdtA6RWTa+Xu+NeLjYPKoGXrWqFJTIMqBGVjanePls6JYAp7D5mqhQ2JjxFXEpopSsoB8JzTJuboeobycUok7wGBPIZ48hBtA0+BjWsBFTi+ZRa9tzVsHMB9IcgZNoY1ZAde9mvNui7845QKVCRT0bzZ/APN9dtcdBRGQieCuHw7vrz/BvHHqM1VqlZkqr6PdVhFaNb6z4CcIXRe2WyCwzI2R9E7G0R9VGnt98TAbHbF5u/+bXbfV5S4N0pUyKKrQjVHAxb4uxM3oiIK9hCnoQwm4Zj2rfaOukCNjjXOuiB3DSl2OrWOIn79Ax7iF2v0L4Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=U9nlauGahWuOQ8BAKSBHXLu1/daPr90680QHHwDQ9Hw=; b=keG2SyfsHqQv6IOfh9tMMzQ7XKNWJ5RbKgSwEsAum7w3Jat4E678BeP7pIe+ZiW0WF/uevwA0UKWRVW/1TVIvOVO1rHjgvbILmr/M3njTzyF996SiMgodHCneJghWEk7hEWMgW0rC7DyOlvgxLYZIboE7AuPZ0GnQ9Zl42iCSynFCgkc3/u22Fprgu340vgXOruuSSBjutCCmNq6vFOvXDb2qKFq2CkgZ+LuY6smF5vmEWoXZQbkYeNWWV0iSWqFHrrDH7oRdgpdo9S4vCcfjXOkHEUdZnT+jqkurYuo14jmEy4kubHly7odISLUoLjiZw+tcOQlWkBpq34vUPuCGQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 203.143.187.86) smtp.rcpttodomain=lists.postgresql.org smtp.mailfrom=techmahindra.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=techmahindra.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=techmahindra.onmicrosoft.com; s=selector2-techmahindra-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=U9nlauGahWuOQ8BAKSBHXLu1/daPr90680QHHwDQ9Hw=; b=DKgUAfEilxiHJxkuXY+oDrV/ADBW5wU/DmY69mMj1bTRRnpTp13iBj215ngTFghxlKuhgal+i6XdaxSnsjB/QstkVUm/gzcm6UD5iox9jFllPaaArK4gcPl5BK6TzqVrRsODqzTrh0Z1gSsBZwIPyZrm9bB8jfr//T/7HeF2Uok= Received: from BM1PR0101CA0001.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::11) by BMXPR01MB2839.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:3a::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2178.16; Tue, 20 Aug 2019 10:33:24 +0000 Received: from MA1IND01FT003.eop-IND01.prod.protection.outlook.com (2a01:111:f400:7ea4::205) by BM1PR0101CA0001.outlook.office365.com (2603:1096:b00:18::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2178.16 via Frontend Transport; Tue, 20 Aug 2019 10:33:24 +0000 Authentication-Results: spf=pass (sender IP is 203.143.187.86) smtp.mailfrom=TechMahindra.com; lists.postgresql.org; dkim=none (message not signed) header.d=none;lists.postgresql.org; dmarc=pass action=none header.from=TechMahindra.com; Received-SPF: Pass (protection.outlook.com: domain of TechMahindra.com designates 203.143.187.86 as permitted sender) receiver=protection.outlook.com; client-ip=203.143.187.86; helo=MyEmail.TechMahindra.com; Received: from MyEmail.TechMahindra.com (203.143.187.86) by MA1IND01FT003.mail.protection.outlook.com (10.152.200.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.2178.16 via Frontend Transport; Tue, 20 Aug 2019 10:33:23 +0000 Received: from UKEXCHMBX002.TechMahindra.com (10.6.16.24) by PUNEXCHMBX003.TechMahindra.com (10.10.169.3) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 20 Aug 2019 16:03:19 +0530 Received: from UKEXCHMBX003.TechMahindra.com (10.6.16.29) by UKEXCHMBX002.TechMahindra.com (10.6.16.24) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 20 Aug 2019 11:33:17 +0100 Received: from UKEXCHMBX003.TechMahindra.com ([fe80::78f3:87c1:c766:fb74]) by UKEXCHMBX003.TechMahindra.com ([fe80::78f3:87c1:c766:fb74%20]) with mapi id 15.00.1395.000; Tue, 20 Aug 2019 11:33:17 +0100 From: Karl Martin Skoldebrand To: "pgsql-general@lists.postgresql.org" Subject: Databases and servers Thread-Topic: Databases and servers Thread-Index: AQHVV0GsNytupAGTtUuCUHrBJYNOGQ== Date: Tue, 20 Aug 2019 10:33:17 +0000 Message-ID: <1566297353973.84310@TechMahindra.com> Accept-Language: sv-SE, en-GB, en-US Content-Language: sv-SE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.6.248.54] Content-Type: multipart/alternative; boundary="_000_156629735397384310TechMahindracom_" MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:203.143.187.86;IPV:CAL;SCL:-1;CTRY:IN;EFV:NLI;SFV:NSPM;SFS:(10019020)(4636009)(396003)(346002)(136003)(39860400002)(376002)(2980300002)(189003)(199004)(102836004)(478600001)(26826003)(106002)(316002)(336012)(36756003)(7696005)(81156014)(53416004)(19273905006)(8676002)(14454004)(2501003)(186003)(8936002)(26005)(966005)(5660300002)(4546004)(2351001)(16586007)(3480700005)(19627405001)(6916009)(19625735003)(486006)(3846002)(7736002)(2906002)(97876018)(81166006)(30436002)(86362001)(5640700003)(6306002)(54896002)(53936002)(126002)(476003)(2616005)(71190400001)(356004)(70586007)(70206006)(7116003)(6116002)(76130400001)(14444005)(426003)(117636001)(85282002)(562404015)(130980200001)(563064011);DIR:OUT;SFP:1102;SCL:1;SRVR:BMXPR01MB2839;H:MyEmail.TechMahindra.com;FPR:;SPF:Pass;LANG:en;PTR:InfoDomainNonexistent;MX:1;A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6c0e3601-7465-4d56-9092-08d72559d432 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(4709080)(1401327)(2017052603328)(7193020);SRVR:BMXPR01MB2839; X-MS-TrafficTypeDiagnostic: BMXPR01MB2839: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-Forefront-PRVS: 013568035E X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: xqXM1AS9Dtw4YOgbCxEl6/vVbsnz6L0z8PaIUrWn9/FvNtg7T/p0qridJwaNkf+QVUbh5O7WQuSKmxLQtJXc7uic3E0FivebTdbtnd91Js8Aus7OmMy8IxaU5bmWVZVS6TPbKd5UH8Zp1BX0pXhXCx6z3861wsYZXzJCo5Lvc0Rv/fMvdjKCF5H5TWs5/7/Nubah4nsm13jz4OaWMn+YgvuqYW/p47DF6P1SJZGGCwBPFF5XQhhuwZ0HgsZPeROoHaR2JWdNp57MCyDcWr1f4ScuNOAX8GRgYYQi795X1XgqZEDWim4eBabTXG6Co/NSTiLjLVoi5xFczyYy0ROAR1v4CR4KJjL8/gC/JEtbweI0+gWONDL0Xhs2mLkfx7PS4s+QjV6iaY/U63xUChgt+MjQZ6asNGkfnAwiAjDvHo8= X-OriginatorOrg: techmahindra.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Aug 2019 10:33:23.7334 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6c0e3601-7465-4d56-9092-08d72559d432 X-MS-Exchange-CrossTenant-Id: edf442f5-b994-4c86-a131-b42b03a16c95 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=edf442f5-b994-4c86-a131-b42b03a16c95;Ip=[203.143.187.86];Helo=[MyEmail.TechMahindra.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BMXPR01MB2839 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_156629735397384310TechMahindracom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I just discovered that a client has done this: They have two web applications A1 and A2. They have seperate hostnames/URLs= . Both have a production and a test database A1p and A1t/ A2p and A2t. What they've done is have both A1p and A2p on the same actual databaser ser= ver and A1t and A2t on the same server. So, I'm thinking - if a bug in application A1 crashes the application and d= atabase badly it will risk bringing down both services A1 and A2. The same = risk would be evident on a successful security breach. I would prefer to A1p and A2p on seperate servers, maybe keeping A1t and A2= t on the same. (This is what seems to be happening when the database server= s are being repladed). What is the general thought on the current setup? /M =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D Disclaimer: This message and the information contained herein is propri= etary and confidential and subject to the Tech Mahindra policy statement, y= ou may review the policy at http://www.techmahindra.com/Disclaimer.html ext= ernally http://tim.techmahindra.com/tim/disclaimer.html internally within T= echMahindra. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D --_000_156629735397384310TechMahindracom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi,

 

I just discovered that a client has done this:

 

They have two web applications A1 and A2. They have seperate hostnames/U= RLs. Both have a production and a test database A1p and A1t/ A2p and A2t.

What they've done is have both A1p and A2p on the same actual databaser = server and A1t and A2t on the same server.

 

So, I'm thinking - if a bug in application A1 crashes the application an= d database badly it will risk bringing down both services A1 and A2. T= he same risk would be evident on a successful security breach.

 

I would prefer to A1p and A2p on seperate servers, maybe keeping A1t and= A2t on the same. (This is what seems to be happening when the database ser= vers are being repladed).

 

What is the general thought on the current setup?

 

/M

    =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D Disclaimer: This message and the information contained h= erein is proprietary and confidential and subject to the Tech Mahindra poli= cy statement, you may review the policy at http://www.techmahindra.com/Discla= imer.html externally http://tim.techmahindra.com/tim/disclaimer.html intern= ally within TechMahindra. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D --_000_156629735397384310TechMahindracom_--