<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Alfresco cluster configuration on RHEL. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-cluster-configuration-on-rhel/m-p/268691#M221821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sharing my experience in clustering here which i have earned during one of my implementations. I have implemented cluster setup as depicted in &lt;/SPAN&gt;&lt;A href="https://wiki.alfresco.com/wiki/File:Alfresco_LB_Diagram.png" rel="nofollow noopener noreferrer"&gt;https://wiki.alfresco.com/wiki/File:Alfresco_LB_Diagram.png&lt;/A&gt;&lt;SPAN&gt;. I have used alfresco+tomcat bundle here for this setup but hope this works for any application server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Target environment/components:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Alfresco 3.4.6 Enterprise.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Red Hat Enterprise Linux ver. 5.5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. JDK 1.6&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. MySQL 5.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Apache 2.2 (Load Balancer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. Tomcat 6.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cluster components:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Common Database (too clustered)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Common Content Store (On SAN)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Individual indices &amp;amp; cache&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have followed below steps to achieve the same. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NOTE: Apache is used as load balancer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Installed alfresco 3.4.6 on server1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. After installation updated /tomcat/shared/classes/alfresco-global.properties for setting up cluster for server1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Now for server1, i have indexes created locally under alf_data for server1; content store for server1 is mounted on a SAN @ /mysan/alfresco/my_content_store. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. DB for server1 is configured at other server @ jdbc:mysql://&amp;lt;DB IP&amp;gt;:3306/alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Updated index.recovery.mode=AUTO for cluster setup. Sample properties are&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;index.recovery.mode=AUTO&lt;BR /&gt;&lt;BR /&gt;dir.root=/mysan/alfresco/my_content_store&lt;BR /&gt;dir.contentstore=${dir.root}/contentstore&lt;BR /&gt;dir.contentstore.deleted=${dir.root}/contentstore.deleted&lt;BR /&gt;dir.auditcontentstore=${dir.root}/audit.contentstore&lt;BR /&gt;&lt;BR /&gt;dir.indexes=/usr/local/softwares/alfresco/alf_data/lucene-indexes&lt;BR /&gt;dir.indexes.backup=/usr/local/softwares/alfresco/alf_data/backup-lucene-indexes&lt;BR /&gt;dir.indexes.lock=/usr/local/softwares/alfresco/alf_data/locks&lt;BR /&gt;&lt;BR /&gt;alfresco.cluster.name=my-cluster&lt;BR /&gt;alfresco.tcp.initial_hosts=&amp;lt;IP 1&amp;gt;[7800],&amp;lt;IP 2&amp;gt;[7800]&lt;BR /&gt;alfresco.jgroups.defaultProtocol=TCP&lt;BR /&gt;&lt;BR /&gt;db.driver=org.gjt.mm.mysql.Driver&lt;BR /&gt;db.username=admin&lt;BR /&gt;db.password=admin&lt;BR /&gt;db.name=alfresco&lt;BR /&gt;db.url=jdbc:mysql://&amp;lt;DB IP&amp;gt;:3306/alfresco&lt;BR /&gt;hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;6. Started server1 &amp;amp; logged into explorer/share, its working fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. Stopped server1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;8. Installed alfresco 3.4.6 on server2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;9. After installation updated /tomcat/shared/classes/alfresco-global.properties for setting up cluster for server2 as below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;10. Now for server2, i have indexes created locally under alf_data for server2;content store is mounted on a SAN @ /mysan/alfresco/my_content_store and db for server2 @ jdbc:mysql://&amp;lt;DB IP&amp;gt;:3306/alfresco. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;11. Updated index.recovery.mode=AUTO. Below are sample properties for server2 in cluster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;index.recovery.mode=AUTO&lt;BR /&gt;&lt;BR /&gt;dir.root=/mysan/alfresco/alf_dat_auth&lt;BR /&gt;dir.contentstore=${dir.root}/contentstore&lt;BR /&gt;dir.contentstore.deleted=${dir.root}/contentstore.deleted&lt;BR /&gt;dir.auditcontentstore=${dir.root}/audit.contentstore&lt;BR /&gt;&lt;BR /&gt;dir.indexes=/usr/local/softwares/alfresco/alf_data/lucene-indexes&lt;BR /&gt;dir.indexes.backup=/usr/local/softwares/alfresco/alf_data/backup-lucene-indexes&lt;BR /&gt;dir.indexes.lock=/usr/local/softwares/alfresco/alf_data/locks&lt;BR /&gt;&lt;BR /&gt;alfresco.cluster.name=my-cluster&lt;BR /&gt;alfresco.tcp.initial_hosts=&amp;lt;IP 1&amp;gt;[7800],&amp;lt;IP 2&amp;gt;[7800]&lt;BR /&gt;alfresco.jgroups.defaultProtocol=TCP&lt;BR /&gt;&lt;BR /&gt;db.driver=org.gjt.mm.mysql.Driver&lt;BR /&gt;db.username=admin&lt;BR /&gt;db.password=admin&lt;BR /&gt;db.name=alfresco&lt;BR /&gt;db.url=jdbc:mysql://&amp;lt;DB IP&amp;gt;:3306/alfresco&lt;BR /&gt;hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;12. Started server2 &amp;amp; logged into explorer/share, its working fine. It may take some time due to index updates for cluster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;13. Restarted server1. I can access both servers simultaneously.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;14. No error till now so assuming both server1 &amp;amp; server2 are fine and a cluster has been setup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;15. Tested setup as per &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Cluster_Configuration_V2.1.3_and_Later#Testing_the_cluster" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Cluster_Configuration_V2.1.3_and_Later#Testing_the_cluster&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16. Tested Cache clustering, Index clustering &amp;amp; Content replication/sharing. Working fine as i can see content updated on one server is reflected on other server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;17. High Availability is maintained by load balancer which takes care of incoming requests &amp;amp; forwards them to current active node at any time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All set for this cluster. More servers can be added as per need. Its working perfectly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Feb 2012 10:40:32 GMT</pubDate>
    <dc:creator>dynamolalit</dc:creator>
    <dc:date>2012-02-28T10:40:32Z</dc:date>
    <item>
      <title>Alfresco cluster configuration on RHEL.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-cluster-configuration-on-rhel/m-p/268691#M221821</link>
      <description>Hi All,I am sharing my experience in clustering here which i have earned during one of my implementations. I have implemented cluster setup as depicted in https://wiki.alfresco.com/wiki/File:Alfresco_LB_Diagram.png. I have used alfresco+tomcat bundle here for this setup but hope this works for any a</description>
      <pubDate>Tue, 28 Feb 2012 10:40:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-cluster-configuration-on-rhel/m-p/268691#M221821</guid>
      <dc:creator>dynamolalit</dc:creator>
      <dc:date>2012-02-28T10:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco cluster configuration on RHEL.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-cluster-configuration-on-rhel/m-p/268692#M221822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi, for load balancing, did you use a HW load balancer or Apache with mod-proxy/mod-jk?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have implemented 4.0d with mod-jk, but am wondering how I would do CIFS and IMAP services as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[edit] FYI I have implemented with nginx for web and IMAP, a short writeup here &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=6&amp;amp;t=43626" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=6&amp;amp;t=43626&lt;/A&gt;&lt;SPAN&gt; [/edit]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 08:25:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-cluster-configuration-on-rhel/m-p/268692#M221822</guid>
      <dc:creator>xarope</dc:creator>
      <dc:date>2012-03-19T08:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco cluster configuration on RHEL.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-cluster-configuration-on-rhel/m-p/268693#M221823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is your load balancing working for. I am using mod-jk and i am having problem with "Upload" function in share. Everything else works fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 16:01:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-cluster-configuration-on-rhel/m-p/268693#M221823</guid>
      <dc:creator>vchiluku</dc:creator>
      <dc:date>2012-03-23T16:01:39Z</dc:date>
    </item>
  </channel>
</rss>

