Project's Home Page
Table of Contents Document Overview The Project Repository Dependencies Building and Deploying OME
Project's Home Page IV. Building and Deploying

 
  SBDD>Building and Deploying OME Previous   Next  
 
 
 
Building and Deploying OME
 

In the current deployment configuration, OME is running within mod_perl. This process is created by the Apache httpd process in order to take care of execution of HTTP requests that are handled by Perl scripts via CGI. Apache and mod_perl are configured so that they have access to the OME Perl scripts and modules. Apache is also made aware of some HTML static pages and JavaScript libraries that are needed to support dynamic content provided through mod_perl. Web browsers access the system through an URL similar to the following:

http://your.ome.site/perl/serve.pl?Page=OME::Web::Home

Apache dispatches the request to mod_perl that executes the serve.pl script, which, in turn, instantiates an appropriate module (depending on the Page parameter) to handle the request. Depending on the request, the module may interact with the OME database, which is managed by the PostreSQL server process, postmaster. However, the actual identity of the DBMS is transparent to OME, as access is through the Perl DBI interface.
OME makes use of a directory in the file system to store the Image Repository. Imported image files are stored in this area. The import process takes care of converting proprietary image formats into the OME image file standard. The disk space needed by the repository is roughly equivalent to the amount of storage taken up by the native format image files.
Apache, mod_perl and PostreSQL run on the same node where OME is deployed. Web browsers typically run on a different node across an IP network.

The current deployment configuration of OME is summarized by the following UML deployment diagram:

  Deployment configuration
 

 
Fig IV-1: Current deployment configuration.

 

Now, let's move on and see how to build OME from the source code you downloaded from CVS. Before you start, keep in mind the following:

  • We assume that your platform conforms to the requirements specified in Section III-1. We don't provide instructions here on how to install Perl, Apache, mod_perl and PostgreSQL. Please refer to the relevant manuals for that.
  • All required libraries must have already been installed on your system. Please refer to Section III-2 for the list of libraries.
  • The instructions that follow are for both Linux and OS X. We assume a minimum familiarity with Unix-like operating systems.
  • You will need root privileges to perform installation.
  • We'll refer to the directory where you set the CVS tree (the content of the download bundle) as CVS_LOCAL. The organization of the CVS tree is discussed in Section II-1.
  Before you build
 

 
 
 
  Top Building and Deploying Previous   Next