Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
For a customer I want to run more than one odoo server with a load balancer in front.
The problem is that after switching the odoo server the user get an error with "session expired". Is there a way to share the session data between these servers?
I can fix the users by their ip addresses to certan servers but this is not the way I like.
I'd suggest configuration like :
1. load balancer + n app servers + 1 db server
app servers should have one shared folder for data dir ( on some nas , san or simmilar), mounted with rw permissions and SAME user, on all of them, and then you put that folder as data_dir in config file...
that way you have balanced load on app servers, and all the data files accesible to all servers (via single data dir )
data_dir is new config option for v8 ( this trick will not work in v7 or eralier version) - folder contains all session files , as well as all attachments and downloaded modules per database...
This is easier version, more sophisticated includes also n db_servers wich should then be carefuly replicated and synced..
Hope this will help a bit..
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 12/9/14, 7:18 AM|
|Seen: 1689 times|
|Last updated: 8/11/16, 7:40 AM|