Update README.md
This commit is contained in:
35
README.md
35
README.md
@@ -4,9 +4,24 @@
|
|||||||
|
|
||||||
I migrated my bare-metal Debian 12 webserver used in production to an Alma 10 VM hosted on Proxmox and Dockerized key services
|
I migrated my bare-metal Debian 12 webserver used in production to an Alma 10 VM hosted on Proxmox and Dockerized key services
|
||||||
|
|
||||||
The migration was automated with Ansible and the downtime was mere seconds with zero data loss
|
The migration was orchestrated with Ansible and the downtime limited to seconds, with zero data loss
|
||||||
|
|
||||||
The entire environment is now reproducable from a fresh Linux install
|
The entire environment is now reproducible from a fresh Linux install
|
||||||
|
|
||||||
|
## Successfully migrated
|
||||||
|
|
||||||
|
- OS: Debian 12 -> AlmaLinux 10
|
||||||
|
- Web stack: Nginx/PHP/static website, updated all relevant config files for a RHEL-based distro
|
||||||
|
- Services: Gitea, Calibre, Jellyfin, all Dockerized with SQL databases ported
|
||||||
|
- Firewall: UFW -> firewalld
|
||||||
|
- Updates: unattended upgrades -> dnf-automatic, security only
|
||||||
|
- Mail: ssmtp -> msmtp
|
||||||
|
- Packages: apt -> dnf
|
||||||
|
- Certificates: certbot
|
||||||
|
- Storage: fstab
|
||||||
|
- Configs: SSH, Cron, MOTD
|
||||||
|
- Users: home directories and files preserved
|
||||||
|
- Custom scripts: rewritten and modified
|
||||||
|
|
||||||
## Motivation
|
## Motivation
|
||||||
|
|
||||||
@@ -32,23 +47,9 @@ My intent was to minimize the downtime as much as possible for the services I an
|
|||||||
|
|
||||||
This goal was successfully met as the only downtime tobiastime faced was the time it took me to point the port forwarding on my router to a different backend IP
|
This goal was successfully met as the only downtime tobiastime faced was the time it took me to point the port forwarding on my router to a different backend IP
|
||||||
|
|
||||||
## Successfully migrated
|
|
||||||
|
|
||||||
- OS: Debian 12 -> AlmaLinux 10
|
|
||||||
- Web: Nginx/PHP/static website, updated all relevant config files for a RHEL-based distro
|
|
||||||
- Services: Gitea, Calibre, Jellyfin, all Dockerized with SQL databases ported
|
|
||||||
- Firewall: UFW -> firewalld
|
|
||||||
- Updates: unattended upgrades -> dnf-automatic, security only
|
|
||||||
- MTA: ssmtp -> msmtp
|
|
||||||
- TLS: certbot
|
|
||||||
- Disks: fstab
|
|
||||||
- Configs: SSH, Cron, MOTD
|
|
||||||
- Users/home directories
|
|
||||||
- Custom scripts (rewritten/modified)
|
|
||||||
|
|
||||||
## Server Migration Methodology
|
## Server Migration Methodology
|
||||||
|
|
||||||
Initially I cloned my Debian drive with dd to serve as a perpetual, virtualized, reference point
|
Initially I created a full Debian disk clone with dd to preserve a reference point for the original system
|
||||||
|
|
||||||
I installed an AlmaLinux VM, and created a snapshot of the fresh install
|
I installed an AlmaLinux VM, and created a snapshot of the fresh install
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user