Installing high availability Odoo 11 on ubuntu 16.04

You must be aware that now odoo has released version 11 officially. To know odoo 11 features click here

In this tutorial I’ll explain you how to install high availability odoo version 11(Community version) on ubuntu 16.04

Note : There is no major difference for installing odoo community and odoo enterprise version.

Overall System Architecture


If python is already installed, make sure you have installed python version 3.5 or above. Previous versions of python are not compatible with odoo 11.

Installation Guide

In this tutorial, I assume that you have properly configured your network for the required servers and you have basic networking knowledge to replace/change ip addresses mentioned throughout this tutorial with the appropriate ip addresses.

Database Server(s) Installation

Step 1 : Installation

Before you proceed for the installation, make sure you have configured locale settings properly.

Copy to Clipboard

Step 2 : Create user with password

Copy to Clipboard

Step 3 : Allow remote connection from application servers

All below lines in /etc/postgresql/9.5/main/pg_hba.conf file on top

Copy to Clipboard

Restart postgresql service

Copy to Clipboard

Application Server(s) Installation

Follow mentioned steps on each of the application server(s) to install odoo application only. For simplicity I will be using the debian package to install the odoo server, you can also follow the manual installation process from other tutorials.

Step 1 : Download latest version

Copy to Clipboard

Step 2 : Install odoo

Before you proceed for this command make sure that your locale is setup properly if you are using VPS.

Copy to Clipboard

If you encounter the blow error during the installation.

Copy to Clipboard

You can run,

Copy to Clipboard

This command will installed all the dependency libraries on the system.

Note : Debian package installer by default install postgresql as dependent package, we can stop the postgresql service and remove service from the system startup service list.

Copy to Clipboard

Step 3 : Database configurations

Let’s help application server to find the database from the configuration file. (/etc/odoo/openerp-server.conf)

Copy to Clipboard

Note : Don’t forgot to replace your database name and database password with appropriate values.

Step 4 : Custom Modules

To install the custom modules on all application server, you need to configure NFS to share the directory which can be accessible from all the application and which should be mounted automatically on system startup.

After successful configuration of NFS on all application server you can add mount path in addons_path param(can be found on odoo configuration file)

Load Balancer Installation

Step 1 : Install nginx

Copy to Clipboard

Step 2 : Nginx site configuration

Create a configuration file under /etc/nginx/sites-enabled/ with below content. Don’t forgot to change the domain name and SSL certificate path.

Copy to Clipboard

Step 3 : Restart nginx service

Copy to Clipboard

Step 4 : Access odoo application from the browser.

Navigate from your public ip address if port 80 and 443 are already forwarded from the firewall.

By Devendra R|2023-06-09T05:28:21+00:00November 14th, 2017|odoo, Odoo Administration|
Go to Top