Nuxeo Server

Setting up a HA Configuration Using the Nuxeo Platform and PostgreSQL

Updated: September 22, 2017 Page Information Edit on GitHub

This page is scheduled for review and update. Check back soon for updated content!

Target Architecture

The target architecture is to:

  • Use the Nuxeo Platform built-in clustering mode to ensure HA at Application level;
  • Configure PostgreSQL Master/Slave replication mode  to ensure HA at Database level.

Nuxeo Clustering and Network Load-Balancing

See the Nuxeo Clustering Configuration page.

Setting up PosgreSQL Streaming Replication

Streaming replication allows a standby server to stay more up-to-date than is possible with file-based log shipping.

We provide ansible scripts to deploy a cluster of two PostgreSQL servers as an example. Please refer to the PostgreSQL streaming replication page for more information.

There are several ways to achieve PGSQL replication: we are just presenting one of the possible option.

BinaryStore Replication

Technically, you don't need to replicate the BinaryStore if you use a reliable backend like:

  • a NAS that already handles redundancy;
  • Amazon S3.

However, if you want to have the full storage replicated in two separated data center, you will want to replicate the BinaryStore too.

Because of the way the BinaryStore is handled (no update, move) , you don't have a lot of constraints:

  • Rsync
  • DRBD
  • ...

PostgreSQL Fail over Procedure

When the master database is down, the slave must be promoted to master. This means changing changing the recovery.conf and postgresql.conf files and restart. This can be easily scripted.

If your infrastructure provides a virtual IP for the database, the VCS pool (used for the document repository access) is able to reconnect automatically to the database.

Backup and Restore

Please refer to the Nuxeo backup procedure.

 

3 days ago manonlumeau NXDOC-1323: Update BDE doc
a year ago Solen Guitter 14
a year ago Thierry Martins 13 | Remove the reference to the validationQuery attribute
a year ago Manon Lumeau 12
3 years ago Manon Lumeau 11
4 years ago Solen Guitter 10
4 years ago Solen Guitter 9
4 years ago Thierry Delprat 7
4 years ago Thierry Delprat 8
4 years ago Thierry Delprat 6
4 years ago Benoit Delbosc 5
4 years ago Benoit Delbosc 4
4 years ago Benoit Delbosc 3
4 years ago Thierry Delprat 2
4 years ago Thierry Delprat 1
History: Created by Thierry Delprat