Fórum

Liferay DXP Clustering - Document Library

sagar ravikirti, modificado 7 Anos atrás.

Liferay DXP Clustering - Document Library

New Member Postagens: 19 Data de Entrada: 10/03/15 Postagens Recentes
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, modificado 7 Anos atrás.

RE: Liferay DXP Clustering - Document Library

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
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, modificado 7 Anos atrás.

RE: Liferay DXP Clustering - Document Library

Junior Member Postagens: 81 Data de Entrada: 12/06/13 Postagens Recentes
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!