cancel
Showing results for 
Search instead for 
Did you mean: 

Mulit Share

michaelc
Champ on-the-rise
Champ on-the-rise
So I have been trying to find an answer for this and followed several links with no end result.

http://forums.alfresco.com/en/viewtopic.php?t=275 
http://forums.alfresco.com/en/viewtopic.php?t=39309

Topic has been around for some time.
I think this should work, has anyone tried this ?

1. create multiple instances of Alfresco/share each with it's own database and tomcat server.
2. configure each to run on it's own port  8008, 8009 etc. 
3  in the 2nd, 3rd instance rename the share and alfresco war file to another name.
4. start up each instance.
5. in the mod_js.conf and worker.properties defines the alfresco/share tomcat instances.

this all seems workable but . . .
with the backend service calls 
      theUrl = '/slingshot/datalists/lists/site/' + site + '/' + container + '?page=1&pageSize=512';
      connector = remote.connect("alfresco");
or
      remote.call("/api/sites/" + page.url.templateArgs.site);
Will I have any issues with the application name changes ? 

I also think I may need to modify the following
slingshot-application-context.xml
create-site.get.properties
file-servers.xml
repository.properties

So this all seems very functional have I missed anything that my be a gottcha later ?
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
If you want four independent and separate instances of the repository / share its probably easiest to configure four separate instances of tomcat.     Its just a matter of configuring separate sets of ports and the database.    Or another option is to have multiple IP addresses on each box and use the same ports but a different IP address for each server.

And please note you should be configuring share though
share-config-custom.xml
and the repo through alfresco-global.properties.

michaelc
Champ on-the-rise
Champ on-the-rise
If you want four independent and separate instances of the repository / share its probably easiest to configure four separate instances of tomcat.     Its just a matter of configuring separate sets of ports and the database.    Or another option is to have multiple IP addresses on each box and use the same ports but a different IP address for each server.

And please note you should be configuring share though
share-config-custom.xml
and the repo through alfresco-global.properties.


Thanks
   that's what I wanted to know.