Tek Siong, Hock

Jan 61 min

Set up Multiple Odoo instance and Separate Postgresql database instance

In a Odoo high-scalability set up environment, there could be 2 instances of Odoo, which connecting to a single PostgreSql database instance.

1) In the config file, put the IP of the db instance, database username and password.

2) There are 2 options to make sure that the attachments and cookies file in the Filestore in the 2 Odoo instances are synchronized.

a) Configure the filestore path to use the mounted filestore in the NFS. My experience was that NFS access sometimes could be slow and cause the Odoo to load slower than expected.

b) Use linux Rsync (installed in both servers) and run the synchronization frequently.

    880
    0