Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Preamble

  • Notify all stake holders before the release.
  • Before proceeding with initializations, make sure that you are pointing at branches/1.1.4.
  • Execute all steps in the SF ENVs first and test the application.
  • If tests pass, then execute steps on SD ENVs.
  • In the unlikely event that things go very badly, we switch over to the old application in SD.

Down

web servers into MAINT mode

put both web servers into maintenance mode (SF WEB, SD WEB)

cd /var/www/html
sudo ./set_eas_mode.sh MAINT

database backup

Log into PROD DB and back up the DB

sudo -u postgres -i
/home/dba/scripts/dbbackup.sh > /var/tmp/dbbackup.log

Deploy

Database

Update the database version as described here: /wiki/spaces/DBA/pages/19857467

ETL

Log into to the ETL server and do the following. Note that there is no ETL server in SD.

REM see warning above
cd "C:\Program Files\MAD\"
del etl
setup.bat

Geoserver

Log into geoserver and deploy the configuration changes.

sudo ./deploy_geoserver_init.sh

After the start up inspect the the log file.

view /usr/share/apache-tomcat-7.0.32/webapps/geoserver_configuration/logs/geoserver.log

This exception is OK because we do not use this plugin:

DEBUG...
Unable to load kakadu JPEG2000 reader spi
java.lang.ClassNotFoundException: it.geosolutions.imageio.plugins.jp2k.JP2KKakaduImageReaderSpi
...

The should be no exceptions besides this one.

Web Server

Log into the web server and deploy the application as shown here.

# see warning at top
cd /var/www/html
sudo ./deploy_eas_init.sh

Test

Test the application to make sure everything works.

Deploy to SD Datacenter

If testing passes, repeat all steps on the SD VMs.
For the SD data center deploy, you can skip these steps 

  • DB backup
  • ETL deploy

Make sure the SD web application works.
You will not be able to log into the web application in SD if DB replication is running.

Up

Make sure SF PROD WEB is in LIVE mode. If not, do this...

cd /var/www/html
sudo ./set_eas_mode.sh LIVE

Put SD WEB server into STANDBY mode

cd /var/www/html
sudo ./set_eas_mode.sh SD_STANDBY

Done!

 

  • No labels