4 Replies Latest reply on Dec 5, 2016 8:24 AM by Santiago Sanchez

    DR setup is not working

    pinki sharma

      Hi,

       

      I am trying to make DR setup but its not working.

      I have  2 machines for primary and backup primary. No worker nodes.

       

      Steps followed –

      Steps to create DR - https://onlinehelp.tableau.com/current/server/en-us/distrib_ha_create_backup_primary.htm

        • Opened Machine A
        • tabadmin stop
        • tabadmin failoverprimary --primary "primary1_name,primary2_name_backup"
        • copied tabsvc.yml (C:\ProgramData\Tableau\Tableau Server\config)  in local machine and edited gateway.external_url: http://host_name_of_machine_A to gateway.external_url: http://host_name_of_machine_B
        • Opened Machine B
        • Stopped Machine B  backup server
        • tabadmin autostart off
        • tabadmin config

           Steps to swith to backup server - https://onlinehelp.tableau.com/current/server/en-us/distrib_ha_switch_primary.htm

        • Stopped Machine A server
        • Copied edited tabsvc.yml in Machine B  server
        • tabadmin failoverprimary --primary "primary2_name_backup,primary1_name "
        • tabadmin autostart on
        • tabadmin config
        • Started backup server Machine B

      Now trying to access http://Machine B . Its saying sigin failed.

       

      Please Help!!!!!

       

      Thanks in Advance.

       

      Regards,

      Pinki Sharma

        • 1. Re: DR setup is not working
          Santiago Sanchez

          Hi Pinky,

           

          Setting up a backup primary will not really help in a disaster recovery scenario. A backup primary is useful on a high availability setup, as described here: Understanding High Availability.

           

          One thing you could do for DR is to have 2 instances of Tableau Server ready: one in production and one as backup. If at any point the production server goes down, you could redirect users to the backup server (this could be automated using a proxy/load-balancer, for example). For this to work, you'd need to keep the content synchronized in both environments as regularly as possible. Probably the easiest alternative is to use daily backup/restore operations as described here: Back Up Tableau Server Data.

           

          I'd highly suggest contacting your Tableau representative for a more in-depth conversation and selecting the right strategy.

           

          Hope this helps!

          1 of 1 people found this helpful
          • 2. Re: DR setup is not working
            pinki sharma

            Hi Santiago Sanchez ,

             

            As you suggested, now i am taking daily backup of active server and restoring it in standby server when active fails.

            I have only 1 tableau server license which is used in active tableau server. on second machine i installed trial version.

            Standby server will be up when  primary or active fails.

            when i stopping active server and restoring backup in standby server , license key is not updating in standby server. It still showing trail version will expire in N days.

             

            I have a question here:  Can I use same license key for standby server . If yes , how ?

            Please help.

             

            Thanks in advance !!!!

             

            Regards,

            Pinki Sharma

             

            • 3. Re: DR setup is not working
              Madhusudhan Khambham

              pinki sharma

               

              Yes, You can use the same license . Tableau one license will work in one PROD  & two non-prod environments. Your back up machine can be a non-prod environment and utilize this.

               

              Let me know, if you have any questions.

               

              Thanks & Regards

              Madhu K

              • 4. Re: DR setup is not working
                Santiago Sanchez

                Madhu is on point! So long you only keep one server in production, you can use the same key. To activate your backup server you can follow the steps here: Upgrading from Trial to Licensed Version of Tableau Server | Tableau Software