Difference between revisions of "Rack Reset"

From truxwiki.com
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
Perform the following tasks to reset the rack to a virgin state.
 
Perform the following tasks to reset the rack to a virgin state.
  
=U01 - Stop the Message Bus=
+
=Detailed Instructions=
 +
 
 +
==U01 - Stop the Message Bus==
 
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 15: Line 17:
 
# Delete the files in <code>C:\ClusterStorage\Scratch\U01\Search</code>
 
# Delete the files in <code>C:\ClusterStorage\Scratch\U01\Search</code>
  
=U03 - Stop the Load Database=
+
==U03 - Stop the Load Database==
 
This machine serves as the loading database.
 
This machine serves as the loading database.
  
Line 25: Line 27:
 
# Delete the files in <code>C:\ClusterStorage\Scratch\U03\Temp</code>
 
# Delete the files in <code>C:\ClusterStorage\Scratch\U03\Temp</code>
  
=U05 - Stop Node 1=
+
==U05 - Stop Node 1==
 
This machine serves as a Exploitation Node.
 
This machine serves as a Exploitation Node.
  
Line 35: Line 37:
 
# Delete the files in <code>C:\ClusterStorage\Scratch\U05\Temp</code>
 
# Delete the files in <code>C:\ClusterStorage\Scratch\U05\Temp</code>
  
=U07 - Stop Node 2=
+
==U07 - Stop Node 2==
 
This machine serves as a Exploitation Node.
 
This machine serves as a Exploitation Node.
  
Line 45: Line 47:
 
# Clear the files in <code>C:\ClusterStorage\Scratch\U07\Temp</code>
 
# Clear the files in <code>C:\ClusterStorage\Scratch\U07\Temp</code>
  
=U09 - Stop Node 3=
+
==U09 - Stop Node 3==
 
This machine serves as a Exploitation Node.
 
This machine serves as a Exploitation Node.
  
Line 55: Line 57:
 
# Delete the files in <code>C:\ClusterStorage\Scratch\U09\Temp</code>
 
# Delete the files in <code>C:\ClusterStorage\Scratch\U09\Temp</code>
  
=U11 - Stop Node 4=
+
==U11 - Stop Node 4==
 
This machine serves as a Exploitation Node.
 
This machine serves as a Exploitation Node.
  
Line 65: Line 67:
 
# Delete the files in <code>C:\ClusterStorage\Scratch\U11\Temp</code>
 
# Delete the files in <code>C:\ClusterStorage\Scratch\U11\Temp</code>
  
=U13 - Stop Node 5=
+
==U13 - Stop Node 5==
 
This machine serves as a Exploitation Node.
 
This machine serves as a Exploitation Node.
  
Line 75: Line 77:
 
# Delete the files in <code>C:\ClusterStorage\Scratch\U13\Temp</code>
 
# Delete the files in <code>C:\ClusterStorage\Scratch\U13\Temp</code>
  
=U01 - Clean the Message Bus=
+
==U01 - Clean the Message Bus==
 
Remove any outstanding messages by running <source lang="BAT">D:\ClearLocalMessageBus.bat</source>
 
Remove any outstanding messages by running <source lang="BAT">D:\ClearLocalMessageBus.bat</source>
  
=U03 - Clean the Load Database=
+
==U03 - Clean the Load Database==
 
Remove any outstanding data by running <source lang="BAT">D:\ClearLocalDatabase.bat</source>
 
Remove any outstanding data by running <source lang="BAT">D:\ClearLocalDatabase.bat</source>
 +
 +
=Scripted Version=
 +
 +
==U01 - Stop the Message Bus==
 +
Run <code>D:\Rack Reset Step 1.cmd</code>
 +
 +
==U03 - Stop the Load Database==
 +
Run <code>D:\Rack Reset Step 1.cmd</code>
 +
 +
==U05 - Stop Node 1==
 +
Run <code>D:\Rack Reset.cmd</code>
 +
 +
==U07 - Stop Node 2==
 +
Run <code>D:\Rack Reset.cmd</code>
 +
 +
==U09 - Stop Node 3==
 +
Run <code>D:\Rack Reset.cmd</code>
 +
 +
==U11 - Stop Node 4==
 +
Run <code>D:\Rack Reset.cmd</code>
 +
 +
==U13 - Stop Node 5==
 +
Run <code>D:\Rack Reset.cmd</code>
 +
 +
==U01 - Clean the Message Bus==
 +
Run <code>D:\Rack Reset 2.cmd</code>
 +
 +
==U03 - Clean the Load Database==
 +
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