Rebooting Offsite: Difference between revisions

From Delft Solutions
Jump to navigation Jump to search
(Created page with "= Pre-flight checks = * Access to the Web GUI * Access to the terminal through SSH * Zulip and Gitlab are running on it, so needed to communicate first on Organisational channel, to make sure everyone has read and agreed on it. = Rebooting = # Make sure all the pre flight checks are done # Make an schedule for doing the rebootng. # Create a maintenance period on Zabbix with all the vms are running on Offsite and Offsite itself # Update the packages through terminal `ap...")
 
No edit summary
Line 9: Line 9:
# Make an schedule for doing the rebootng.
# Make an schedule for doing the rebootng.
# Create a maintenance period on Zabbix with all the vms are running on Offsite and Offsite itself
# Create a maintenance period on Zabbix with all the vms are running on Offsite and Offsite itself
# Make sure the maintenance is active (yellow icon)
# Update the packages through terminal `apt update` and `apt upgrade`
# Update the packages through terminal `apt update` and `apt upgrade`
# Make sure that the packages are removed, upgraded and installed correctly and check them
# Make sure that the packages are removed, upgraded and installed correctly and check them

Revision as of 07:19, 9 August 2024

Pre-flight checks

  • Access to the Web GUI
  • Access to the terminal through SSH
  • Zulip and Gitlab are running on it, so needed to communicate first on Organisational channel, to make sure everyone has read and agreed on it.


Rebooting

  1. Make sure all the pre flight checks are done
  2. Make an schedule for doing the rebootng.
  3. Create a maintenance period on Zabbix with all the vms are running on Offsite and Offsite itself
  4. Make sure the maintenance is active (yellow icon)
  5. Update the packages through terminal `apt update` and `apt upgrade`
  6. Make sure that the packages are removed, upgraded and installed correctly and check them
  7. Click the reboot button for the Offsite in the web GUI
  8. Check if it is actually shut down
  9. Wait till it comes online again
  10. On Zabbix, go to 'Configuration' -> 'all the vms', and click on 'items' for the rebooted vms.
  11. Search for 'reboot', select the checkbox for both items and click on 'Execute now'.
  12. Search for 'operating', select the checkbox for the item that has a trigger that uses it, and select 'Execugte now'.
  13. Go to 'Monitoring' -> 'Problems'. Check the checkbox for triggers that fired for this host. Expected are '<host> has been restarted' and 'Operating system description has changed'. Scroll to the bottom and click on 'Mass update'. In the modal, check the checkbox for 'close problem', 'acknowledge', and in the 'message' box write the reason the host was rebooted. For example 'host was rebooted due to kernel update'
  14. Remove the maintenance period from the vm