Forums de discussion
Database configurations for multiple portal instances
sravan kumar, modifié il y a 9 années.
Database configurations for multiple portal instances
Junior Member Publications: 78 Date d'inscription: 19/02/13 Publications récentes
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, modifié il y a 9 années.
RE: Database configurations for multiple portal instances
Junior Member Publications: 42 Date d'inscription: 18/04/13 Publications récentes
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, modifié il y a 9 années.
RE: Database configurations for multiple portal instances
Expert Publications: 493 Date d'inscription: 26/05/12 Publications récentessravan 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, modifié il y a 9 années.
RE: Database configurations for multiple portal instances
Regular Member Publications: 163 Date d'inscription: 19/04/13 Publications récentes
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