2 Replies Latest reply on Nov 27, 2016 2:38 PM by Madhusudhan Khambham

    High Availability server architecture setup

    Madhusudhan Khambham

      Hi,

       

      We have spent some decent time in analyzing the documents available in the Tableau Knowledge Base to understand the HA server configuration setup.

       

      We have the following questions while implementing the failover primary setup . Could you please answer the below questions.

       

      1. We see only the steps we need to implement HA primary server is to create a backup primary and then switch to Backup Primary. Is that right? Or we are missing something?

      2. How about the content/data? Do we need to take the backup .tsbak in Primary machine and restore it in the Backup machine before we switch to backup primary?

      3. If your answer is no to point no 2, then how does it work? How the Backup machine will interact with the worker machines(from Primary machine) and cater the requests coming from the users?

       

      Thanks for your help in advance

      Madhu K

        • 1. Re: High Availability server architecture setup
          Mark McGhee

          Hi Madhu,

           

          (1)  This is correct, for High Availability (HA) you basically have redundant services running on both workers.  That way if the services on one worker go down for some reason, you still have services running on the other worker.  To complete the HA picture you also want to be able to recover if something happens to the Primary.   So if for some reason your Primary goes down (eg hard drive crash) you can run the command to switch over to your Backup Primary.   If you don't have a Backup Primary and your Primary goes down and you're unable to bring it up, the workers nodes will eventually fail their internal licensing check (since they can no longer reach the Primary) and they will become unlicensed.

           

          (2) The Backup Primary is mostly in regards to having another node that can take over licensing as well as coordinate the workers.  When you setup the Backup Primary you're basically telling the workers to accept commands from either the Primary or the Backup Primary.  But you wont' be running the Primary and Backup Primary at the same time, only one should be active.  If your Primary fails you'll need to run the tabadmin failoverprimary command to switchover to your Backup Primary.

           

          (3) The Primary would not be hosting the repository in a HA environment.   More than likely your team has already been reviewing the links in Help but for the benefit of folks who might be viewing this thread including this link below:

           

          Understanding High Availability

           

          You can see in the diagram that the repository is not hosted on the Primary.  If the main repository fails one one worker it should automatically cutover to using the backup repository which is kept in sync.  The Backup Primary only comes into play if your Primary goes down and cannot be brought up for whatever reason.

          1 of 1 people found this helpful
          • 2. Re: High Availability server architecture setup
            Madhusudhan Khambham

            Thanks for confirming and answering the questions Mark. Appreciated much for your time and help.

             

            Thanks & Regards

            Madhu K