PostgreSQL 11 Warm Standby Failover (Synchronous Streaming Replication) for High Availability in Docker

This post is part of a series of PostgreSQL Standby Failover in Docker: Cold Start Failover Warm Standby Failover (Log Shipping) Warm Standby Failover (Asynchronous Streaming Replication) Warm Standby Failover (Synchronous Streaming Replication) The PostgreSQL documentation has a high level overview on how to set up various failover, replication, and load balancing solutions (link). I found … Continue reading PostgreSQL 11 Warm Standby Failover (Synchronous Streaming Replication) for High Availability in Docker

PostgreSQL 11 Warm Standby Failover (Asynchronous Streaming Replication) for High Availability in Docker

This post is part of a series of PostgreSQL Standby Failover in Docker: Cold Start Failover Warm Standby Failover (Log Shipping) Warm Standby Failover (Asynchronous Streaming Replication) Warm Standby Failover (Synchronous Streaming Replication) The PostgreSQL documentation has a high level overview on how to set up various failover, replication, and load balancing solutions (link). I found … Continue reading PostgreSQL 11 Warm Standby Failover (Asynchronous Streaming Replication) for High Availability in Docker

PostgreSQL 11 Warm Standby Failover (Log Shipping) for High Availability in Docker

This post is part of a series of PostgreSQL Standby Failover in Docker: Cold Start Failover Warm Standby Failover (Log Shipping) Warm Standby Failover (Asynchronous Streaming Replication) Warm Standby Failover (Synchronous Streaming Replication) The PostgreSQL documentation has a high level overview on how to set up various failover, replication, and load balancing solutions (link). I found … Continue reading PostgreSQL 11 Warm Standby Failover (Log Shipping) for High Availability in Docker

PostgreSQL 11 Cold Start Failover for High Availability in Docker

This post is part of a series of PostgreSQL Standby Failover in Docker: Cold Start Failover Warm Standby Failover (Log Shipping) Warm Standby Failover (Asynchronous Streaming Replication) Warm Standby Failover (Synchronous Streaming Replication) The PostgreSQL documentation has a high level overview on how to set up various failover, replication, and load balancing solutions (link). I found … Continue reading PostgreSQL 11 Cold Start Failover for High Availability in Docker

User Namespaces with Cent OS 7

By default, User Namespaces in Cent OS 7 is not enabled by default. This is well documented in the RHEL blog (http://rhelblog.redhat.com/2015/07/07/whats-next-for-containers-user-namespaces/). TL;DR, this feature is disabled in RHEL because they need to analyze its security impact to make it secure for enterprise use. In Cent OS 7, you can enable this feature by doing the following: … Continue reading User Namespaces with Cent OS 7

Docker User Namespaces

Update: Follow this tutorial from Docker to setting up User Namespaces in Docker CE: https://docs.docker.com/engine/security/userns-remap/ With the default settings of Docker daemon, it is possible for a "container breakout" - this means that the container gains root privileges on the host file system. This allows the container to do things like access another user's files, install … Continue reading Docker User Namespaces

Logging for Docker

When moving from a development to production environment, it becomes important to log commands issued to Docker for auditing purposes. Some reasons for doing so are: compliance to government requirements, auditing and tracing of issues, requirement of industry standards, client/end-user requirement, and so on. Docker offers two types of logging mechanisms - Containers, and Docker daemon. … Continue reading Logging for Docker

Swarm Overlay Network Communication – Centos Firewall Ports to Open

If you are setting up a Swarm and Overlay network on Centos 7, you will need to open the following ports to allow for inter-container communication across Docker hosts: For the host with KV Store (e.g. Consul) - 8500/tcp (for KV communication) If using Consul, - 8600/tcp (for DNS resolution) For host(s) with Swarm Manager: 4000/tcp (only … Continue reading Swarm Overlay Network Communication – Centos Firewall Ports to Open