Is it possible to change where alf_data directory is created

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2010 11:06 AM
Greetings.
Not sure if this is a config or installation question.
I currently have alfresco up and running. I am preparing to do a new install on a different machine and would like to have the alf_data to be created on a different disk from the appserver.(hope I said that right)
Basically I'm looking to seperate the data store under alf_data from the other alfresco related stuff.
Currently I have this in the alfresco.sh file:
When alfresco starts up for the first time the alf_data directory gets created under ALF_HOME.
I would like to have the alf_data located on a different disk. Is that possible?
For instance if I changed the alfresco.sh file so:
That would cause the alf_data directory to be placed in the ALF_HOME on disk5.
Is that the suggested or prefered way to accomplish this or is there somplace else I should be doing this?
Thanks,
steve.
Not sure if this is a config or installation question.
I currently have alfresco up and running. I am preparing to do a new install on a different machine and would like to have the alf_data to be created on a different disk from the appserver.(hope I said that right)
Basically I'm looking to seperate the data store under alf_data from the other alfresco related stuff.
Currently I have this in the alfresco.sh file:
ALF_HOME=/disk4/xxxx andAPPSERVER="${ALF_HOME}/tomcat"
When alfresco starts up for the first time the alf_data directory gets created under ALF_HOME.
I would like to have the alf_data located on a different disk. Is that possible?
For instance if I changed the alfresco.sh file so:
ALF_HOME=/disk5/xxxxxandAPPSERVER=/disk4/xxxx/tomcat
That would cause the alf_data directory to be placed in the ALF_HOME on disk5.
Is that the suggested or prefered way to accomplish this or is there somplace else I should be doing this?
Thanks,
steve.
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2010 05:38 PM
You want to set the dir.root property in your alfresco.global.properties.
Since you already have some data in your current location after you change the location of your content store you will either need to copy the existing content to the new location or drop and re-create the empty database for alfresco to use.
Since you already have some data in your current location after you change the location of your content store you will either need to copy the existing content to the new location or drop and re-create the empty database for alfresco to use.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2010 09:12 AM
Great. I sort of thought that would be what I would need to do but I justed wanted to be sure.
Thanks.
S.
Thanks.
S.
