Hi all,
We have an Alfresco Content services 5.2 instance running on a Windows 2016 Virtual Server where the available space capacity is declining very quickly and we will run out of space soon.
Is there any article to read or any idea about how to extend our contentstore by adding a second virtual hard drive? Or it will be required to migrate the entire contentstore into a much larger hard drive?
Thank you in advance, any thoughts/solutions provided will be much appreciated.
Kind regards,
Nikos
Using the Enteprise edition you can add a new contentstore enabling the Multiple Content Store selector:
https://docs.alfresco.com/content-services/5.2/admin/content-stores/#content-store-selector
If you are using the Community Edition you don't have any other solutions, so you should migrate everything in a larger storage.
Thank you @openpj for your response.
There is a point that confuses me, and I would appreciate some more assistance:
I can see that the ${dir.root} is defined in the alfresco-global. properties file (in our case is: dir.root=E:/alfresco-content-services/alf_data) and based on that the instructions suggest creating a sample-content-store-selector-context.xml file in the <extension> directory, using something this
<bean id="firstSharedFileContentStore" class="org.alfresco.repo.content.filestore.FileContentStore"> <constructor-arg> <value>${dir.root}/storeA</value> </constructor-arg> </bean>
It looks to me that new contestore "storeA" is part of the existing dir.root. What should we do if we need to create a second contentstore on a different physical hard drive / path. i.e. "D:/alfresco_data"?
Thanks in advance for any response/help provided.
You can define a new content store using a UNC path so the new file system can be external and it can be mount on the Alfresco server as the following:
<bean id="externalFileContentStore" class="org.alfresco.repo.content.filestore.FileContentStore"> <constructor-arg> <value>//your/external/file/content/store/path</value> </constructor-arg> </bean>
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.