Changes between Version 1 and Version 2 of releases/pre-Alpha

Show
Ignore:
Timestamp:
09/30/09 17:19:34 (9 years ago)
Author:
yxin (IP: 152.54.8.156)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • releases/pre-Alpha

    v1 v2  
    22 
    33This is a tar-ball that contains all of ORCA (including custom Tomcat) that can be extracted and will run in emulation mode (no substrate is needed). 
     4* The default configuration assumes 3 existing actors: broker, site and service, as well as 2 inventory machines: go-1, go-2, and an nfs server: go-nfs. A default user account "admin" is also built-in. 
     5 
     6== Prerequisites ==  
     7 * A Linux box: We've used CentOS and Ubuntu 
     8 * Internet connection: the installation needs to download many dependencies from the remote Maven repository  
     9 
     10 * Sun JAVA 1.5.0_15 
     11 * Ant 1.7.1 (included in the ORCA package for now) 
     12 * Maven 2.1.0-M1 (included in the ORCA package for now) 
     13 * maven-ant-tasks-2.0.9.jar into $ANT_HOME/lib (included in the ORCA package for now) 
     14 * Mysql_server 
     15 
     16== ORCA Source Directory == 
     17 * '''./orca''' contains the ORCA source code and configuration. 
     18 * '''./tomcat''' contains the customized Tomcat in order to run ORCA. 
     19 * '''./software (optional)''' contains a copy of the ANT and Maven  
     20 * '''environment''' sets up the environment in order to compile and deploy ORCA with default tools installation location 
     21 * '''./config''' contains the default configuration file to run ORCA (config.xml) and the associated Mysql database.   
     22   * '''config.xml''': default orca configuration that would be copied to $ORCA_WEB/trunk/local 
     23   * '''duke.images.sql''': default Mysql configuration for the VM image. 
     24   * '''duke.inventory.sql''': default Mysql configuration with 2 inventory machines 
     25 * '''keytool_repo.sh''' creates the keys in order to talk the Maven remote repository in Renci (https://geni-orca.renci.org/maven) 
     26   * the default user is "geni-orca", a sudoer. 
     27 * '''install.sh''' is a simple script to install the ORCA Master and start the Automat Web GUI for ORCA  
     28 
     29== Prepare the Mysql database == 
     30 * /etc/init.d/mysqld start 
     31 * mysql -u root -p 
     32    * [enter your admin password] 
     33    * >grant all privileges on ${ORCA_DB_NAME}.* to '${ORCA_DB_USER}'@'$HOST' identified by '${ORCA_DB_USER_PASSWORD}'; 
     34    * >drop database if exists orca; 
     35    * >create database orca; 
     36    * >USE `orca`; 
     37    * >exit; 
     38 * ./database.sh (The default password for user 'orca' is empty, as specified in 'environment') 
     39   
     40== Install, Compile and Run ORCA web portal == 
     41 * mkdir orca 
     42 * download go.tar.gz here 
     43 * tar -xzf go.tar.gz 
     44 * source environment 
     45 * ./keytool_repo.sh 
     46 * ./install.sh 
     47 * In a browser, http://localhost:8080/orca 
     48 * Login as "admin" with empty password 
     49 * Go to 'User' -> 'add public key' to copy &paste a public key. (this's one in ./config/orca_dsa) 
     50 * Then try 'New reservation' 
     51 
     52== Stop ORCA == 
     53 * cd $CATALINA_HOME 
     54 * ./stop.sh 
     55 
     56== More Help == 
     57[https://geni-orca.renci.org/orca-doc ORCA Documentation]