Foren

Liferay DXP Clustering - Document Library

sagar ravikirti, geändert vor 7 Jahren.

Liferay DXP Clustering - Document Library

New Member Beiträge: 19 Beitrittsdatum: 10.03.15 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Liferay DXP Clustering - Document Library

Liferay Legend Beiträge: 14918 Beitrittsdatum: 02.09.06 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Liferay DXP Clustering - Document Library

Junior Member Beiträge: 81 Beitrittsdatum: 12.06.13 Neueste Beiträge
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!