Can we move Alfresco installation to other location

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
romil_jhalani
Member II

Can we move Alfresco installation to other location

Jump to solution

Hi,

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.

My ask,

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.

Please suggest.

Thank you.

1 Solution

Accepted Solutions
kalpesh_c2
Senior Member

Re: Can we move Alfresco installation to other location

Jump to solution

Hi Romil,

If you want to move your existing Alfresco to the newly configured server, then 

1. Take a backup of existing Alfresco (database, alf_data, indexes, customization and other configurations)

2. Install fresh Alfresco to the newly configured server

3. Restore your Alfresco backup to the newly installed Alfresco

4. Apply you customization and configurations

5. For the better performance, fine tune the jvm

NOTE: You can also point existing alf_data with the newly installed Alfresco. If big log files are creating problems then you can backup those log files to other server.

Thanks,

Kalpesh

ContCentric

3 Replies
cesarista
Advanced

Re: Can we move Alfresco installation to other location

Jump to solution

Hi:

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).

So:

- 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) :

- Configuring contentstore and SOLR indices in Alfresco 5 - zylk 

Additionally, if you have storage problems due alfresco logs, you have to clean them periodically:  

Basic maintenaince of your Alfresco logs - Simple tips about Alfresco logs - zylk 

Hope that helps.

Regards.

--C:

romil_jhalani
Member II

Re: Can we move Alfresco installation to other location

Jump to solution

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.

Please suggest.

Thanks you.

kalpesh_c2
Senior Member

Re: Can we move Alfresco installation to other location

Jump to solution

Hi Romil,

If you want to move your existing Alfresco to the newly configured server, then 

1. Take a backup of existing Alfresco (database, alf_data, indexes, customization and other configurations)

2. Install fresh Alfresco to the newly configured server

3. Restore your Alfresco backup to the newly installed Alfresco

4. Apply you customization and configurations

5. For the better performance, fine tune the jvm

NOTE: You can also point existing alf_data with the newly installed Alfresco. If big log files are creating problems then you can backup those log files to other server.

Thanks,

Kalpesh

ContCentric