Foren
Database configurations for multiple portal instances
sravan kumar, geändert vor 9 Jahren.
Database configurations for multiple portal instances
Junior Member Beiträge: 78 Beitrittsdatum: 19.02.13 Neueste Beiträge
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, geändert vor 9 Jahren.
RE: Database configurations for multiple portal instances
Junior Member Beiträge: 42 Beitrittsdatum: 18.04.13 Neueste Beiträge
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, geändert vor 9 Jahren.
RE: Database configurations for multiple portal instances
Expert Beiträge: 493 Beitrittsdatum: 26.05.12 Neueste Beiträgesravan 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, geändert vor 9 Jahren.
RE: Database configurations for multiple portal instances
Regular Member Beiträge: 163 Beitrittsdatum: 19.04.13 Neueste Beiträge
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