2 Replies Latest reply on Oct 11, 2016 8:00 AM by mnovak

    How to setup storage to support fail-over of A-MQ 7?

    remy.perisse.pro

      Dear All,

       

      In Artemis documentation, it's recommended to use SAN instead of NFS mounted drive.

      I have to build a new infrastructure (Windows based) to test efficiency of persistence and of the fail-over mode.

      To do that I will connect the SAN LUN directly on the 2 virtual servers. Is it the right way to configure the SAN for the fail-over? Is there a risk to corrupt files in this configuration, because the 2 servers could write in // on the same file? Where can I find doc of this subject?

      Thanks for your help.

      BR

       

      Rémy

        • 1. Re: How to setup storage to support fail-over of A-MQ 7?
          jbertram

          I can't provide details on how exactly to set up the SAN, but I can tell you that file locking should be enabled because this is how the broker determines if it should activate or not.  This will prevent both brokers from being active at the same time and writing to the journal concurrently.

          • 2. Re: How to setup storage to support fail-over of A-MQ 7?
            mnovak

            Hi Remy,

             

            there is one important information missing to SAN solution in Artemis doc. It should be SAN with GFS2 filesystem. GFS2 is implementation on RHEL 6/7 OS. Currently there is no officially supported shared store solution for Windows but as long as file locking will be working on journal on Windows, HA for Artemis will work. But you will need to test it on your own.

             

            You can consider to use replicated journal instead of shared store to avoid to buy expensive SAN. It's supported on all OSs. The price is lower performance.

             

            Cheers,

            Mirek