Showing posts with label Cluster. Show all posts
Showing posts with label Cluster. Show all posts

Saturday, July 08, 2017

Alfresco Cluster Node Identification

PaidVerts
When alfresco is under multiple nodes and we want to know where our request goes and on which node, by default it is hard to find where actual request redirected.

You can change below things and afterwards you are able to see node details


#1. Open tomcat/conf/server.xml
#2.  Search  <Engine name="Catalina" defaultHost="localhost">

#3. Looks like

#4. Update that configuration to your node specific

#5. It should now looks like below


#6. Restart alfresco
#7. After starting alfresco you come to know by inspect element in browser
like below


Saturday, October 15, 2016

Setting up Alfresco Cluster

Setting up Alfresco Repository Cluster
===========================

Clustered environment is very beneficial when we are dealing with multiple node and require high availability to the application.
If any of the node is down, it is automatically served requests to other active node.
Clustered node are synced to each other.

There are no major steps to bind cluster in alfresco 5.1

Below are the requirement to keep nodes into repository cluster

Step 1 : Database is common
multiple node should be pointed out to single db in alfresco-global.properties file.

Step 2 : Content Store is common
Like DB, content store should be also pointed and shared among all nodes.

Step 3 : Enable cluster from Config
Enable setting via alfresco-global.properties file

alfresco.cluster.enabled = true

Above setting automatically enable clustering your nodes in repository.

Enable below setting in log4j.properties to see info statements


log4j.logger.org.alfresco.enterprise.repo.cluster=info