Fórum
Database configurations for multiple portal instances
sravan kumar, modificado 9 Anos atrás.
Database configurations for multiple portal instances
Junior Member Postagens: 78 Data de Entrada: 19/02/13 Postagens Recentes
Hi,
How can i configure database settings and portal properties for each instance of liferay.
How can i configure database settings and portal properties for each instance of liferay.
Luis Silva, modificado 9 Anos atrás.
RE: Database configurations for multiple portal instances
Junior Member Postagens: 42 Data de Entrada: 18/04/13 Postagens Recentes
Hi,
During the setup you can chose the database. The default is lportal (in mysql)
Regards,
Luis Silva
During the setup you can chose the database. The default is lportal (in mysql)
Regards,
Luis Silva
Manish Yadav, modificado 9 Anos atrás.
RE: Database configurations for multiple portal instances
Expert Postagens: 493 Data de Entrada: 26/05/12 Postagens Recentessravan kumar:
Hi,
How can i configure database settings and portal properties for each instance of liferay.
Database shading for using different database for each instance.
For using different properties for each instance
#
2 # Each portal instance can have its own overriden property file following
3 # the convention portal-companyWebId.properties. To enable this feature, set
4 # the "company-id-properties" system property to true.
5 #
6 # To enable:
7 #
8 # java ... -Dcompany-id-properties=true
9 #
10 # The read order will now be: portal.properties, then portal-ext.properties,
11 # and then portal-liferay.com.properties.
12 #
13 # Note that not all properties can have different values per company. This
14 # functionality is only available for legacy reasons. The preferred way to
15 # configure a portal instance is through the Control Panel.
16 #
17 include-and-override=portal-${easyconf:companyId}.properties
18 include-and-override=${liferay.home}/portal-${easyconf:companyId}.properties
Kind Regards,
Manish Yadav
Georgian ABRAHAM, modificado 9 Anos atrás.
RE: Database configurations for multiple portal instances
Regular Member Postagens: 163 Data de Entrada: 19/04/13 Postagens Recentes
If you mean to say that the different portal instances then the every instance data will be stored in the same database and can be identified by the companyID.
You can refer the data sharding in the
https://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/liferay-clusteri-2
You can refer the data sharding in the
https://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/liferay-clusteri-2