Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading Debian on our VMs #144

Open
foolip opened this issue Jan 25, 2021 · 0 comments
Open

Upgrading Debian on our VMs #144

foolip opened this issue Jan 25, 2021 · 0 comments

Comments

@foolip
Copy link
Member

foolip commented Jan 25, 2021

Most of our VMs are running Debian 9.13 according to /etc/debian_version. We should upgrade to Debian 10. The process I would use for this is:

  • take a snapshot of the running VM, making sure that nothing is deployed to it while the snapshot is taken
  • create a new VM from that snapshot and run fsck or something to ensure no filesystem corruption
  • upgrade that copy of the VM
  • verify it's good by modifying /etc/hosts locally to point to the upgraded VM
  • make it live by changing DNS or redirecting the floating IP in the cases we use that

Unfortunately this process isn't repeatable, and will lead to our setup scripts getting out of sync and unable to set up a new server from scratch. If we wanted to address that, we should probably make docker images instead, and keep filesystem and database outside of those images. This is however a much larger undertaking.

@annevk asked me to file this and cc @domenic + @sideshowbarker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant