Table of Contents |
---|
*** THIS IS A DRAFT AND IS NOT COMPLETE ***
Preamble
- eas changeset id: TBD
- sfeas_config changeset id: TBD
- Send an email to DT-EAS-User-Group and CC-ed to DT-SFGIS-User-Group to let them know that the version release has begun.
- Perform the steps below in the San Francisco production environment (SF PROD *) and then test the application in that environment.
- If the application passes its tests, then perform the steps below in the disaster recovery production environment (DR PROD *) and then test the application in that environment.
- In the unlikely event that things go very badly, we would switch over to the previous version of the application in the disaster recovery production environment (DR PROD *).
Web Application into Maintenance Mode
Place the Web servers into maintenance mode (SF PROD WEB, DR PROD WEB):
Code Block |
---|
cd /var/www/html
sudo ./set_eas_mode.sh MAINT |
Backup the Database
Log onto SF PROD DB and back up the databases:
Code Block |
---|
sudo -u postgres -i
/home/dba/scripts/dbbackup.sh > /var/tmp/dbbackup.log |
Deploy the Web Application (SF)
Log into SF PROD WEB and deploy the application as shown here:
Code Block |
---|
cd /var/www/html
sudo ./deploy_eas_init.sh <eas-changeset-id> <sfeas_config-changeset-id> samuelvaldez |
Test the application to make sure everything works.
Deploy the Web Application (Disaster Recovery)
If testing in the San Francisco production environment (SF PROD *) is successful, then deploy the Web application to the disaster recovery production environment (DR PROD *) with steps that parallel those that were used in the San Francisco production environment (* PROD WEB only).
Make sure that the disaster recovery production environment Web application works.
Note | ||
---|---|---|
| ||
You will not be able to log into the Web application in the disaster recovery production environment (DR PROD WEB) if database replication is running. |
Place the disaster recovery Web server (DR PROD WEB) into standby mode:
Code Block |
---|
cd /var/www/html
sudo ./set_eas_mode.sh STANDBY_SD |
Release Notifications
- Remove 1.3.7 from the road map.
- Remove the entire DRAFT message that follows the table of contents above, and then publish this blog post.
- Log on to the automation machine (SF PROD AUTO) and run the following job to send the release announcement to stake holders:
Code Block |
---|
python job.py --action EXECUTE --job announce_new_release --env SF_PROD |
...