Re-pointing an RDS or a remote DB Server from an existing Instance to a new Instance (single-server installations)
When we would like to install new app server and use old DB, we have to:
- Migrate the .env credentials files for each of the MI services (all files under /
opt/mi/config/deployment/credentials) - Run installer on new server (old credentials will be reused because of previous step)
- Stop MI (
mi-control stop) - Migrate
/opt/mi/data/ivfrom old server (or, instead it is also it is possible to usemi-app-backup -I files), certificate if needed, config files in/opt/mi/external_config/(crontab,saml.php) - Check also
/opt/mi/data/custom/, maybe there can be custom scripts, etc. - Start MI (
mi-control up -d)