Alfresco: Configure various features

Audits

1. Open <ALFRESCO_HOME>/tomcat/shared/classes/alfresco-global.properties & add the following –

### Audits ###
audit.enabled=true
audit.alfresco-access.enabled=true
audit.alfresco-access.sub-actions.enabled=true
audit.filter.alfresco-access.default.enabled=true
audit.filter.alfresco-access.transaction.user=~null;.*
audit.filter.alfresco-access.transaction.type=cm:folder;cm:content;st:site
audit.filter.alfresco-access.transaction.path=~/sys:archivedItem;~/ver:;.*

2. Download audit-dashlet-0.43.jar

wget http://share-extras.googlecode.com/files/audit-dashlet-0.43.jar

3. Copy audit-dashlet-0.43.jar into <ALFRESCO_HOME>/tomcat/shared/lib folder

4. Login as admin and add the audit dashlet on the dashboard.

Clustering

1. Make a copy of ehcache-custom.xml.sample.cluster as ehcache-custom.xml

cp <ALFRESCO_HOME>/tomcat/shared/classes/alfresco/extension/ehcache-custom.xml.sample.cluster <ALFRESCO_HOME>/tomcat/shared/classes/alfresco/extension/ehcache-custom.xml

2.  Open <ALFRESCO_HOME>/tomcat/shared/classes/alfresco-global.properties & add the following –

### Clustering ###
index.recovery.mode=AUTO
dir.contentstore=${dir.root}/contentstore
dir.contentstore.deleted=${dir.root}/contentstore.deleted
dir.auditcontentstore=${dir.root}/audit.contentstore
alfresco.cluster.name=my-alfresco-cluster
alfresco.tcp.initial_hosts=<Machine1_IP>[7800],...
alfresco.jgroups.defaultProtocol=TCP
dir.indexes=${dir.root}/lucene-indexes
dir.indexes.backup=${dir.root}/backup-lucene-indexes
dir.indexes.lock=${dir.root}/locks

Please note that the attribute alfresco.cluster.name should have a value.

S3 Connector Integration

1. Download alfresco-s3-connector-1.0.0-5.amp

2. Copy the .amp file into amps folder

cp alfresco-s3-connector-1.0.0-5.amp <ALFRESCO_HOME>/amps

3. Run the apply_amps.sh script to install the .amp file

./apply_amps.sh

4. Check if the .amp is installed properly

java -jar alfresco-mmt.jar list <ALFRESCO_HOME>/tomcat/webapps/alfresco.war

5. Open <ALFRESCO_HOME>/tomcat/shared/classes/alfresco-global.properties & add the following –

### S3 Integration ###
s3.accessKey=<S3_ACCESS_KEY>
s3.secretKey=<S3_SECRET_KEY>
s3.bucketName=<S3_BUCKET_NAME>

Replication via HTTPS / SSL

Refer Alfresco – Replication HOWTO on how to set up replication

1. Open <ALFRESCO_HOME>/tomcat/bin/catalina.sh and add the following –

JAVA_OPTS="$JAVA_OPTS -Djavax.net.ssl.trustStore=<ALFRESCO_HOME>/alf_data/keystore/ssl.truststore -Djavax.net.ssl.trustStorePass=kT9X6oe68t -Djavax.net.ssl.trustStoreType=JCEKS"
Advertisement
This entry was posted in Technical and tagged , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s