[OpenSIPS-Users] need some help using opensips 3.0 cluster module .
Liviu Chircu
liviu at opensips.org
Tue Jul 30 04:06:12 EDT 2019
The federated clustering actually scales very well horizontally: as
your subscriber
base grows, you add more active/backup pairs into the mix, further
partitioning them.
The tutorial teaches you how to add HA for a platform with 2 locations
and 4 nodes. If you need to add MySQL persistency, change:
modparam("usrloc", "working_mode_preset", "federation-cachedb-cluster")
... into:
modparam("usrloc", "cluster_mode", "federation-cachedb")
modparam("usrloc", "restart_persistency", "load-from-sql")
modparam("usrloc", "sql_write_mode", "write-back")
PS: please forget about "db_mode". It is deprecated, 100% replaced by
"working_mode_preset"
in 2.4+, and cannot possibly add any further value, regardless of your
usrloc needs.
Best regards,
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 30.07.2019 10:15, Sasmita Panda wrote:
> When the db_mode is set , then I cant set working_mode_preset . So
> there is no clustering and horizontal scaling . Right ?
More information about the Users
mailing list