掲示板
Database configurations for multiple portal instances
9年前 に sravan kumar によって更新されました。
Database configurations for multiple portal instances
Junior Member 投稿: 78 参加年月日: 13/02/19 最新の投稿
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.
9年前 に Luis Silva によって更新されました。
RE: Database configurations for multiple portal instances
Junior Member 投稿: 42 参加年月日: 13/04/18 最新の投稿
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
9年前 に Manish Yadav によって更新されました。
RE: Database configurations for multiple portal instances
Expert 投稿: 493 参加年月日: 12/05/26 最新の投稿sravan 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
9年前 に Georgian ABRAHAM によって更新されました。
RE: Database configurations for multiple portal instances
Regular Member 投稿: 163 参加年月日: 13/04/19 最新の投稿
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