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 1mvebA-0006ja-Bt for pgsql-general@arkaria.postgresql.org; Fri, 10 Dec 2021 12:02:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mveb7-0007wN-Ec for pgsql-general@arkaria.postgresql.org; Fri, 10 Dec 2021 12:01:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mveb7-0007tZ-2E for pgsql-general@lists.postgresql.org; Fri, 10 Dec 2021 12:01:57 +0000 Received: from hermes.gatewaynet.com ([193.92.121.98]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mveb0-0003XJ-Gt for pgsql-general@lists.postgresql.org; Fri, 10 Dec 2021 12:01:56 +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 1BAC1h4n018237 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 10 Dec 2021 14:01:48 +0200 Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.15.2/8.15.2) with ESMTP id 1BAC1hV6013338 for ; Fri, 10 Dec 2021 14:01:43 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Subject: Re: Postgresql + containerization possible use case To: pgsql-general@lists.postgresql.org References: <90c8b448-7401-a5cd-804d-bad76ebacb19@matrix.gatewaynet.com> From: Achilleas Mantzios Message-ID: <4932d882-0d13-21d6-30ff-b99531232c3d@matrix.gatewaynet.com> Date: Fri, 10 Dec 2021 14:01:43 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------66627D6B276DE7620C0AD1A6" Content-Language: en-US X-Virus-Scanned: clamav-milter 0.102.4 at hermes X-Virus-Status: Clean X-Spam-Status: No, score=-40.8 required=5.0 tests=ALL_TRUSTED,DYN_HAM_COORD, DYN_HAM_IMO,DYN_HAM_IT,DYN_HAM_IT_PARTNERS,DYN_HAM_NAUTICAL, DYN_HAM_VMA_BODY,HTML_MESSAGE,TW_HH,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 This is a multi-part message in MIME format. --------------66627D6B276DE7620C0AD1A6 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 10/12/21 1:24 μ.μ., o1bigtenor wrote: > > > On Fri, Dec 10, 2021 at 3:24 AM Achilleas Mantzios > wrote: > > 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? > > Thanks > My experience with LXD is that upon install you are now on a regular update plan that is impossible to change. Ehhmmm we are running some old versions there already (jboss, pgsql), LXD would not differ in this regard. What do you mean? that the updates for LXD are huge? short spaced/very regular? Can you pls elaborate some more on that? > This means that your very expensive data connection will be preempted for updates at the whim of the > canonical crew. Suggest not using such (most using such on wireless connections seem to have found > the resultant issues less than wonderful - - cost (on the data connection) being #1 and the inability to achieve > solid reliability crowding it for #2). Crew has their own paid service. Business connection is for business not crew. What I am interested is, could docker be of any use in the above scenario? Containerization in general? The guys (admins/mgmt) here seem to be dead set on docker, but I have to guarantee some basic data safety requirements. > > IMO     HTH -- Achilleas Mantzios DBA, Analyst, IT Lead IT DEPT Dynacom Tankers Mgmt --------------66627D6B276DE7620C0AD1A6 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 10/12/21 1:24 μ.μ., o1bigtenor wrote:


On Fri, Dec 10, 2021 at 3:24 AM Achilleas Mantzios <achill@matrix.gatewaynet.com> wrote:
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?


Thanks
My experience with LXD is that upon install you are now on a regular update plan that is impossible to change.
Ehhmmm we are running some old versions there already (jboss, pgsql), LXD would not differ in this regard.
What do you mean? that the updates for LXD are huge? short spaced/very regular?
Can you pls elaborate some more on that?
This means that your very expensive data connection will be preempted for updates at the whim of the 
canonical crew. Suggest not using such (most using such on wireless connections seem to have found 
the resultant issues less than wonderful - - cost (on the data connection) being #1 and the inability to achieve 
solid reliability crowding it for #2).
Crew has their own paid service. Business connection is for business not crew.
What I am interested is, could docker be of any use in the above scenario? Containerization in general?
The guys (admins/mgmt) here seem to be dead set on docker, but I have to guarantee some basic data safety requirements.

IMO     HTH  


-- 
Achilleas Mantzios
DBA, Analyst, IT Lead
IT DEPT
Dynacom Tankers Mgmt
--------------66627D6B276DE7620C0AD1A6--