Restarting everything: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 4: Line 4:
  at pst # stop prod abettertrader.com
  at pst # stop prod abettertrader.com
   
   
  # close VMs gracefully
  # close every VM except hive gracefully
  ssh (every VM except hive) && sudo shutdown -h now
  💉 m@cast  [~/development/equityshift/es-platform] ssh morosoph sudo shutdown -h now
💉 m@cast  [~/development/equityshift/es-platform] ssh abtdev1 sudo shutdown -h now
💉 m@cast  [~/development/equityshift/es-platform] ssh positronic sudo shutdown -h now
💉 m@cast  [~/development/equityshift/es-platform] ssh glam sudo shutdown -h now
💉 m@cast  [~/development/equityshift/es-platform] ssh bandit sudo shutdown -h now
💉 m@cast  [~/development/equityshift/es-platform] ssh matryoshka sudo shutdown -h now
   
   
  # go to hive webUI and shut down
  # go to hive webUI and shut down
   
   
  ssh melange
  💉 m@cast  [~/development/equityshift/es-platform] ssh melange sudo shutdown -h now
sudo shutdown -h now
  💉 m@cast  [~/development/equityshift/es-platform] ssh bitpost sudo shutdown -h now
  ssh bitpost
sudo shutdown -h now


1 Restart bitpost, ensure networking comes up (updating google DNS if IP changed), ensure /spiceflow shares mount
1 Restart bitpost, ensure networking comes up (updating google DNS if IP changed), ensure /spiceflow shares mount

Revision as of 20:50, 22 July 2022

0 Shutdown first if needed:

ssh bitpost
crontab -e # and  comment out atpsa restart every minute
at pst # stop prod abettertrader.com

# close every VM except hive gracefully
💉 m@cast  [~/development/equityshift/es-platform] ssh morosoph sudo shutdown -h now
💉 m@cast  [~/development/equityshift/es-platform] ssh abtdev1 sudo shutdown -h now
💉 m@cast  [~/development/equityshift/es-platform] ssh positronic sudo shutdown -h now
💉 m@cast  [~/development/equityshift/es-platform] ssh glam sudo shutdown -h now
💉 m@cast  [~/development/equityshift/es-platform] ssh bandit sudo shutdown -h now
💉 m@cast  [~/development/equityshift/es-platform] ssh matryoshka sudo shutdown -h now

# go to hive webUI and shut down

💉 m@cast  [~/development/equityshift/es-platform] ssh melange sudo shutdown -h now
💉 m@cast  [~/development/equityshift/es-platform] ssh bitpost sudo shutdown -h now

1 Restart bitpost, ensure networking comes up (updating google DNS if IP changed), ensure /spiceflow shares mount

2 Start proxmox - each VM has a startup/shutdown order that dictates that HIVE comes up FIRST, then everything else comes up in parallel

3 update bitpost crontab to start abt

4 Start cast, wimpy, PIs, wifi devices, whatever else