CMDBuild Forum

Operating of CMDBuild in a cluster

Dear team,

is it possible to operate CMDBUild in a cluster? 

Are there any possible issues with two (or more) instances of CMDBuild connected to one database at one time? 

Can I expect problems for example with not synchronized caches, record locking or anywhere else?

Does exist any documentation about CMDBuild clustering?

Thanks for answers in advance.

Jiří

 

You can not connect more CMDBuild instances to the same Postgres database.
But
of course it is  possible to have more databases in a single Postgres Server.
CMDBuild Team

I am afraid of not understanding of my question. 

I do not need to operate two different CMDBuild applications, but the same one deployed at two clustered application servers in two locations (two independent data centres) in order to achieve high availability and scalability. 
Both instances SHALL be connected to the same database (clustered PoctgreSQL server in Active - Passive mode).
Is it possible to answer for this type of deployment?
Thanks in advance
Jiří
  

This is currently not possible, primarily for cache management aspects that you have rightly identified.
Instead, you can connect a CMDBuild instance to a Postgres database replicated in master-slave configuration.
CMDBuild Team