10 Replies Latest reply: May 12, 2014 9:36 AM by 913401 RSS

    Atg BCC cache invalidation for multisite

    2650355

      hi ,

         please help me to resolve the AG BCC CACHE INVALIDATION ISSUE.

       

      below are the details:

       

      1. One bcc instance have four target servers and configured for switching data source. When any content is published on bcc and after the project dployment i see the data getting updated in switching_a and switching_b databases

       

      But the modified content is seen on the site  only after manually invalidating the cache. I am really stuck withis issue.

       

      2. because of switching data sources content getting updated after bcc deployment and following are the property in the item-descriptor

      Cache mode is simple for the repository cache size=20000 and cache querysize=20000

       

      3. I tried to use selectivecacheinvalidation property on the respositories but didn't help and i didn't set any threshold because there are upto 80 assets getting deploy for each project.

       

      4. Even using cache mode distributed didn't help either i am not seeing the changes on the site unless cache is invalidated manually.

       

      5.also iimportant is this is multi site scenario which has same generic content for two sites.

       

      please let me know what could be wrong and please help me to resolve this issue.

       

      thanks,

      nani

        • 1. Re: Atg BCC cache invalidation for multisite
          2650355

          Hi,

              can someone reply back to my earlier issue I am facing with node cache invalidation.

           

          There are two repositories I am using GenericContentRespository and SiteBuilderRepository  and pushing the project from BCC and it gets deployed without any issues. But when I refresh the Site pages the latest content is not shown unless I manually invalidate the cache.

          1.the cache mode on the repositories is simple.

          2.configured for switchable data sources.

          3. item-cache-size and query-cache-size is 20000 for mostly used content.

          4. selectivecacheInvalidation property also used but not doing any cache invalidation.

           

          Environment:

          1 bcc instance and four agent servers that render multi site content.

           

          I couldn't figure out the problem. can someone please help me in resolving the issue asap.

           

          regards,

          • 2. Re: Atg BCC cache invalidation for multisite
            karthik chopperla

            Did you disable SelectiveCacheInvalidation?? When its disabled, it flushes the entire catalog cache.

             

            Just keep repository cache mode as simple and disable SelectiveCacheInvalidation.

             

            -karthik

            • 3. Re: Atg BCC cache invalidation for multisite
              2650355

              Hi karthik,

                               Selectivecacheinvalidation is false only. But still the issue is there and i am doing cache invalidation manually.

              i Checked agent rmi port and hostname in the node deployment agent Component and everything looks good.

              can you please help me resolve this

               

               

              Regards,

              • 4. Re: Atg BCC cache invalidation for multisite
                karthik chopperla

                Enable loggingDebug in DeploymentAgent and paste logs here.

                 

                -karthik

                • 5. Re: Atg BCC cache invalidation for multisite
                  2650355

                  Hi Karthik,

                                      Any updates for me after seeing the DeploymentAgent logs. the issue is still there and I am ending up doing manual cache invalidation.

                   

                  Any help is highly appreciated because I am trying to fix this issue from past two weeks.

                   

                  Below are todays logs

                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938182     /atg/epub/DeploymentServer     DistributedDeploymentAdapter:Deployment destinations:
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938183     /atg/epub/DeploymentServer         Subscription Repository
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938183     /atg/epub/DeploymentServer         CustomProductCatalog
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938183     /atg/epub/DeploymentServer         VanityUrlRepository
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938183     /atg/epub/DeploymentServer         GenericContentRepository
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938183     /atg/epub/DeploymentServer         Claimable
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938183     /atg/epub/DeploymentServer         /atg/epub/file/ConfigFileSystem::papvlskp04.d1.peapod.com:11007
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938183     /atg/epub/DeploymentServer         SEORepository
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938184     /atg/epub/DeploymentServer         PersonalizationRepository
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938184     /atg/epub/DeploymentServer         SiteRepository
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938184     /atg/epub/DeploymentServer         /atg/epub/file/ConfigFileSystem::papvlskp03.d1.peapod.com:11007
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938184     /atg/epub/DeploymentServer         /atg/epub/file/ConfigFileSystem::papvlskp05.d1.peapod.com:11007
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938184     /atg/epub/DeploymentServer         SiteBuilderRepository
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938185     /atg/epub/DeploymentServer         /atg/epub/file/ConfigFileSystem::papvlskp10.d1.peapod.com:11007
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938185     /atg/epub/DeploymentServer         PriceLists
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938186     /atg/epub/DeploymentServer     DistributedDeploymentAdapter:Deploy Data
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938186     /atg/epub/DeploymentServer     DistributedDeploymentAdapter:Starting DAF deployment with ID: 24000079
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938187     /atg/epub/DeploymentServer     DistributedDeploymentAdapter:Number of deployment operations:
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938187     /atg/epub/DeploymentServer         Repository '/ahold/subscription/SubscriptionRepository==>/ahold/subscription/SubscriptionRepository_production'
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938187     /atg/epub/DeploymentServer               add operations: 0
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938187     /atg/epub/DeploymentServer            update operations: 0
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938187     /atg/epub/DeploymentServer            delete operations: 0
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938187     /atg/epub/DeploymentServer         Repository '/atg/commerce/catalog/ProductCatalog==>/atg/commerce/catalog/ProductCatalog_production'
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938188     /atg/epub/DeploymentServer               add operations: 1
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938188     /atg/epub/DeploymentServer            update operations: 1
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938188     /atg/epub/DeploymentServer            delete operations: 0
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938188     /atg/epub/DeploymentServer         Repository '/ahold/vanityurl/repository/VanityUrlRepository==>/ahold/vanityurl/repository/VanityUrlRepository_production'
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938188     /atg/epub/DeploymentServer               add operations: 0
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938188     /atg/epub/DeploymentServer            update operations: 0
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938188     /atg/epub/DeploymentServer            delete operations: 0
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938189     /atg/epub/DeploymentServer         Repository '/ahold/content/GenericContentRepository==>/ahold/content/GenericContentRepository_production'
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938189     /atg/epub/DeploymentServer               add operations: 19
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938189     /atg/epub/DeploymentServer            update operations: 6
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938189     /atg/epub/DeploymentServer            delete operations: 0
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938189     /atg/epub/DeploymentServer         Repository 
                  '/spindrift/sitebuilder/SiteBuilderRepository==>/spindrift/sitebuilder/SiteBuilderRepository_production'
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938200     /atg/epub/DeploymentServer               add operations: 11
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938200     /atg/epub/DeploymentServer            update operations: 4
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938200     /atg/epub/DeploymentServer            delete operations: 0
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938200     /atg/epub/DeploymentServer     DistributedDeploymentAdapter:    Filesystem '/atg/epub/file/ConfigFileSystem==>/atg/epub/file/ConfigFileSystem'
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938200     /atg/epub/DeploymentServer               add operations: 0
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938201     /atg/epub/DeploymentServer            update operations: 0
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938201     /atg/epub/DeploymentServer            delete operations: 0
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938201     /atg/epub/DeploymentServer         Repository '/atg/commerce/pricing/priceLists/SecurePriceLists==>/atg/commerce/pricing/priceLists/PriceLists_production'
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938201     /atg/epub/DeploymentServer               add operations: 0
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938201     /atg/epub/DeploymentServer            update operations: 0
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938201     /atg/epub/DeploymentServer            delete operations: 0
                  **** info     Tue Apr 29 11:45:38 CDT 2014     1398789938201     /atg/deployment/DeploymentManager     Database: Oracle
                  **** debug     Tue Apr 29 11:45:38 CDT 2014     1398789938232     /atg/epub/DeploymentServer     DistributedDeploymentAdapter:Polling Until Data Appplied
                  **** info     Tue Apr 29 11:45:38 CDT 2014     1398789938233     /atg/deployment/DeploymentManager     Starting deployment with id: 24000079
                  **** info     Tue Apr 29 11:45:38 CDT 2014     1398789938245     /atg/deployment/DeploymentManager     Executing deployment in LOCAL mode
                  **** debug     Tue Apr 29 11:45:51 CDT 2014     1398789951535     /atg/epub/DeploymentServer     DistributedDeploymentAdapter:DeploymentListener.deploymentCompleted called for deployment with ID: 24000079
                  **** debug     Tue Apr 29 11:45:51 CDT 2014     1398789951535     /atg/epub/DeploymentServer     DistributedDeploymentAdapter:DAFDeploymentID: 24000079 matches DeploymmentID: 24000079
                  **** debug     Tue Apr 29 11:45:51 CDT 2014     1398789951535     /atg/epub/DeploymentServer     DistributedDeploymentAdapter:DeploymentListener.deploymentCompleted
                  **** info     Tue Apr 29 11:45:51 CDT 2014     1398789951535     /atg/deployment/DeploymentManager     Purging deployment data for deployment 24000079
                  **** debug     Tue Apr 29 11:45:51 CDT 2014     1398789951536     /atg/epub/DeploymentServer     state changing : new = DONE_APPLY : current = ACTIVE_CREATE : previous = ACTIVE_APPLY
                  **** info     Tue Apr 29 11:45:51 CDT 2014     1398789951765     /atg/deployment/DeploymentManager     Deployment 24000079 finished in 0:13.517
                  **** info     Tue Apr 29 11:45:51 CDT 2014     1398789951765     /atg/deployment/DeploymentManager     Averaged 3 assets per second
                  **** debug     Tue Apr 29 11:45:52 CDT 2014     1398789952620     /atg/epub/DeploymentServer     state changing : new = ACTIVE_ACTIVATE : current = DONE_APPLY : previous = ACTIVE_CREATE
                  **** debug     Tue Apr 29 11:45:57 CDT 2014     1398789957638     /atg/epub/DeploymentServer     state changing : new = ACTIVE_ACTIVATE_SWITCH_PREPARED : current = ACTIVE_ACTIVATE : previous = DONE_APPLY
                  **** debug     Tue Apr 29 11:45:58 CDT 2014     1398789958867     /atg/epub/DeploymentServer     state changing : new = DONE_ACTIVATE : current = ACTIVE_ACTIVATE_SWITCH_PREPARED : previous = ACTIVE_ACTIVATE

                  Regards,

                  Naveen

                  • 6. Re: Atg BCC cache invalidation for multisite
                    2650355

                    Hi,

                       Can someone reply back to my issue.

                     

                    Thanks

                    • 7. Re: Atg BCC cache invalidation for multisite
                      ItachiUnited

                      Hi,

                       

                      Try changing flushRepositoryCaches property of DeploymentAgent component in target instances to true. Hope this helps !!

                       

                      Thanks.

                      • 8. Re: Atg BCC cache invalidation for multisite
                        2650355

                        Hi,

                             flushRepositoryCaches property of DeploymentAgent component in target instances is false on all four target agents.

                        1. Can you please tell me how often the repository gets flushed?

                        2. Will it invalidate only the items get updated by deploying the projects in BCC ?

                        3. we have cache upto 20000 items in the cache.don't want to invalidate the entire cache for each deployment.

                         

                        please clarify my above points. thanks for your help

                         

                        regards,

                        • 9. Re: Atg BCC cache invalidation for multisite
                          2650355

                          Hi,

                               Can some one please clarify the usage of flushRepositoryCaches and answer my above questions.

                           

                          regards,

                          • 10. Re: Atg BCC cache invalidation for multisite
                            913401

                            Do you have a property like allowCacheInvalidations on the Catalog? If there is it true or false?

                             

                            Regards

                            Vishnu