Difference between revisions of "Rack Reset"

From truxwiki.com
Jump to navigation Jump to search
 
Line 9: Line 9:
 
This machine serves as the Message Bus server, SOLR server as well as hosting singletons.
 
This machine serves as the Message Bus server, SOLR server as well as hosting singletons.
  
# Stop SOLR by running <source lang="BAT">D:\stopsolr.bat</source>
+
# Stop SOLR by running <code>D:\stopsolr.bat</code>
 
# Stop the [[Les|Load Status Monitor]] <source lang="BAT">net stop les</source>
 
# Stop the [[Les|Load Status Monitor]] <source lang="BAT">net stop les</source>
 
# Stop the [[Truxton Service|ETLs]] <source lang="BAT">net stop truxton</source>
 
# Stop the [[Truxton Service|ETLs]] <source lang="BAT">net stop truxton</source>
Line 86: Line 86:
  
 
==U01 - Stop the Message Bus==
 
==U01 - Stop the Message Bus==
Run <source lang="BAT">D:\Rack Reset Step 1.cmd</source>
+
Run <code>D:\Rack Reset Step 1.cmd</code>
  
 
==U03 - Stop the Load Database==
 
==U03 - Stop the Load Database==
Run <source lang="BAT">D:\Rack Reset Step 1.cmd</source>
+
Run <code>D:\Rack Reset Step 1.cmd</code>
  
 
==U05 - Stop Node 1==
 
==U05 - Stop Node 1==
Run <source lang="BAT">D:\Rack Reset.cmd</source>
+
Run <code>D:\Rack Reset.cmd</code>
  
 
==U07 - Stop Node 2==
 
==U07 - Stop Node 2==
Run <source lang="BAT">D:\Rack Reset.cmd</source>
+
Run <code>D:\Rack Reset.cmd</code>
  
 
==U09 - Stop Node 3==
 
==U09 - Stop Node 3==
Run <source lang="BAT">D:\Rack Reset.cmd</source>
+
Run <code>D:\Rack Reset.cmd</code>
  
 
==U11 - Stop Node 4==
 
==U11 - Stop Node 4==
Run <source lang="BAT">D:\Rack Reset.cmd</source>
+
Run <code>D:\Rack Reset.cmd</code>
  
 
==U13 - Stop Node 5==
 
==U13 - Stop Node 5==
Run <source lang="BAT">D:\Rack Reset.cmd</source>
+
Run <code>D:\Rack Reset.cmd</code>
  
 
==U01 - Clean the Message Bus==
 
==U01 - Clean the Message Bus==
Run <source lang="BAT">D:\Rack Reset 2.cmd</source>
+
Run <code>D:\Rack Reset 2.cmd</code>
  
 
==U03 - Clean the Load Database==
 
==U03 - Clean the Load Database==
Run <source lang="BAT">D:\Rack Reset 2.cmd</source>
+
Run <code>D:\Rack Reset 2.cmd</code>

Latest revision as of 06:06, 4 March 2021

This page details how to stop, remove and free data associated with Truxton. You would do this when you want to start with a fresh install of Truxton.

Perform the following tasks to reset the rack to a virgin state.

Detailed Instructions

U01 - Stop the Message Bus

This machine serves as the Message Bus server, SOLR server as well as hosting singletons.

  1. Stop SOLR by running D:\stopsolr.bat
  2. Stop the Load Status Monitor
    net stop les
    
  3. Stop the ETLs
    net stop truxton
    
  4. Uninstall Truxton
  5. Delete the files in C:\ProgramData\Truxton\Settings
  6. Delete the files in C:\ClusterStorage\Scratch\U01\Logs
  7. Delete the files in C:\ClusterStorage\Scratch\U01\Search

U03 - Stop the Load Database

This machine serves as the loading database.

  1. Stop the ETLs
    net stop truxton
    
  2. Uninstall Truxton
  3. Delete the files in C:\ProgramData\Truxton\Settings
  4. Delete the files in C:\ClusterStorage\Scratch\U03\Logs
  5. Delete the files in C:\ClusterStorage\Scratch\U03\Search
  6. Delete the files in C:\ClusterStorage\Scratch\U03\Temp

U05 - Stop Node 1

This machine serves as a Exploitation Node.

  1. Stop the ETLs
    net stop truxton
    
  2. Uninstall Truxton
  3. Delete the configuration files in C:\ProgramData\Truxton\Settings
  4. Delete the files in C:\ClusterStorage\Scratch\U05\Logs
  5. Delete the files in C:\ClusterStorage\Scratch\U05\Search
  6. Delete the files in C:\ClusterStorage\Scratch\U05\Temp

U07 - Stop Node 2

This machine serves as a Exploitation Node.

  1. Stop the ETLs
    net stop truxton
    
  2. Uninstall Truxton
  3. Delete the configuration files in C:\ProgramData\Truxton\Settings
  4. Clear the files in C:\ClusterStorage\Scratch\U07\Logs
  5. Clear the files in C:\ClusterStorage\Scratch\U07\Search
  6. Clear the files in C:\ClusterStorage\Scratch\U07\Temp

U09 - Stop Node 3

This machine serves as a Exploitation Node.

  1. Stop the ETLs
    net stop truxton
    
  2. Uninstall Truxton
  3. Delete the configuration files in C:\ProgramData\Truxton\Settings
  4. Delete the files in C:\ClusterStorage\Scratch\U09\Logs
  5. Delete the files in C:\ClusterStorage\Scratch\U09\Search
  6. Delete the files in C:\ClusterStorage\Scratch\U09\Temp

U11 - Stop Node 4

This machine serves as a Exploitation Node.

  1. Stop the ETLs
    net stop truxton
    
  2. Uninstall Truxton
  3. Delete the configuration files in C:\ProgramData\Truxton\Settings
  4. Delete the files in C:\ClusterStorage\Scratch\U11\Logs
  5. Delete the files in C:\ClusterStorage\Scratch\U11\Search
  6. Delete the files in C:\ClusterStorage\Scratch\U11\Temp

U13 - Stop Node 5

This machine serves as a Exploitation Node.

  1. Stop the ETLs
    net stop truxton
    
  2. Uninstall Truxton
  3. Delete the configuration files in C:\ProgramData\Truxton\Settings
  4. Delete the files in C:\ClusterStorage\Scratch\U13\Logs
  5. Delete the files in C:\ClusterStorage\Scratch\U13\Search
  6. Delete the files in C:\ClusterStorage\Scratch\U13\Temp

U01 - Clean the Message Bus

Remove any outstanding messages by running

D:\ClearLocalMessageBus.bat

U03 - Clean the Load Database

Remove any outstanding data by running

D:\ClearLocalDatabase.bat

Scripted Version

U01 - Stop the Message Bus

Run D:\Rack Reset Step 1.cmd

U03 - Stop the Load Database

Run D:\Rack Reset Step 1.cmd

U05 - Stop Node 1

Run D:\Rack Reset.cmd

U07 - Stop Node 2

Run D:\Rack Reset.cmd

U09 - Stop Node 3

Run D:\Rack Reset.cmd

U11 - Stop Node 4

Run D:\Rack Reset.cmd

U13 - Stop Node 5

Run D:\Rack Reset.cmd

U01 - Clean the Message Bus

Run D:\Rack Reset 2.cmd

U03 - Clean the Load Database

Run D:\Rack Reset 2.cmd