Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvc8W-0001DY-VU for pgsql-general@arkaria.postgresql.org; Fri, 10 Dec 2021 09:24:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mvc8V-0006Et-Rz for pgsql-general@arkaria.postgresql.org; Fri, 10 Dec 2021 09:24:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvc8V-0006Aw-Hg for pgsql-general@lists.postgresql.org; Fri, 10 Dec 2021 09:24:15 +0000 Received: from hermes.gatewaynet.com ([193.92.121.98]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvc8S-0002Ul-Gf for pgsql-general@lists.postgresql.org; Fri, 10 Dec 2021 09:24:14 +0000 Received: from smadev.internal.net (pc131.internal.net [10.9.200.131]) by hermes.gatewaynet.com (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 1BA9O3EW024547 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 10 Dec 2021 11:24:08 +0200 Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.15.2/8.15.2) with ESMTP id 1BA9O3c8005518 for ; Fri, 10 Dec 2021 11:24:03 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) To: pgsql-general@lists.postgresql.org From: Achilleas Mantzios Subject: Postgresql + containerization possible use case Message-ID: <90c8b448-7401-a5cd-804d-bad76ebacb19@matrix.gatewaynet.com> Date: Fri, 10 Dec 2021 11:24:03 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Virus-Scanned: clamav-milter 0.102.4 at hermes X-Virus-Status: Clean X-Spam-Status: No, score=-32.8 required=5.0 tests=ALL_TRUSTED,DYN_HAM_COORD, DYN_HAM_IT,DYN_HAM_NAUTICAL,DYN_HAM_VMA_BODY,TW_JB,TW_LX autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hermes.gatewaynet.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi we are running some 140 remote servers (in the 7 seas via satellite connections), and in each one of them we run: - jboss - postgresql - uucp (not as a daemon) - gpsd - samba - and possibly some other services Hardware and software upgrades are very hard since there is no physical access to those servers by trained personnel, and also there is a diversity of software versions. The idea for future upgrades is to containerize certain aspects of the software. The questions are (I am not skilled in docker, only minimal contact with lxd) : - is this a valid use case for containerization? - are there any gotchas around postgersql, the reliability of the system ? - since we are talking about 4+ basic services (pgsqk, jboss, uucp, samba), is docker a good fit or should we be looking into lxd as well? - are there any success stories of other after following a similar path? Thank you! PS For those who wonder about UUCP, UUCP was our comms solution prior we installed TCP/IP on the vessels. However, to this day, it provides a nice management layer, a sort of protection before data leave the vessel or reach the vessel, in a user controlled manner. So uucp stayed as it matched exactly the business as far data transfers and emails are concerned. It would be hard to uniformly manage data transfers and emails in/out in a plain TCP/IP setup (rsync, ftp, etc, sendmail/exim4/postfix or other MTA). -- Achilleas Mantzios DBA, Analyst, IT Lead IT DEPT Dynacom Tankers Mgmt