/
The migration checklist
The migration checklist
First of all, decision: do we migrate and then old points to new, or we make new point to old, change dns, and migrate?
→ we migrate then change dns
Backups: biggest data is the images DB. script is complete (docker-clone-volumes.sh, or native) – first stop myaegee
about stopping my aegee:
static maintenance page
Attention!!
people will be applying for SUs
and online question statutory
AND AEGEE.org/vote
Time:
(stop the system), start maintenance page 5'
backups 10' to say the most
file transfer time (should be fast because internal network)
restoring backups 10'
validation (HOW?)
read logs like crazy
sampling images
normal login and check around
startup docker on new
run the ansible on old → becomes “reassign IP from azure cloud”
things to not forget:
run it once to create folder files etc
.env file as part of the backup
certificates: we can decide to migrate them (just in case) but it should be simpler to make traefik regenerate them
Commands
Setup: ready the maintenance page
done already
Setup: make prod an alias to new prod
OLD$ vim ~/.ssh/config
add prod with IP 51.144.111.184
Setup: startup the thing once
#NOTE: doesnt matter the .env
NEW$ cd /opt/MyAEGEE
NEW$ make start
NEW$ docker rm $(docker stop $(docker ps -aq))
Setup: trying the backups of the nightly on the new one
Migration: stop on OLD
Backup: pictures (with basically a restore because we started the setup first)
Backup: things
Backup: databases
Restore: databases
Bring it back up: reassign IP in azure
, multiple selections available,
Related content
MyAEGEE v2
MyAEGEE v2
More like this
2023-10-13 SSL outage
2023-10-13 SSL outage
More like this
First steps - Getting to know docker [OUTDATED]
First steps - Getting to know docker [OUTDATED]
More like this
Installation & aftermath
Installation & aftermath
More like this
Progress report December 2017
Progress report December 2017
More like this
Docker-compose usage
Docker-compose usage
More like this