• Datastore/Index/Cache Purpose & Changing Folder Locations

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #41942  by Wraith
 
Hi All,

I'm investigating setting up OpenKM to run from a FreeNAS server.

Currently I have only the datastore, index and Cache folders on the server with OpenKM installed on my local machine. As I look at setting it up on the server, the following queries have come to mind and I struggle to find answers on the 'net:

* What is the purpose of the Cache, Index and Datastore folders? I can easily determine that the Datastore folder is the location where documents are saved. The others?

* As I notice these can be manually changed, are there locations where performance would be improved without affecting the operation of the EDRM? e.g. would it be preferable to have the cache on a local SSD drive rather than from the server?

* If I'm able to get OpenKM running as a service within a FreeNAS jail, would pointing the jail to the current Cache, Index & Datastore folders automatically pick up all the files and settings? Or are these saved somewhere else?

Thanks in advance
 #41948  by jllort
 
When you preview a document, usually we transform to intermidiate format -> PDF and them we use it for previewing. This convertion can take a lot of time and hardware resources, for it we have a cache folder with the documents converted in another formats.

About index is lucene search engine folder.

Better SSD on database, really the I/O of cache folder etc... is smaller rather than database transactions. Lucene index could be a good place for SSD too. Usually for datastore and cache is not necessary.

About getting OpenKM in a NAS, take in mind networking speed is important in this scenario. Bad connection with shared networking folders will cause sure bad performance. A good scenario is a SAN.
 #41952  by Wraith
 
Hi Jllort,

Appreciate your response.

I've been able to successfully get OpenKM running on the FREENAS system and accessible through my home network. A little more tweaking and hopefully I'll get the script for graceful shut down and start up implemented as well.

I'm finding that the pdf2swf conversion is rather responsive. In addition, I've had my wife streaming movies whilst I've been using OpenKM without any noticeable degradation in performance. Either I've got a healthy CPU/disk setup or the swftools program doesn't use that much overhead [or both!]

Performance isn't so much of an issue for me [and, so far, the performance is good!]. What's more valuable is the redundancy that the mirrored drives I've placed the datastore on provides. I can't imagine my wife using the program so can't imagine one user having a significant impact on performance :)

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.