Is there a multi-tier installer for Odoo 10 Bitnami stack? If no, can I myself deploy two instances of Bitnami Odoo 10 installers on two different virtual machines and configure one of them to run Apache (Odoo application) only while the other VM to run Database only (and also make necessary changes in odoo conf file and postgresql conf file to accept tcp connections).

Can you also tell me what roles does these services play in the installer:

We don't have currently a Multi-Tier solution for Odoo. Please correct me if I'm wrong but you just want to use a external database as we do for the Multi-Tier solution of WordPress, don't you? I mean, it could also work for you to launch a Odoo Bitnami Stack and a PostgreSQL Bitnami Stack and configure Odoo to use the second PostgreSQL database instead of the one included in the Stack.

vinay_khosla_2008:

Can you also tell me what roles does these services play in the installer:

odoo_geventodoo_background_worker

Odoo is configured as a WSGI app offered by Apache. Most of the requests are handled by the service odoo_background_worker but there are certain operations that are slower and a new service listening in the longpolling port is created to handle those requests: odoo_gevent. More information in the link below:https://www.odoo.com/documentation/10.0/setup/deploy.html#livechatBest Regards,

Yes, i would want my Odoo Bitnami stack to connect to an external Odoo database. And that's a good idea if I can use your PostgreSQL bitnami image to create the external database.

What Cloud Platform are you using (AWS, Google, Azure)? We have some guide that explain the process to migrate the database of a stack to an external database. The guides are intended for MySQL and the specific Cloud Services but the steps to do the same with a PostgreSQL are very similar:

Regarding odoo_gevent & odoo_background_worker services, are they dependent on Apache or PostgreSQL? Do these services run on Odoo application server or on the database server?

Yes! Those services are Python processes, you can find the scripts used to start those services in the folder /opt/bitnami/apps/odoo/scripts/. Please take a look to the scripts and let us know if you have any doubt about them.

I will be using Linode for hosting my Odoo instances. So I will create two Virtual Machines - one for Odoo Application and one for Odoo Database. I will use the Bitnami Odoo installer for VM1 and will use Bitnami PostgreSQL installer for VM2. Then I will migrate the database from VM1 to VM2 and stop the postgresql service on VM1 permanently. I will modify the odoo.conf file according so that the Odoo app connects to the database on the other VM. Also on VM2 i will modify the postgresql conf file to accept connections from VM1.

Once I shutdown the postgresql service permanently on VM1, will there by any impact for odoo_gevent and odoo_background_worker services as they will run on VM1? Do these services need to interact with database?

I will be using Linode for hosting my Odoo instances. So I will create two Virtual Machines - one for Odoo Application and one for Odoo Database. I will use the Bitnami Odoo installer for VM1 and will use Bitnami PostgreSQL installer for VM2. Then I will migrate the database from VM1 to VM2 and stop the postgresql service on VM1 permanently. I will modify the odoo.conf file according so that the Odoo app connects to the database on the other VM. Also on VM2 i will modify the postgresql conf file to accept connections from VM1.

On the one hand, the scenario you have described is ideal! These are the same steps I would try to follow.

vinay_khosla_2008:

Once I shutdown the postgresql service permanently on VM1, will there by any impact for odoo_gevent and odoo_background_worker services as they will run on VM1? Do these services need to interact with database?

Yes, they need to interact with the database. Please note that Apache redirects the web requests to them and they are the ones who are actually running Odoo. However, you don't have to worry about that, once you edit the Odoo Configuration file /opt/bitnami/apps/odoo/conf/odoo-server.conf those services will read the new Database parameters and they will be able to connect to the external database.