Deploy bay and jack

From PTAGISWiki

Jump to: navigation, search

Tasks and status for deploying bay and jack to replace reedi and rufus for ptagis.org

Task Status Est Effort
Replace Sitescape functionality done
Deploy webapps (alrs, cew, ptagis, springglossary, sree, tfw) done
Deploy cgi apps done
Synchronize user data from reedi/rufus done
Convert tasks to new format done
Fix ldap authentication issue done
Pass full regression test done
Complete usability test done
Modify ftp config on bay done
Install ttweb on bay done
Switch DNS for www.ptagis.org done 10 minutes
Switch automount maps for sebastes:/global/ds1/pitweb to bay:/usr/local/pitweb done 10 minutes
Change SREE servlet URL from bay.psmfc.org to www.ptagis.org in SREE admin done 1 minute

Contents

Notes

broken charts: fixed

While checking for the deployment of all webapps, I ran across this problem that must be fixed before I can proceed: Sree_issues#Summary_charts_are_broken This is a non-issue. I was using the wrong URL for testing. SREE requires a fully-qualified domain name in the URL. It shouldn't be expected to work without one. The public will never be able to get to the site without one.

event logs

Another show stopper to deployment is this reference to sitescape in Data > Sites > Reports > Photographs, Data, Site Events.

The code is in this jsp: /usr/local/pitweb/ptagis-1.0/web/sree/siteswitch.jsp

  • I have disabled Photographs and Site Events temporarily in siteswitch.jsp
  • I fixed the apache config error that was preventing the Data folder from being displayed.

Where are the plain text event logs? They are here:

http://www.psmfc.org/pittag/event_log/

That's a psmfc.org URL, so it will continue to work just fine when ptagis.org changes to point to bay.

I could re-enable the button for site event logs, and point it to the web directory mentioned above, but not all sites have a corresponding web directory. Maybe the easiest thing is to make stubs for all sites so I don't have to figure out how to make the jsp smart enough to detect a web directory before pointing to it.

task conversion

Ran into problems with some users doing the conversion of tasks to the new format. Have to get Marton to look at the specific queries that won't convert. Marton said that he would look at it today after 3pm.

Marton made hand-edits to the file.

query metrics

The query metrics report is broken by the change to a new scheduler format on bay. But this tool should be rewritten anyway to make use of the better logging now available.

The new query metrics tool is available here: http://bay.psmfc.org/cgi-bin/parse-sched-log.pl. It is faster and displays SQL query data for more queries. It is still difficult to match start and stop times for multiple launches of the same query.

ttweb

Had to make edits to /etc/ttpro.conf on bay to allow for change to the location of the ttweb application.

Cutover procedure

Thursday Dec 27, about about 9am, the following changes will be made to ptagis.org.

DNS change

www.ptagis.org.         IN      CNAME   webptagis.psmfc.org.

will change to

www.ptagis.org.         IN      CNAME   bay.psmfc.org.

Automount changes

auto_direct will have the following changes:

/usr/www/pitweb -rw     sebastes:/global/ds1/pitweb

will become

/usr/www/pitweb -rw     bay:/usr/local/pitweb

This will not change. It appears to just have PTOC legacy stuff.

/usr/www/pittag -rw     sebastes:/global/ds1/misc/www-pittag

SREE servlet url

The URL used to access SREE reports needs to be set in the SREE admin console. It is currently set to

http://bay.psmfc.org/sree/sr

It needs to match the url used by apache to serve SREE content so will need to be changed to

http://www.ptagis.org/sree/sr

ftp will not change

ftp.ptagis.org will still point to reedi/rufus.

Personal tools