This question has been flagged

hello 

i want to install odoo but splitting app and database servers
anyone can tell me steps to install odoo on two servers one for database and another one for the app 
because i have a huge number of users. 


Please Help

Avatar
Discard
Best Answer
Hi,

I assumed you configured Odoo on the app server and Postgresql on database server properly. Now you need to do only few config changes

On App Server - 
In odoo config file following parameter should be set properly
db_host = YourDatabaseServerIP
db_port = 5432
db_user = DatabaseUser
db_password = DatabaseUserPassword

On Database Server
  1. In pg_hba.conf mark trust to your app server IP
  2. In postgresql.conf assign listen_addresses parameter as '*' or 'Your App Server IP'
And then as per your instance type and number concurrent database user you can set config file parameters if needed such as workers, limit_time_cpu etc.
Avatar
Discard