Another, related question to the Multi-Tenant experts, please:

What databases are required? - I currently assume, a core DB plus one DB per
tenant.

Where does common seed data reside? Is sed data meant to be common at all,
or would each database reflect a full-fletched OFBiz database and could be
connected as a stand-alone DB as well?
* I assume, seed data us on the common core DB, while running data reside in
the tenants DBs. *
Example:
- AccountingTypeData.xml --> to be loaded once for all tenants; --> core DB
- Running accounting data (transactions, finAccounts) --> tenant DB


How to direct certain data to certain databases? - is there a built-in way
by dedicated readers? Or do I need to take care that customer specific data
files for upload are copied in/out before respective loads?
Example:
- I want to load a set of initial ProductData.xml per Tenant; I do follow a
private naming convention like TenantnameProductData.xml
--> How do I direct this initial data into the tenant's database and how do
I avoid the it is loaded to the other tenant's?
Ideas are:
(i) edit ofbiz-component.xml before every load attempt;
(ii) copy related Tenant files in and let the loads fail for non-existing
files;
(iii) define dedicated readers (e.g. "ext-tenantname") and limit tenant
database to loads from that reader only.

Let me know your comments.
Regards


Carsten

Reply via email to