Difference between revisions of "Setting up worker (thoster) machine"

From MPSWiki
Jump to: navigation, search
(Created page with "*Install latest virtualbox (e.g. from oracle website) with default settings *virtualbox -> file -> preferences -> display -> set max guest screen size = Hint; width = 1280, He...")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
==Common actions for all machines==
 
*Install latest virtualbox (e.g. from oracle website) with default settings
 
*Install latest virtualbox (e.g. from oracle website) with default settings
 
*virtualbox -> file -> preferences -> display -> set max guest screen size = Hint; width = 1280, Height = 960
 
*virtualbox -> file -> preferences -> display -> set max guest screen size = Hint; width = 1280, Height = 960
*copy default thoster: "\\192.168.0.8\d\THOSTERX00\" directory to host -> place thoster to desired disk. min size 500GB
+
==Specific machine actions==
 +
*copy default thoster: "\\bst_master\THOSTERS\" directory to host -> place thoster to desired disk. min size 500GB
 +
*Change permissions for disk to allow domain users (full access)
 +
*Depending on the network adapter name use either '''Realtek PCIe GBE Family Controller''' or '''Realtek Gaming GbE Family Controller''' in .vbox file
 
*rename folder to new thoster name (allowed names THOSTERX01-THOSTERX40)*. do not make duplications with existing thosters
 
*rename folder to new thoster name (allowed names THOSTERX01-THOSTERX40)*. do not make duplications with existing thosters
 
*run a.vbs (just dbl click) from new thoster folder. ONE THOSTER AT TIME ONLY**
 
*run a.vbs (just dbl click) from new thoster folder. ONE THOSTER AT TIME ONLY**
 
*type new thoster name in dialogbox
 
*type new thoster name in dialogbox
*wait for scripts to run. new thoster should restart three times. total wait time about 10-15 min. you can check if scripts finished by reading "STEP.TXT" file. If it consists of one string "FIN" then thoster is ready.
+
*wait for scripts to run. new thoster should restart three times (help system to login using sqlserver credentials). total wait time about 10-15 min. you can check if scripts finished by reading "STEP.TXT" file. If it consists of one string "FIN" then thoster is ready.
*copy "s:\ADD_FILES\HOST_CONTROL\at_host_thosterstartup.vbs" to host. Add shortcut to it to startup folder. Edit script to contain all thoster names, e.g.
+
*change '''c:\machines.txt''' file according to thoster names on the parent machine
vms = Array("THOSTERX00", "THOSTERX00", "THOSTERX00", "THOSTERX00") >>> vms = Array("THOSTERX01", "THOSTERX02")
+
*Check '''\\bst_master\HOST_CONTROL\start bst controller.xml''' is installed in windows task schedule
*in case of reused old thoster name you may need to manually clean up old relation in DB. "PCS" table "host_id" column
 
 
*shut down thosters and restart host to see if everything is in order
 
*shut down thosters and restart host to see if everything is in order
  
 
NOTES:
 
NOTES:
*run base thoster periodically to update git and to apply manual configuration changes. base thoster located at KAS2 on the same disk as TX24, please shut down TX24 before launching TX00. [J:\THOSTERX00]. after updates shut it down and copy all files to storage 2.
+
*run base thoster periodically to update git and to apply manual configuration changes. base thoster located at storage2// on the same disk as TX24, please shut down TX24 before launching TX00. [J:\THOSTERX00]. after updates shut it down and copy all files to storage 2.
 
*please update *.vbox files from GUI carefully, probably update them manually afterwards, there are "incorrect settings" required for com port tests
 
*please update *.vbox files from GUI carefully, probably update them manually afterwards, there are "incorrect settings" required for com port tests
 
*to kill and restore thoster-> delete it from virtualbox GUI, delete all associated file, then just restore by following points 3->7
 
*to kill and restore thoster-> delete it from virtualbox GUI, delete all associated file, then just restore by following points 3->7

Latest revision as of 14:01, 9 August 2022

Common actions for all machines

  • Install latest virtualbox (e.g. from oracle website) with default settings
  • virtualbox -> file -> preferences -> display -> set max guest screen size = Hint; width = 1280, Height = 960

Specific machine actions

  • copy default thoster: "\\bst_master\THOSTERS\" directory to host -> place thoster to desired disk. min size 500GB
  • Change permissions for disk to allow domain users (full access)
  • Depending on the network adapter name use either Realtek PCIe GBE Family Controller or Realtek Gaming GbE Family Controller in .vbox file
  • rename folder to new thoster name (allowed names THOSTERX01-THOSTERX40)*. do not make duplications with existing thosters
  • run a.vbs (just dbl click) from new thoster folder. ONE THOSTER AT TIME ONLY**
  • type new thoster name in dialogbox
  • wait for scripts to run. new thoster should restart three times (help system to login using sqlserver credentials). total wait time about 10-15 min. you can check if scripts finished by reading "STEP.TXT" file. If it consists of one string "FIN" then thoster is ready.
  • change c:\machines.txt file according to thoster names on the parent machine
  • Check \\bst_master\HOST_CONTROL\start bst controller.xml is installed in windows task schedule
  • shut down thosters and restart host to see if everything is in order

NOTES:

  • run base thoster periodically to update git and to apply manual configuration changes. base thoster located at storage2// on the same disk as TX24, please shut down TX24 before launching TX00. [J:\THOSTERX00]. after updates shut it down and copy all files to storage 2.
  • please update *.vbox files from GUI carefully, probably update them manually afterwards, there are "incorrect settings" required for com port tests
  • to kill and restore thoster-> delete it from virtualbox GUI, delete all associated file, then just restore by following points 3->7
  • you may see reason in a.vbs. update acording to *.lic files avaliable
    • problems due to ip/mac conflicts. also do not run while base thoster is running.