Task #5022
closedTask #5008: Enable Infrastructure Gateway cluster on Production
Clustering Liferay’s Documents and Media Library in Production gateways
100%
Description
Although we don't use Liferay’s Documents and Media Library in gCube, this is used by Liferay internals for storing some data such as user and sites images/logo and static content.
Liferay’s Documents and Media Library is capable of mounting several repositories at a time while presenting a unified interface to the user, for the time being we will use NFS on the SAN, so basically the directory for the document_library present in /home/life/D4Science-production-gateway/data/document_library of all nodes should be mounted on the SAN.
The disk size should not be more than 5GB, as in this moment the size of the document library data is 10MB.
However this solution is not optimal as it introduces another SPOF, therefore in the medium term, since Liferay 6.2 supports Amazon’s simple storage service (S3) it would be beneficial to switch to it.
More details about clustering the document library: https://dev.liferay.com/discover/deployment/-/knowledge_base/6-2/liferay-clustering#documents-and-media-library-clustering