One day EAS application deploys will be a single script, using something like python fabric.
Until then, we use wiki.
geoserverweb serve into maintenance mode
Code Block |
---|
sudo dtomcat5 stop -force |
webserver
Code Block |
---|
cd /var/www/html sudo ./set_eas_envmode.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 |
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 |
...