Difference between revisions of "Rack Reset"

From truxwiki.com
Jump to navigation Jump to search
(Created page with "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. =U01= This machine serv...")
 
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
You would do this when you want to start with a fresh install of Truxton.
 
You would do this when you want to start with a fresh install of Truxton.
  
=U01=
+
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.
 
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>
 
# Uninstall Truxton
 
# Uninstall Truxton
# Delete the configuration files in <code>C:\ProgramData\Truxton\Settings</code>
+
# Delete the files in <code>C:\ProgramData\Truxton\Settings</code>
# Remove any outstanding messages by running <source lang="BAT">D:\ClearLocalMessageBus.bat</source>
+
# Delete the files in <code>C:\ClusterStorage\Scratch\U01\Logs</code>
# Clear the files in <code>C:\ClusterStorage\Scratch\U01\Logs</code>
+
# Delete the files in <code>C:\ClusterStorage\Scratch\U01\Search</code>
# Clear the files in <code>C:\ClusterStorage\Scratch\U01\Search</code>
 
  
=U03=
+
==U03 - Stop the Load Database==
 
This machine serves as the loading database.
 
This machine serves as the loading database.
  
 
# Stop the [[Truxton Service|ETLs]] <source lang="BAT">net stop truxton</source>
 
# Stop the [[Truxton Service|ETLs]] <source lang="BAT">net stop truxton</source>
 
# Uninstall Truxton
 
# Uninstall Truxton
# Delete the configuration files in <code>C:\ProgramData\Truxton\Settings</code>
+
# Delete the files in <code>C:\ProgramData\Truxton\Settings</code>
# Remove any outstanding data by running <source lang="BAT">D:\ClearLocalDatabase.bat</source>
+
# Delete the files in <code>C:\ClusterStorage\Scratch\U03\Logs</code>
# Clear the files in <code>C:\ClusterStorage\Scratch\U03\Logs</code>
+
# Delete the files in <code>C:\ClusterStorage\Scratch\U03\Search</code>
# Clear the files in <code>C:\ClusterStorage\Scratch\U03\Search</code>
+
# Delete the files in <code>C:\ClusterStorage\Scratch\U03\Temp</code>
# Clear the files in <code>C:\ClusterStorage\Scratch\U03\Temp</code>
 
  
=U05=
+
==U05 - Stop Node 1==
 
This machine serves as a Exploitation Node.
 
This machine serves as a Exploitation Node.
  
Line 31: Line 33:
 
# Uninstall Truxton
 
# Uninstall Truxton
 
# Delete the configuration files in <code>C:\ProgramData\Truxton\Settings</code>
 
# Delete the configuration files in <code>C:\ProgramData\Truxton\Settings</code>
# Clear the files in <code>C:\ClusterStorage\Scratch\U05\Logs</code>
+
# Delete the files in <code>C:\ClusterStorage\Scratch\U05\Logs</code>
# Clear the files in <code>C:\ClusterStorage\Scratch\U05\Search</code>
+
# Delete the files in <code>C:\ClusterStorage\Scratch\U05\Search</code>
# Clear the files in <code>C:\ClusterStorage\Scratch\U05\Temp</code>
+
# Delete the files in <code>C:\ClusterStorage\Scratch\U05\Temp</code>
  
=U07=
+
==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=
+
==U09 - Stop Node 3==
 
This machine serves as a Exploitation Node.
 
This machine serves as a Exploitation Node.
  
Line 51: Line 53:
 
# Uninstall Truxton
 
# Uninstall Truxton
 
# Delete the configuration files in <code>C:\ProgramData\Truxton\Settings</code>
 
# Delete the configuration files in <code>C:\ProgramData\Truxton\Settings</code>
# Clear the files in <code>C:\ClusterStorage\Scratch\U09\Logs</code>
+
# Delete the files in <code>C:\ClusterStorage\Scratch\U09\Logs</code>
# Clear the files in <code>C:\ClusterStorage\Scratch\U09\Search</code>
+
# Delete the files in <code>C:\ClusterStorage\Scratch\U09\Search</code>
# Clear the files in <code>C:\ClusterStorage\Scratch\U09\Temp</code>
+
# Delete the files in <code>C:\ClusterStorage\Scratch\U09\Temp</code>
  
=U11=
+
==U11 - Stop Node 4==
 
This machine serves as a Exploitation Node.
 
This machine serves as a Exploitation Node.
  
Line 61: Line 63:
 
# Uninstall Truxton
 
# Uninstall Truxton
 
# Delete the configuration files in <code>C:\ProgramData\Truxton\Settings</code>
 
# Delete the configuration files in <code>C:\ProgramData\Truxton\Settings</code>
# Clear the files in <code>C:\ClusterStorage\Scratch\U11\Logs</code>
+
# Delete the files in <code>C:\ClusterStorage\Scratch\U11\Logs</code>
# Clear the files in <code>C:\ClusterStorage\Scratch\U11\Search</code>
+
# Delete the files in <code>C:\ClusterStorage\Scratch\U11\Search</code>
# Clear the files in <code>C:\ClusterStorage\Scratch\U11\Temp</code>
+
# Delete the files in <code>C:\ClusterStorage\Scratch\U11\Temp</code>
  
=U13=
+
==U13 - Stop Node 5==
 
This machine serves as a Exploitation Node.
 
This machine serves as a Exploitation Node.
  
Line 71: Line 73:
 
# Uninstall Truxton
 
# Uninstall Truxton
 
# Delete the configuration files in <code>C:\ProgramData\Truxton\Settings</code>
 
# Delete the configuration files in <code>C:\ProgramData\Truxton\Settings</code>
# Clear the files in <code>C:\ClusterStorage\Scratch\U13\Logs</code>
+
# Delete the files in <code>C:\ClusterStorage\Scratch\U13\Logs</code>
# Clear the files in <code>C:\ClusterStorage\Scratch\U13\Search</code>
+
# Delete the files in <code>C:\ClusterStorage\Scratch\U13\Search</code>
# Clear 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==
 +
Remove any outstanding messages by running <source lang="BAT">D:\ClearLocalMessageBus.bat</source>
 +
 
 +
==U03 - Clean the Load Database==
 +
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