deploying DB components
configurations
The DB configurations are kept here
- https://sfgovdt.jira.com/svn/DBA/eas/
I usually recommend making changes to the repo and then using svn export...
but use whatever method makes sense for you to keep things in synch.
We have yet to automate the deployment of the DB configs.
Maybe you can do this for us?
DDL, DML
DDL and DML are released using an automation framework.
Please look here
- http://code.google.com/p/eas/source/browse/trunk/etl/README
or see the developers for how this works.
web application
Log onto the web server.
$ cd /var/www/html $ sudo ./deploy_eas_init.sh
1) run http://code.google.com/p/eas/source/browse/trunk/releases/bin/stage_web.cmd
2) scp the output file (tar.gz) to //webServer/var/www/html/staging
Step 3-5 may be skipped if the files are in place and there are no changes in svn.
3) sudo svn export https://eas.googlecode.com/svn/trunk/releases/bin/deploy_mad.sh --no-auth-cache //webServer/var/www/html/deploy_mad.sh
4) sudo svn export https://eas.googlecode.com/svn/trunk/releases/bin/set_htconf.py --no-auth-cache //webServer/var/www/html/set_htconf.py
4) sudo chmod u+x //webServer/var/www/html/deploy_mad.sh
5) cd //webServer/var/www/html/
6) sudo ./deploy_mad.sh
7) Point your browser to http://eas.sfgov.org/.
You should see an incomplete download because the minified javascript files missing.
Now point your browser to http://eas.sfgov.org/build.
Again point your browser to http://eas.sfgov.org/ and everything should be fine.
Remember you may have to flush your browsers cache / force the download.
<
All the above steps are much too complicated and we plan to automate it.
http://code.google.com/p/eas/issues/detail?id=327&q=deploy
>
8) Repeat all of the above on the SD web server.
deploying geoserver configurations
1) log onto the target geoserver node
2) sudo svn export https://eas.googlecode.com/svn/trunk/geoserver/deploy_geoserver.sh --no-auth-cache /usr/share/tomcat5/webapps/deploy_geoserver.sh
3) execute /usr/share/tomcat5/webapps/deploy_geoserver.sh
Add Comment