Version 13 (modified by yxin, 10 years ago)

--

Prerequisites

  • A Linux box: We've used CentOS and Ubuntu
  • Internet connection: the installation needs to download many dependencies from the remote Maven repository
  • Sun JAVA 1.5.0_15
  • Ant 1.7.1 (included in the ORCA package for now)
  • Maven 2.1.0-M1 (included in the ORCA package for now)
  • maven-ant-tasks-2.0.9.jar into $ANT_HOME/lib (included in the ORCA package for now)
  • Mysql_server

Download the ORCA tar ball

  • ./orca contains the ORCA source code and configuration.
  • ./tomcat contains the customized Tomcat in order to run ORCA.
  • ./software (optional) contains a copy of the ANT and Maven
  • environment sets up the environment in order to compile and deploy ORCA with default tools installation location
  • ./config contains the default configuration file to run ORCA (config.xml) and the associated Mysql database.
    • config.xml: default orca configuration that would be copied to $ORCA_WEB/trunk/local
    • duke.images.sql: default Mysql configuration for the VM image.
    • duke.inventory.sql: default Mysql configuration with 2 inventory machines
  • keytool_repo.sh creates the keys in order to talk the Maven remote repository in Renci (https://geni-orca.renci.org/maven)
    • the default user is "geni-orca", a sudoer.
  • install.sh is a simple script to install the ORCA Master and start the Automat Web GUI for ORCA

Install ORCA

  • mkdir opt
  • download go.tar.gz here
  • tar -xzf go.tar.gz
  • source environment
  • 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.

Prepare the Mysql database

  • /etc/init.d/mysqld start
  • mysql -u root -p
    • [enter your admin password]
    • >grant all privileges on ${ORCA_DB_NAME}.* to '${ORCA_DB_USER}'@'$HOST' identified by '${ORCA_DB_USER_PASSWORD}';
    • >drop database if exists orca;
    • >create database orca;
    • >USE orca;
    • >exit;
  • ./database.sh (The default password for user 'orca' is empty, as specified in 'environment')

Compile and run ORCA web portal

  • ./keytool_repo.sh
  • ./install.sh
  • In a browser, http://localhost:8080/orca
  • Login as "admin" with empty password
  • Go to 'User' -> 'add public key' to copy &paste a public key. (this's one in ./config/orca_dsa)
  • Then try 'New reservation'

Stop ORCA

  • cd $CATALINA_HOME
  • ./stop.sh

More Help

ORCA Documentation

Attachments