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
cd /var/www/html sudo ./set_eas_mode.sh MAINT
database backup (SF_DB)
sudo -u postgres -i /home/dba/scripts/dbbackup.sh > /var/tmp/dbbackup.log
geoserver
sudo dtomcat5 stop -force
webserver
cd /var/www/html sudo ./set_eas_env.sh MAINT
ETL server
cd "C:\Program Files\MAD\" del etl REM make sure paths in setup.bat are set to "branches/1.1.2B" setup.bat python job.py --job migrate_to_1.1.2B --action INIT --env SF_XXX
geoserver
cd /usr/share/tomcat5/webapps/ # make sure paths in deploy_geoserver_init.sh are set to "branches/1.1.2B" sudo ./deploy_geoserver_init.sh
webserver
cd /var/www/html # make sure paths in deploy_eas_init.sh are set to "branches/1.1.2B" sudo ./deploy_eas_init.sh
Add Comment