留言板

Liferay DXP Clustering - Document Library

sagar ravikirti,修改在7 年前。

Liferay DXP Clustering - Document Library

New Member 帖子: 19 加入日期: 15-3-10 最近的帖子
Hello

I wanted to setup a clustering environment in Liferay DXP by using Advance File System Store

cluster.link.enabled=true
dl.store.file.system.root.dir=C:\XXX\document_library
dl.store.impl=com.liferay.portal.store.file.system.AdvancedFileSystemStore

I added above properties in portal-ext.properties file
----------------------------------------------------------------------------
And i created file name - com.liferay.portal.store.file.system.configuration.AdvancedFileSystemStoreConfiguration.cfg with following property.

rootDir=C:\XXX\document_library
-----------------------------------------------------------------------------

Kindly let me know am I going wrong or anything-else I have to do..

Thanks In advance
thumbnail
David H Nebinger,修改在7 年前。

RE: Liferay DXP Clustering - Document Library

Liferay Legend 帖子: 14914 加入日期: 06-9-2 最近的帖子
When in a cluster, all nodes must have access to the same filesystem, this is usually some sort of network mount or NAS space.
thumbnail
Anderson Perrelli,修改在7 年前。

RE: Liferay DXP Clustering - Document Library

Junior Member 帖子: 81 加入日期: 13-6-12 最近的帖子
Hey Sagar,

In the Liferay DXP the property dl.store.file.system.root.dir was removed from portal.properties, you can setup the system root dir through the .cfg files or through the control panel.

Try this way:

1. Control Panel > Configuration > System Settings > Foundation
2. Click to edit Advanced File System Store and set your rootDir path.
3. In the portal-ext.properties set the property dl.store.impl=com.liferay.portal.store.file.system.AdvancedFileSystemStore
4. Restart Liferay

NOTE: You must to do in all nodes of your cluster.

Thanks!