I have Alfresco installed on a FileSystem which is having less available space (~6 GB) being unaware initially. Later, we have got some space allocated, and we moved the alf_data to some newly provisioned FileSystem with available space of 200GB.
Now, sometimes we are facing issues when alfresco (or tomcat) logs is choking up the 6GB filesystem.
1. can we move alfresco installation drive from one a drive which is '/opi/alfresco' (6GB) to '/alfresco' (200GB)?
2. If yes, what is the process of doing it and what changes I need to do e.g in configuration or properties changes for this relocation.
3. Is there any impact in doing this because this is a produciton instance.
You can not move directly, many paths are coded in tomcat configuration files such as server.xml (keystore) or alfresco-global.properties (variables such as dir.root or external programs paths).
- You may mount your new filesystem under /opt/ (and then copy alfresco directory) - you may previously need to rename current /opt
- You may also mount your new filesystem in /opt/data and only copy the /opt/alfresco/alf_data/contentstore like in the next post (setting the dir.contentstore variable in alfresco-global.properties) :
Thank you for the response Cesar Capillas. We followed option 2nd and moved the contentstore to more spacious drive. Thats gave us some room to breathe. But still the current installation drive is getting choked up with the Tomcat logs frequently. Every 3 to 4 days, we need to archive previous logs to another drive (Cannot delete logs as per our production policy).
Can we, instead of moving the current Alfresco installation to other spacious drive, install a fresh Alfresco on the spacious drive and point the contentstore to the existing alf_data directory. Is this a possibility at all? If yes, do we need to make any extra configuraitons.