You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Everything externally facing is currently running on isda-maven1.  There are two server stacks running, the Fisheye server (which is their own hacked-up Tomcat running out of /home/fisheye) and a conventional apache+tomcat setup that serves up Artifactory and OpenGrok.

If it breaks:

Try restarting; "/etc/init.d/web stop" will take down all of the above services, and "... start" will bring them all back.  Some of them take quite a while to shut down, so make sure there are no running java processes before you restart.

If OpenGrok stops updating:

Every other hour, cron runs /home/opengrok/update-indices.sh, which logs to .../update-indices.log.  All it's doing is a subversion checkout followed by a run of the update script; it should be fairly bombproof.

If Fisheye stops updating:

If it's not running at all, restart it per the above.  Otherwise, everything is done via the GUI; the administration site is here, and you'll need the admin password, which is noted in /home/fisheye/README.access.

Adding browsable repositories:

For Fisheye, this is easy, it's all by-the-book using the GUI. Mostly you just need the repository URL. Note that we only want to run it against public repositories for now.

Each repository indexed by opengrok is served by a separate web application running on isda-maven1.mit.edu.  To deploy a new application, you need to:

  1. check out the source tree under /home/opengrok/src/<name>
  2. make a copy of the indexing script that references the new names
  3. index that source tree into /home/opengrok/data/<name>
  4. add checkout/index maintenance to the cron job
  5. add apache httpd.conf mod_jk glue for the new application
  6. configure an instance of the web application to refer to the source and data directories defined above
  7. install it in the source subdirectory of tomcat's webapp directory
  8. add apache httpd.conf mod_jk glue for the new application
  9. restart tomcat and httpd
  • No labels