Skip to content

liuqwert/Odoo-Cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Odoo Cluster

Open Source Odoo Cluster Implementation

architecture;

libs

	Redis - Session Storage & Orm cache  ;  --Must
	pgpool II- used in posgresql cluster ;  --Optional

usage

	1.prepare more than two servers, one is the master ,the others are slave(s)
	2.copy the files to the odoo server directory, and replace the old files;
	3.modify the master odoo.conf file:
		session_redis_url=redis://@redis-ip:6379/0
		ormcache_redis_url=redis://@redis-ip:6379/0      ;strongly recommand the redis instance used in ormchace is not previous one
		max_cron_threads = x                             ;(x>1)
	4.modify all the slave(s) odoo.conf file:
		session_redis_url=redis://@redis-ip:6379/0       ;same as master
		ormcache_redis_url=redis://@redis-ip:6379/0      ;same as master
		max_cron_threads = 0
	5.use a nfs directory as data directory for master and slave(s) server(mount as a folder).
	  odoo.conf:
	       data_dir = data   ==> a nfs directory

About

Open Source Odoo Cluster Implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages