/
1.4.1 Deployment Details

1.4.1 Deployment Details

1 - Preamble

  • eas changeset identifier: 85b4845
  • sfeas_config changeset identifier: ca66c28

This deployment will consist of the following general steps:

  • 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 *).

2 - Web Application into Maintenance Mode

Place the Web servers into maintenance mode (SF PROD WEB, DR PROD WEB).

cd /opt/rh/httpd24/root/var/www/html
sudo ./set_eas_mode.sh MAINT
cd /opt/rh/httpd24/root/var/www/html
sudo ./set_eas_mode.sh MAINT

3 - Backup the EAS Database

DT DBA staff should backup the EAS database prior to EAS upgrades.  See service request SER0377668 (Support the release of EAS 1.4.1) for more information.

  • Database backup was performed and verified

4 - Upgrade Geoserver (DR)

  • Edgar will fulfill service request SER0377256 (Upgrade GeoServer on DR PROD GEOX)
  • Configure GeoServer on DR PROD GEOX.  You can use these commands:
sudo curl -O https://bitbucket.org/sfgovdt/easx/raw/1.4.1/geoserver/deploy_geoserver_init.sh
sudo chmod 700 ./deploy_geoserver_init.sh
sudo ./deploy_geoserver_init.sh

5 - Upgrade Geoserver (SF)

  • Edgar will fulfill service request SER0377256 (Upgrade GeoServer on SF PROD GEOX)
  • Configure GeoServer on SF PROD GEOX.  You can use these commands:
sudo curl -O https://bitbucket.org/sfgovdt/easx/raw/1.4.1/geoserver/deploy_geoserver_init.sh
sudo chmod 700 ./deploy_geoserver_init.sh
sudo ./deploy_geoserver_init.sh

6 - Deploy the Web Application (SF)

  • Deploy the Web application to SF PROD WEB.  You can use these commands to deploy the Web application:
cd /opt/rh/httpd24/root/var/www/html
sudo ./deploy_eas_init.sh 85b4845 ca66c28 rgaston
  • Test the application to make sure everything works.

7 - Deploy the Web Application (DR)

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.

  • 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 performed in the San Francisco production environment (* PROD WEB only).
  • Make sure that the disaster recovery production environment Web application functions correctly.
  • Place the disaster recovery Web server (DR PROD WEB) into standby mode:
cd /opt/rh/httpd24/root/var/www/html
sudo ./set_eas_mode.sh STANDBY_DR

8 - Release Notifications

  • Remove 1.4.1 from the road map.
  • Publish the blog post for this release.  Ideally, this blog post would have already been drafted.  An example is Release 1.3.6.
  • Log on to the automation machine (SF PROD AUTO) and run the following job to send the release announcement to stake holders:
cd C:\apps\eas_automation\automation\src
C:\sfgis\program\python36\eas_venv\Scripts\python.exe job.py --action EXECUTE --job announce_new_release --env SF_PROD




Related content

1.3.8 Deployment Details
1.3.8 Deployment Details
Read with this
* * GEO Server workaround for TLS 1.2 issue
* * GEO Server workaround for TLS 1.2 issue
More like this
Restarting EAS Development Web Server
Restarting EAS Development Web Server
More like this
* * WEB Server
More like this