<?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 Re: trouble getting content up on both sides of Alfresco in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/trouble-getting-content-up-on-both-sides-of-alfresco/m-p/188373#M141503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This approach is unlikely to work for a number of reasons:&lt;/SPAN&gt;&lt;BR /&gt;&lt;OL style="list-style-type:decimal;"&gt;&lt;LI&gt;As you've discovered, without cluster-wide cache coherency (which is achieved via EHCache configuration) content updates don't appear right away on anything but the node where the update took place.&amp;nbsp; This problem is serious enough that it can lead to corruption if not corrected.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;The latencies inherent in replication (be it via rsync or Oracle or something else) are likely to cause further problems, even if the cache coherency problem is resolved.&amp;nbsp; This is because EHCache distributes events synchronously with respect to each Alfresco transaction, whereas replication is likely to be asynchronous ie. executes some time (perhaps even minutes) after the Alfresco transaction has completed.&amp;nbsp; During that window the cache and replicated persistent storage (Oracle + filesystem) on each recipient node will be out of sync, causing all manner of unexpected behaviour.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Directly manipulating the Alfresco database and filesystem while Alfresco is running is guaranteed to cause any number of problems (including corruption, excessive blocking and sporadic lock related errors, and poor performance).&amp;nbsp; Alfresco &lt;EM&gt;requires&lt;/EM&gt; exclusive access to both.&lt;/LI&gt;&lt;/OL&gt;&lt;SPAN&gt;As described at &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Cluster_Configuration_V2.1.3_and_Later" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Cluster_Configuration_V2.1.3_and_Later&lt;/A&gt;&lt;SPAN&gt;, Alfresco clustering fundamentally requires a single logical database and filesystem across the cluster.&amp;nbsp; These may in fact be clustered themselves, but both components &lt;/SPAN&gt;&lt;EM&gt;must&lt;/EM&gt;&lt;SPAN&gt; act as though they are each a single system.&amp;nbsp; Replication doesn't provide that guarantee, primarily due to the latencies involved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Sep 2008 04:28:35 GMT</pubDate>
    <dc:creator>pmonks</dc:creator>
    <dc:date>2008-09-11T04:28:35Z</dc:date>
    <item>
      <title>trouble getting content up on both sides of Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/trouble-getting-content-up-on-both-sides-of-alfresco/m-p/188372#M141502</link>
      <description>We are having trouble getting content to show up on both sides of our Alfresco setup.&amp;nbsp; - Alfresco 3.0.0 (schema 128)&amp;nbsp; - Geographically separated Oracle 10g databases in which our Alfresco schema is eing replicated via Oracle streams&amp;nbsp; - Geographically separated Alfresco application servers running To</description>
      <pubDate>Tue, 09 Sep 2008 19:46:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/trouble-getting-content-up-on-both-sides-of-alfresco/m-p/188372#M141502</guid>
      <dc:creator>gendhar</dc:creator>
      <dc:date>2008-09-09T19:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: trouble getting content up on both sides of Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/trouble-getting-content-up-on-both-sides-of-alfresco/m-p/188373#M141503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This approach is unlikely to work for a number of reasons:&lt;/SPAN&gt;&lt;BR /&gt;&lt;OL style="list-style-type:decimal;"&gt;&lt;LI&gt;As you've discovered, without cluster-wide cache coherency (which is achieved via EHCache configuration) content updates don't appear right away on anything but the node where the update took place.&amp;nbsp; This problem is serious enough that it can lead to corruption if not corrected.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;The latencies inherent in replication (be it via rsync or Oracle or something else) are likely to cause further problems, even if the cache coherency problem is resolved.&amp;nbsp; This is because EHCache distributes events synchronously with respect to each Alfresco transaction, whereas replication is likely to be asynchronous ie. executes some time (perhaps even minutes) after the Alfresco transaction has completed.&amp;nbsp; During that window the cache and replicated persistent storage (Oracle + filesystem) on each recipient node will be out of sync, causing all manner of unexpected behaviour.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Directly manipulating the Alfresco database and filesystem while Alfresco is running is guaranteed to cause any number of problems (including corruption, excessive blocking and sporadic lock related errors, and poor performance).&amp;nbsp; Alfresco &lt;EM&gt;requires&lt;/EM&gt; exclusive access to both.&lt;/LI&gt;&lt;/OL&gt;&lt;SPAN&gt;As described at &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Cluster_Configuration_V2.1.3_and_Later" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Cluster_Configuration_V2.1.3_and_Later&lt;/A&gt;&lt;SPAN&gt;, Alfresco clustering fundamentally requires a single logical database and filesystem across the cluster.&amp;nbsp; These may in fact be clustered themselves, but both components &lt;/SPAN&gt;&lt;EM&gt;must&lt;/EM&gt;&lt;SPAN&gt; act as though they are each a single system.&amp;nbsp; Replication doesn't provide that guarantee, primarily due to the latencies involved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 04:28:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/trouble-getting-content-up-on-both-sides-of-alfresco/m-p/188373#M141503</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-09-11T04:28:35Z</dc:date>
    </item>
  </channel>
</rss>

