cancel
Showing results for 
Search instead for 
Did you mean: 

Basic setup (scalable + Serious)

t16
Champ in-the-making
Champ in-the-making
Is this scenario remotely possible?

Two Alfresco web front ends, 2 Solr boxes and 2 Transform servers with load balancing between them?

Does the alfresco web front end install separately to the main Alfresco instance, or is the web front end and the instance one and the same, and you need to setup a proper alfresco cluster?

Or can we get away with ONE alfresco front end, 2 SOLR boxes, and 2 Transform servers to balance things out and allow scaling of users over time?

Im a total noob at this right now, but we wish to use Alfresco Enterprise, and build a serious setup that will deliver the fastest possible performance, even as more and more users and content are added to the system.

So we want to start big, and see how it goes.

Any advantage on installing the stuff on Windows boxes?

Our idea was to leverage MS SQL server at the very least, and Im assuming an ALfresco Linux instance can read from an MS SQL DB OK?

Sorry for all the questions. In short we want a monster setup, but also to keep as simple as possible. We would rather NOT have to "sync" two Alfresco instances in a cluster, but balancing between two web front ends if possible would simplify this if there was one Alfresco box behind the two web fronts.

Smiley Happy


Thanks!
10 REPLIES 10

mitpatoliya
Star Collaborator
Star Collaborator
Most of the possible combination which you have mentioned above are possible with Alfresco Enterprise.
You can have seperate Alfresco Share instance(WebFront) , Alfresco Repository and seperate Solr server. All of these can run on different instances.
So "one Alfresco box behind the two web fronts"  Possible.

Now as far as clustering is concerned you need to keep in mind three things to optimize the perfomance
Indexes, Database and FileSystem.

Different types of setups have different pro and cons, few area of treadeoffs are as follow.
Syncup delay, Downtime (High avilablity),Hardware Requirements, Scalability etc..

So, I guss this will give you good starting point.


mrogers
Star Contributor
Star Contributor
Answers yes you can do "serious scaling" with alfresco.   If you are really a  "total noob"  should probably get alfresco consulting or an alfresco partner to advise on your setup.  

The choice of what O.S. to run tends to be decided by whatever your admins are most comfortable with.   But I think the preferred platform is NOT windows. 

You can also "mix and match" your O.S. to suit for example you can run your MS database on windows.  And alfresco on linux.   Its not a problem.   You could even do it in separate VMs on the same box.   Or mix and match cloud computing.

t16
Champ in-the-making
Champ in-the-making
Hi Guys,

Thanks for the feed back, but its a project for myself as much as anythign else.

Can someone tell me a rough outline to have multiple share servers, a single content server and 2 x SOLR boxes?

I mean, when I install vanilla Alfresco, it installs with Share… How do I install an alfresco instance, with two share front ends separetely?

As it stands I dont know how to install just share on its own, and set it up to communicate to another alfresco server.

The SOLR boxes seem simple enough, one SOLR box dedicated to each share (web) front end?

The two web front ends syncing via Hazlecast?

Many thanks!!


mrogers
Star Contributor
Star Contributor
Rough outline is load balancer in the front.

Two instances of share.

One repository


And a load balancer in front of your solr nodes.   2 solr nodes is probably overkill.

Installation instructions are in docs.alfresco.com. 

t16
Champ in-the-making
Champ in-the-making
Wow straight from the horses mouth, I am honoured!

I was under the impression that the SOLR indexes had to be tied to each Share/Web front end?

But it seems you are saying that I can just point my two share front ends, at a load balancer with 2 SOLR servers behind it, which will give failover etc for SOLR also?

I assume both SOLR boxes speak to the single repository separately, or do they sync with each other somehow?

Thank you so much for the reply, its really appreciated. I'm starting to really love this stuff, never want to be a developer as I hate coding, but it seems there is so much stuff you can customise with the extensions folders etc that real hardcore coding of the java internals seems rare for us virtualisation guys! Smiley Happy


Forgot to mention, we have around 1200 users, not a lot I know, but things can get quite intensive by the nature of their use. So 2x Share + 1x DB + 1x Alfresco Repository + 2x SOLR + 2x Transform Server should give us the scale up performance for the future, AND provide some redundancy for us, in case we need to drop a VM for maintenance etc.

Do you think I am crazy for the above scenario, or do you think this is sensible and forward thinking?! You can be honest, I only started with this stuff a week ago and I'm hooked.

mrogers
Star Contributor
Star Contributor
Welcome.   No you are not crazy but I'd start with a small working system and then trick it out afterwards.

I don't think there's a direct link between solr and the front end.    (Its possible the recent 5.0 stuff has added one but AFIK that's not the case.)     So with one repository node you need the LB to spread out the load to multiple SOLRs.   

When you start clustering the repo nodes (Enterprise only) you can play with other patterns.  For example the last time I looked at the alfresco cloud it was 4 repo nodes serving the front end.    With two solr nodes behind and each solr node had a dedicated private repo node for tracking.

t16
Champ in-the-making
Champ in-the-making
HI guys I have another question im really sorry…

If I have Hazelcast enabled between two share front ends, is that enough to provide the Tomcat session replication between the two instances, or do I need to have hazelcast running, AND tomcat session replication configured also, or does Hazelcast do the whole lot?

THanks!!

mrogers
Star Contributor
Star Contributor
Follow the docs for clustering of http sessions.   

You just need to configure share to use hazelcast and off it goes!

t16
Champ in-the-making
Champ in-the-making
Smiley Happy !!

IS NFS an acceptable way of sharing a content store, or is something more serious like GlusterFS recommended?

If I have an existing local content store setup, and I want to point it at a shared store, do I just copy the files over from the local one to the shared one, or is there more to it?

Thank you so much for all your help. Im starting to get seriously into Alfresco, I really like and enjoy it, apart from the fact Im not anywhere near to the stage of coding up custom things, more just focused on the architecture and suchlike!