cancel
Showing results for 
Search instead for 
Did you mean: 

Indexes location for High availability

bucher0n
Champ in-the-making
Champ in-the-making
Hi,

I am trying to deploy an architecture similar to the following :
http://www.slideshare.net/alfresco/06192008-high-availability-clustering-with-alfresco on slide 9

Do I have to specify a dir.indexes in my alfresco-global.properties file ? The indexes must be located locally, right ?

Because, as described on slide 10, when I start the server B with full index recovery, I get some errors on server A : "index is missing".

Thanks for your help
3 REPLIES 3

luca
Star Contributor
Star Contributor
Are you sure the two server doesn't share the same index folder?

Because you have to have two separate folder for indexes for server A and for server B.

bucher0n
Champ in-the-making
Champ in-the-making
I got my answer, I have to specify a local folder for each server in dir.indexes.
But the indexes backup is shared (dir.indexes.backup), on a NAS for example.

Looks OK for me, can anyone confirm this?

Cheers

luca
Star Contributor
Star Contributor
If you don't share indexes, I don't think it's a good idea to share indexes.backup.

In my opinion if you want to have separate indexes and it's better to have separate backup. If you want to write the backup directly to a shared drive you can create symbolic link for dir.indexes.backup that point to a backup folder in your shared drive, but one folder for server A and another folder for server B!