Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

One day EAS application deploys will be a single script, using something like python fabric.
Until then, we use wiki.

web serve into maintenance mode

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


database backup (SF_DB)

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

 

geoserver

Code Block
sudo dtomcat5 stop -force

webserver

Code Block
cd /var/www/html
sudo ./set_eas_env.sh MAINT

ETL server

Code Block
cd "C:\Program Files\MAD\"
del etl
REM make sure paths in setup.bat are set to "trunkbranches/1.1.2B"
setup.bat
python job.py --job migrate_to_1.1.2B --action INIT --env SF_XXX

...

Code Block
cd /usr/share/tomcat5/webapps/
# make sure paths in deploy_geoserver_init.sh are set to "trunkbranches/1.1.2B"
sudo ./deploy_geoserver_init.sh

...

Code Block
cd /var/www/html
# make sure paths in deploy_eas_init.sh are set to "trunkbranches/1.1.2B"
sudo ./deploy_eas_init.sh

...