Version 110 (modified by vjo, 8 years ago)

--

Deploying an ORCA Actor Container in Emulation

Orca actors run within servlet containers (JVMs). This document is intended to assist you in getting a container up and running quickly, with instances of each of the three actors (Service Manager, Broker, and Aggregate Manager) operating in emulation mode.

Emulation Mode Setup

1. Follow the instructions in the setup section of the $ORCA_HOME directory structure page.

2. Download the attached sample emulation configuration and extract it into $ORCA_HOME.

3. Download our slightly-modified Tomcat and extract it into $ORCA_HOME.

4. Ensure MySQL is running on your system.

NOTE: For Mac OS X you can use fink to install mysqld and then

$ cd /sw/bin
$ sudo ./mysqld_safe

This will make sure mysqld is running as long as you don't exit this shell

5. Follow the instructions in the "Create the database" section of the database setup page.

6. Ensure that you have an appropriate JVM installed, and the JAVA_HOME environment variable set, as described on the software prerequisites page.

7. Download the binary distribution of the ORCA webapp by following the directions on this page. As the instructions say, you will want to re-name the file you download orca.war

8. Copy the file named orca.war into the $ORCA_HOME/tomcat/webapps directory (which should exist, if you have followed all steps up to this point correctly).

9. Start the container by executing the following command:

$ $ORCA_HOME/tomcat/start.sh

10. Log in to your container's portal at http://localhost:11080/orca80/orca using the credentials located in: container.properties.

Testing Emulation Mode

Videos attached to this page show how the system works once it is installed (no audio). A simple test with the default actor configuration described above is to

  1. Login to the ORCA portal
  2. Go to Admin tab and click 'View Actors'. Verify that 3 actors are Online.
  3. Go to User tab (Slice Manager). Click on 'Create Reservation'. Select 'Eucalyptus Virtual Machine' from the drop-down menu corresponding to 'Resource Pool'. Change the number of Units from 1 to something else (for anything greater than 10 you will receive only 10 units as that is the size of the initial delegation)
  4. Click 'Create' button
  5. Click 'View All Reservations'. Click refresh button of your browser until the reservation goes into 'Active' state.
  6. You can optionally close the reservation by selecting a check-box next to it and selecting 'Close' from the Action menu.

Testing the sample XMLRPC Controller in Emulation Mode

See section on XMLRPC controller for information.

Attachments