ORCA Config files and directory structure


Once you decide which host ORCA container will run on, you can begin configuring ORCA on it. All of ORCA-specific configuration is contained under $ORCA_HOME directory (typically /opt/orca), which must be declared in Tomcat start/stop scripts.

Set $ORCA_HOME. Change ownership of this directory to the user on whose behalf the euca site authority is going to run. 'geni-orca' is the user and 'nonrenci' is the group in this example. The user and group are presumed to exist.

$ export ORCA_HOME=/opt/orca 
$ mkdir -p $ORCA_HOME 
$ chown -R geni-orca:nonrenci .

Create config/ and runtime/ directories for storing container configuration, actor configuration and Axis2 credentials:

$ cd $ORCA_HOME; mkdir runtime config scripts

Populate directories


An example of '' for a container can be found here. Download it and name it $ORCA_HOME/config/ Modify this file to tailor to your installation:

  • Change 'protocols.soapaxis2.url' to point to this host and proper port (usually 11080)
  • Generate and change 'container.guid'. You can use 'uuidgen' program that ships with many Linux distros and Mac OS X. You can also use ORCA tools that come with a source distribution:
    $ cd $ORCA_SRC/tools/config
    $ ant guid
  • Optionally, if you want to make the actors in the container talk to the RENCI Actor Registry, follow instructions for configuring with registry.
    • From Camano 3.0+, this is the recommended way to interconnect actors within and between containers.


This file contains the definitions of ORCA actors placed in this container. The contents is heavily dependent on your deployment type. Please refer to top-level documentation for more information.


Generate admin security configuration:

$ cd $ORCA_SRC/tools/config
$ ant security.create.admin.config

Generate GUIDs and certificates for ALL the actors in your container (the number of actors is dependent on your deployment; actor type is not important). Store the guids somewhere (a plain text file), which will be used for configuring the actors later. Let ORCA_SRC be the root of the downloaded ORCA source:

$ cd $ORCA_SRC/tools/config
$ ant guid
$ ant -Dactor=<guid_output_from_previous_command>

Store runtime admin and actor credentials in $ORCA_HOME.

$ cp -r $ORCA_SRC/tools/config/runtime/* $ORCA_HOME/runtime/


Copy the contents of $ORCA_SRC/tools/config/scripts to $ORCA_HOME/scripts/ :

$ cd $ORCA_SRC/tools/config/scripts
$ cp -r axis2tools $ORCA_HOME/scripts 

Note that it is important there is no '/' after axis2tools in the command above!

Other configuration files

Authority actors require additional configuration files that are also usually placed under $ORCA_HOME. They are discussed in authority actor configuration.