Message Boards
Liferay DXP Clustering - Document Library
sagar ravikirti, modified 7 Years ago.
Liferay DXP Clustering - Document Library
New Member Posts: 19 Join Date: 3/10/15 Recent Posts
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
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
David H Nebinger, modified 7 Years ago.
RE: Liferay DXP Clustering - Document Library
Liferay Legend Posts: 14919 Join Date: 9/2/06 Recent Posts
When in a cluster, all nodes must have access to the same filesystem, this is usually some sort of network mount or NAS space.
Anderson Perrelli, modified 7 Years ago.
RE: Liferay DXP Clustering - Document Library
Junior Member Posts: 81 Join Date: 6/12/13 Recent Posts
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!
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!