Changes between Version 1 and Version 2 of bestPractices

Show
Ignore:
Timestamp:
06/30/10 13:40:30 (9 years ago)
Author:
ibaldin (IP: 152.54.9.21)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • bestPractices

    v1 v2  
    33== Introduction == 
    44 
    5 Setting up a production ORCA configuration requires careful and meticulous approach to avoid common problems. This document attempts to summarize best practices. 
     5Setting up a production ORCA configuration requires careful and meticulous approach to avoid common problems. This document attempts to summarize best practices used at RENCI for deploying ORCA. 
    66 
    77== Prerequisites == 
    88 
     9[wiki:Prerequisites Software prerequisites] 
    910 
     11[wiki:buildInstructions Build ORCA from source] 
     12 
     13[https://geni-orca.renci.org/orca-doc/current/guides/container-configuration/config-files.html Understanding container configuration: ORCA_HOME, ORCA_LOCAL, and all that] 
     14 
     15[https://geni-orca.renci.org/orca-doc/current/guides/container-configuration/xml.html Actor configuration] 
    1016 
    1117== Preparation == 
    1218 
    13 First you must decide and document the topology of the ORCA actors in the future deployment - how many containers you will have, which hosts they will be located on and which actors will be deployed in which container.  
     19First you must decide and document the topology of the ORCA actors in the future deployment - how many Tomcat containers you will have, which hosts they will be located on and which actors will be deployed in which container.  
     20 
     21The canonical way, in which RENCI sets up ORCA is to have $ORCA_HOME=/opt/orca on each of the deployment hosts. ORCA-modified tomcat is installed under $ORCA_HOME/tomcat and $ORCA_HOME/tomcat/start.sh and $ORCA_HOME/tomcat/stop.sh scripts are modified to reflect the $ORCA_HOME setting by prepending them with  
     22{{{ 
     23export ORCA_HOME=/opt/orca 
     24}}} 
     25 
     26MySQL database on each of the hosts must be [wiki: databaseSetup initialized] with the schema. Loading inventory files is optional. 
     27 
     28$ORCA_HOME should also contain  
     29 
     30The deployment can use a single source tree located on the machine, where you build ORCA, which has Java, Ant and Maven. The hosts with Tomcat containers should have the same version of Java as is used on the build machine.