cancel
Showing results for 
Search instead for 
Did you mean: 

Distribute content store over multiple drives?

bmooney
Champ in-the-making
Champ in-the-making
Would anyone be able to tell me if it is possible to configure alfresco so that the content store is distributed acrosss multiple drives?
2 REPLIES 2

jbarmash
Champ in-the-making
Champ in-the-making
You can configure to have SOME workspaces on different drives by ovewriting where they are stored.  It's certainly  wise to separate where Lucene indexes are stored and the content store.

From repository.properties
dir.contentstore=${dir.root}/contentstore
dir.contentstore.deleted=${dir.root}/contentstore.deleted
dir.auditcontentstore=${dir.root}/audit.contentstore

# The location for lucene index files
dir.indexes=${dir.root}/lucene-indexes

So you can definitely store audit content and deleted content somewhere else. 

You might also be able to add new content stores, and point them to new file systems, although I am not sure about that as much. 

Another way is to overwrite content service.  Recently somebody wrote a content service that stores data in Amazon's S3, for example.

janv
Employee
Employee
It would also be possible to implement a routing content service, based on some relevant context. Refer to: http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/repo/content/AbstractRoutingConte...

In Alfresco 2.9, the multi-tenant option uses this to (optionally) allow tenant stores to be at partitioned at different root directories, see http://wiki.alfresco.com/wiki/MT#Tenant_Content_Routing (and TenantRoutingFileContentStore for example code).

Regards,
Jan