Changes between Version 107 and Version 108 of instructions

Show
Ignore:
Timestamp:
05/11/11 15:26:44 (8 years ago)
Author:
vjo (IP: 152.3.145.66)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • instructions

    v107 v108  
    15153. Download our slightly-modified [source:/software/tomcat.tar.gz Tomcat] and extract it into $ORCA_HOME. 
    1616 
    17 3. Make sure MySQL is running on your system. 
     174. Ensure MySQL is running on your system. 
    1818 
    19 '''NOTE 2:''' For Mac OS X you can use fink to install mysqld and then  
     19'''NOTE:''' For Mac OS X you can use fink to install mysqld and then  
    2020{{{ 
    2121$ cd /sw/bin 
     
    2424This will make sure mysqld is running as long as you don't exit this shell  
    2525 
    26 4. Create [wiki:databaseSetup a mysql database and populate it] 
     265. Follow the instructions in the "Create the database" section of the [wiki:databaseSetup database setup page.] 
    2727These 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. 
    28  
    29  
    30 3. Copy to $ORCA_HOME and then customize (if necessary; for emulation nothing should be necessary) the container configuration files ([https://geni-orca.renci.org/orca-doc/current/guides/container-configuration/properties.html container.properties] etc.) under webapp/config:   
    31  
    32 {{{ 
    33 $ cd $ORCA_SRC/webapp 
    34 $ cp -r config $ORCA_HOME 
    35 $ vi $ORCA_HOME/config/container.properties 
    36 }}} 
    37  
    38 4. Configure actors for your container by customizing a [https://geni-orca.renci.org/orca-doc/current/guides/container-configuration/xml.html config.xml].  For emulation mode, copy config-all-local.xml to config.xml. The config.xml is then installed to ORCA_LOCAL by  generating and deploying the webapp (see below). Edit the new config.xml so that NDL substrate file property of the Euca site actor points to the right file (download the attached uncvmsite.rdf NDL file and put it under $ORCA_HOME/ndl; figuring out the property name in the file and appropriate value for it is left as an exercise to the reader): 
    39 {{{ 
    40 $ cd $ORCA_SRC/webapp/actor_configs 
    41 $ cp config-all-local.xml config.xml 
    42 $ vi config.xml 
    43 }}} 
    44  
    45 '''NOTE:''' About the config-all-local.xml configuration file: this file describes three actors (a broker, a slice manager and a Eucalyptus site authority) that go into the container. The authority actor automatically delegates 10 instances of virtual machines and 1000 instances of internal vlans to the broker. 
    46  
    47  
    48 Before packaging the webapp, the webapp config directory should be populated with configuration files for ORCA_LOCAL, as described above.  Before deploying the webapp, the tomcat container should be configured with a proper ORCA_HOME populated with configuration files as described above.   
    4928 
    5029'''NOTE:''' as of Bella 2.0 container administrator login/password credentials are located in [https://geni-orca.renci.org/orca-doc/current/guides/container-configuration/properties.html container.properties].