Changes between Version 101 and Version 102 of instructions

Show
Ignore:
Timestamp:
05/09/11 15:03:47 (8 years ago)
Author:
ibaldin (IP: 152.54.9.21)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • instructions

    v101 v102  
    1414 
    1515=== Install Tomcat and create the initial database === 
    16  
    17 1. Download the [https://geni-orca.renci.org/trac/browser/software/tomcat.tar.gz Tomcat tar file]. ORCA uses a customized Tomcat, so using standard Tomcat is not recommended 
    18  
    19 2. Create a directory for the install.  We install into /opt/orca/tomcat, and put the orca-related configuration files into /opt/orca.  Since the configuration files are there, /opt/orca is [https://geni-orca.renci.org/orca-doc/current/guides/container-configuration/config-files.html ORCA_HOME].  Note: the ORCA source may be somewhere else. 
    20  
    21 3. Untar the contents of the tomcat tar file into its install directory (e.g., $ORCA_HOME). 
    22  
    23 4. Edit tomcat/start.sh and stop.sh to set CATALINA_HOME to point to the tomcat directory.  Also in start.sh and stop.sh: set ORCA_HOME to the directory with the container configuration files (e.g., /opt/orca).  
    24  
    25 {{{ 
    26 export ORCA_HOME=/opt/orca 
    27 }}} 
    28  
    29 5. Edit $ORCA_HOME/tomcat/conf/server.xml. Ensure that port 11080 is used by tomcat and not the default 8080: 
    30 {{{ 
    31     <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 --> 
    32     <!-- Changing default port to 11080 for conflict with Eucalyptus --> 
    33     <Connector port="11080" maxHttpHeaderSize="8192" 
    34                maxThreads="150" minSpareThreads="5" maxSpareThreads="75" 
    35                enableLookups="false" redirectPort="8443" acceptCount="100" 
    36                connectionTimeout="20000" disableUploadTimeout="true" /> 
    37     <!-- Note : To disable connection timeouts, set connectionTimeout value 
    38      to 0 --> 
    39 }}} 
    40  
    41  
    42 7. Execute tomcat/start.sh 
    43  
    44 8. Make sure MySQL is running on your system. 
     161. Follow instructions to setup [wiki:orca-home $ORCA_HOME directory structure] and [wiki:orca-tomcat configure Tomcat]. 
     173. Make sure MySQL is running on your system. 
    4518 
    4619'''NOTE 2:''' For Mac OS X you can use fink to install mysqld and then  
     
    5124This will make sure mysqld is running as long as you don't exit this shell  
    5225 
    53 9. Create [wiki:databaseSetup a mysql database and populate it] 
     264. Create [wiki:databaseSetup a mysql database and populate it] 
    5427These instructions help set up a local Tomcat container with an example inventory of substrate that allows ORCA to run in '''emulation''' mode. This step is highly recommended before running with real resources to make sure your setup is correct. 
    5528 
    56 10. Give ANT more heap space. This can be added to ~/.profile 
     295. Give ANT more heap space. This can be added to ~/.profile 
    5730{{{ 
    5831$ export ANT_OPTS="-XX:MaxPermSize=512m -Xms40m -Xmx1024m"