3 Replies Latest reply on Nov 9, 2012 1:54 AM by Jörg Hoh

    Best Practice for CQ Updates in complex installations (clustering, replication)?

    hrietz

      Hi everybody,

      we are planning a production setup of CQ 5.5 with an authoring cluster replicating to 4 publisher instances. We were wondering what the best update process looks like in a scenario like this. Let's say, we need to install the latest CQ 5 Update - which we actually have to -:

       

      • Do we need to do this on every single instance, or can replication be utilized to distribute updates?
      • If updating a cluster - same question: one instance at a time? Just one, and the cluster does the rest?

       

      The question is really: can update packages (official or custom) be automatically distributed to multiple instances? If yes, is there a "best practice" way to do this?

       

      Thanks for any help on this!

       

      Henning

        • 1. Re: Best Practice for CQ Updates in complex installations (clustering, replication)?
          Jörg Hoh Adobe Employee

          Hi Henning,

           

          • The CQ5.5 servicepacks are distributed as CRX packages. You can replicate these packages and on the publishs they are unpacked and installed.
          • In a cluster the situation is different: You have only 1 repository. So when you have installed the servicepack on one node, the new versions of bundles and other stuff is unpacked to the repository (most likely to /libs). Then the magic (essentially the JcrInstaller) takes care, that the bundles are extracted to started.

           

          I would not recommend to activate the service pack in a production environment, because then all publishs will be updated the same time. And as a restart is required, you might encounter downtimes. Of course you can make it work when you play with the replication agents :-)

           

          cheers,

          Jörg

          • 2. Re: Best Practice for CQ Updates in complex installations (clustering, replication)?
            hrietz Level 1

            Hi Jörg,

             

            many thanks for these helpful comments! I need to point out that we have a "share nothing" cluster, so there are two repositories involved. I was afraid, that the package would get replicated and that both cluster nodes would simultaneously install the package, possibly leading to...intersting...results. Is my fear irrational :-) ?

             

            Thanks again,

             

            Henning

            • 3. Re: Best Practice for CQ Updates in complex installations (clustering, replication)?
              Jörg Hoh Adobe Employee

              Hi Henning,

               

              technically you have 2 repositories, but logically it's only one. So when you install a package, you execute this operation on one node, and the other node syncs the results of this operation (that means, it syncs the unpacked files), but it does not execute the operation itself as well. That's the repository part.

               

              On top there is the JcrInstaller and OsgiInstaller, but these need to operate on both nodes, as OSGI per se is not clusteraware and needs to run on both nodes.

               

              Jörg