Rack Reset

From truxwiki.com
Jump to navigation Jump to search

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