5 Replies Latest reply on Nov 14, 2017 6:04 PM by Rajesh Hegde Branched to a new discussion.

    Tableau Server 10.3: Failed to setup Backup Primary

    Peter Weiss

      Hello,

       

      trying to set up a Backup Primary server of a Tableau installation in

      Azure environment. This time using a fresh 10.3.

       

      Managed to configure Primary with 2 Worker nodes successfully. Now

      checking instructions on

       

      https://onlinehelp.tableau.com/current/server/en-us/distrib_ha_create_backup_primary.htm

       

      I configure the primapry-failover on the Primary and copied the files

      on the Backup Primary in place. After modifications (identifiers

      wgserver.domain.nickname and worker.hosts). When I run a simple status

      command I get the following error:

       

      E:\Program Files (x86)\Tableau Server\10.3\bin>tabadmin status

        *** Failed to load configuration yamls

       

      E:\Program Files (x86)\Tableau Server\10.3\bin>

       

       

      The jks store is not readable by the jre keytool command:

       

       

      E:\Program Files (x86)\Tableau Server\10.3\repository\jre\bin>keytool -list -keystore "e:\Program Files (x86)\Tableau Server\config\tabsvc\keystores\tableauserver.jks"

      keytool error: java.io.IOException: Invalid keystore format

       

      E:\Program Files (x86)\Tableau Server\10.3\repository\jre\bin>

       

       

      The tabadmin.log file shows the following errors:

       

       

      [...]

      2017-06-04 13:40:24.815 +0200_DEBUG_10.120.192.7:az-we-hdp-tbs2_:_pid=11260_0x188ac8a3__user=__request=__ ====>> <script> 10.3 (build: 10300.17.0

      524.0223): Starting at 2017-06-04 13:40:24.800 +0200 <<====

      2017-06-04 13:40:26.970 +0200_DEBUG_10.120.192.7:az-we-hdp-tbs2_:_pid=11260_0x188ac8a3__user=__request=__ Configuring Java logging, to file E:/Pr

      ogram Files (x86)/Tableau Server/logs/tabsvc-tabadmin-java.log.

      2017-06-04 13:40:26.222 +0200_DEBUG_10.120.192.7:az-we-hdp-tbs2_:_pid=11260_0x188ac8a3__user=__request=__ run as: <script> status

      2017-06-04 13:40:26.628 +0200_DEBUG_10.120.192.7:az-we-hdp-tbs2_:_pid=11260_0x188ac8a3__user=__request=__ MultiCommand::ReportableError: Crypto c

      onfiguration is invalid.

       

      master key b1d4c9fc-ee37-4556-90d6-a7fb8e338fff is not in this keystore: E:/Program Files (x86)/Tableau Server/config/tabsvc/keystores//tableause

      rver.jks

       

       

      file:E:/Program Files (x86)/Tableau Server/10.3/bin/tabadmin.jar!/common/ruby/lib/crypto_service.rb:55:in `initCrypto'\nfile:E:/Program Files (x8

      6)/Tableau Server/10.3/bin/tabadmin.jar!/common/ruby/lib/appconfig.rb:239:in `_add_crypto_service_hook'\norg/jruby/RubyProc.java:270:in `call'\no

      rg/jruby/RubyProc.java:220:in `call'\nfile:E:/Program Files (x86)/Tableau Server/10.3/bin/tabadmin.jar!/common/ruby/lib/appconfig.rb:91:in `load_

      config_yamls'\norg/jruby/RubyArray.java:1615:in `each'\nfile:E:/Program Files (x86)/Tableau Server/10.3/bin/tabadmin.jar!/common/ruby/lib/appconf

      ig.rb:91:in `load_config_yamls'\nfile:E:/Program Files (x86)/Tableau Server/10.3/bin/tabadmin.jar!/common/ruby/lib/appconfig.rb:75:in `load_by_na

      me'\nfile:/E:/Program Files (x86)/Tableau Server/10.3/bin/tabadmin.jar!/lib/multicommand.rb:291:in `validate_config_files'\nfile:/E:/Program File

      s (x86)/Tableau Server/10.3/bin/tabadmin.jar!/lib/multicommand.rb:245:in `dispatch'\nfile:/E:/Program Files (x86)/Tableau Server/10.3/bin/tabadmi

      n.jar!/bin/tabadmin.rb:35:in `(root)'\norg/jruby/RubyKernel.java:1058:in `load'\nfile:/E:/Program Files (x86)/Tableau Server/10.3/bin/tabadmin.ja

      r!/bin/tabadmin.rb:1:in `(root)'\norg/jruby/RubyKernel.java:1033:in `require'\nfile:/E:/Program Files (x86)/Tableau Server/10.3/bin/tabadmin.jar!

      /META-INF/main.rb:36:in `require'\n<script>:3:in `(root)'

      2017-06-04 13:40:26.643 +0200_FATAL_10.120.192.7:az-we-hdp-tbs2_:_pid=11260_0x188ac8a3__user=__request=__ Failed to load configuration yamls

      2017-06-04 13:40:26.643 +0200_DEBUG_10.120.192.7:az-we-hdp-tbs2_:_pid=11260_0x188ac8a3__user=__request=__ NoConfiguration: Failed to load configu

      ration yamls

      file:E:/Program Files (x86)/Tableau Server/10.3/bin/tabadmin.jar!/common/ruby/lib/appconfig.rb:103:in `load_config_yamls'

      file:E:/Program Files (x86)/Tableau Server/10.3/bin/tabadmin.jar!/common/ruby/lib/appconfig.rb:75:in `load_by_name'

      file:/E:/Program Files (x86)/Tableau Server/10.3/bin/tabadmin.jar!/lib/multicommand.rb:291:in `validate_config_files'

      file:/E:/Program Files (x86)/Tableau Server/10.3/bin/tabadmin.jar!/lib/multicommand.rb:245:in `dispatch'

      file:/E:/Program Files (x86)/Tableau Server/10.3/bin/tabadmin.jar!/bin/tabadmin.rb:35:in `(root)'

      org/jruby/RubyKernel.java:1058:in `load'

      file:/E:/Program Files (x86)/Tableau Server/10.3/bin/tabadmin.jar!/bin/tabadmin.rb:1:in `(root)'

      org/jruby/RubyKernel.java:1033:in `require'

      file:/E:/Program Files (x86)/Tableau Server/10.3/bin/tabadmin.jar!/META-INF/main.rb:36:in `require'

      <script>:3:in `(root)'

      [...]

       

      How do I update the master key from the Primary on the Backup Primary?

       

      Thanks and regards --- Peter