Restarting everything: Difference between revisions

From Bitpost wiki
No edit summary
 
Line 3: Line 3:
  crontab -e # and  comment out atpsa restart every minute
  crontab -e # and  comment out atpsa restart every minute
  at pst # stop prod abettertrader.com
  at pst # stop prod abettertrader.com
# consider upgrading each VM before shutdown, via...
mh-update-ubuntu
   
   
  # close every VM except hive gracefully
  # close every VM except hive gracefully
  💉 m@cast  [~/development/equityshift/es-platform] ssh morosoph sudo shutdown -h now
  💉 m@cast  [~] ssh morosoph sudo shutdown -h now
  💉 m@cast  [~/development/equityshift/es-platform] ssh abtdev1 sudo shutdown -h now
  💉 m@cast  [~] ssh abtdev1 sudo shutdown -h now
  💉 m@cast  [~/development/equityshift/es-platform] ssh positronic sudo shutdown -h now
  💉 m@cast  [~] ssh positronic sudo shutdown -h now
  💉 m@cast  [~/development/equityshift/es-platform] ssh glam sudo shutdown -h now
  💉 m@cast  [~] ssh glam sudo shutdown -h now
  💉 m@cast  [~/development/equityshift/es-platform] ssh bandit sudo shutdown -h now
  💉 m@cast  [~] ssh bandit sudo shutdown -h now
  💉 m@cast  [~/development/equityshift/es-platform] ssh matryoshka sudo shutdown -h now
  💉 m@cast  [~] ssh matryoshka sudo shutdown -h now
   
   
  # go to hive webUI and shut down
  # go to hive webUI and shut down
   
   
  💉 m@cast  [~/development/equityshift/es-platform] ssh melange sudo shutdown -h now
  💉 m@cast  [~] ssh melange sudo shutdown -h now
  💉 m@cast  [~/development/equityshift/es-platform] ssh bitpost sudo shutdown -h now
  💉 m@cast  [~] ssh bitpost sudo shutdown -h now


=== Restart ===
=== Restart ===

Latest revision as of 21:10, 22 July 2022

Shutdown first if needed

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

# consider upgrading each VM before shutdown, via...
mh-update-ubuntu

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

# go to hive webUI and shut down

💉 m@cast  [~] ssh melange sudo shutdown -h now
💉 m@cast  [~] ssh bitpost sudo shutdown -h now

Restart

  • Restart bitpost, ensure networking comes up (updating google DNS if IP changed), ensure /spiceflow shares mount
  • Start proxmox - each VM has a startup/shutdown order that dictates that HIVE comes up FIRST, then everything else comes up in parallel
  • update bitpost crontab to start abt
  • Start cast, wimpy, PIs, wifi devices, whatever else