KNOWLEDGE BASE

Elastic search down after removing broken node


Published: 17 May 2022
Last Modified Date: 30 May 2022

Issue

After removing a broken node with elastic search process still deployed on it, the elastic search processes don't start correctly.

Environment

  • Tableau Server

Resolution

Reduce the amount of elastic search to just one node.

Stop tabadminagent on the node with Elastic search.
   - Run below script to disable Elastic search on node
C:\ProgramData\Tableau\Tableau Server\data\tabsvc\services\elasticserver*\disable.cmd
  - Browse to below location and rename the nodes directory to nodesold

C:\ProgramData\Tableau\Tableau Server\data\tabsvc\elasticserver\0\nodes

   - Run below script to start Elastic search (You can check in the logs at this point and just ensure that Elastic search is "not initialized"  you can see the following message in the log if it's not initialized - "Not yet initialized (you may need to run sgadmin)" )

C:\ProgramData\Tableau\Tableau Server\data\tabsvc\services\elasticserver*\enable.cmd
   - Run below script to initialize Elastic search
 C:\ProgramData\Tableau\Tableau Server\data\tabsvc\services\elasticserver*\data\run-sgadmin.cmd

Start tabadminagent
Did this article resolve the issue?