Version 9 (modified by anirban, 8 years ago)

--

Deploying an Authority

Overview

Covers types of authorities

Deploying an Eucalyptus/NEuca authority

Prepare ORCA_HOME

Set $ORCA_HOME. Change ownership of this directory to the user on whose behalf the euca site authority is going to run. $ export ORCA_HOME=/opt/orca

Make directories for storing Eucalyptus credentials, ORCA configuration files, Euca site resource description files.

$ mkdir $ORCA_HOME/runtime
$ mkdir $ORCA_HOME/config
$ mkdir $ORCA_HOME/ndl

Set up tomcat

wget tomcat.tar.gz edit start.sh and stop.sh

Generate Resource Representation for the Eucalyptus Site

Put full site rdf in the following directory - $ORCA_HOME/ndl

Runtime credentials

Generate guids and certificates for all the actors in your container. Suppose you have three actors in your container - one for managing the Eucalyptus vms, one for managing the vlans inside the eucalyptus cluster and one for managing vlans when you want to connect your euca cluster to external resources through network transit domains. You need to do the following for each of the three actors in your container. Store the guids, which will be used for configuring the actors.

$ cd $ORCA_SRC/tools/config
$ ant guid
$ ant security.create.actor.config -Dactor=<guid_output_from_previous_command>

Store runtime credentials in $ORCA_HOME.

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

Configuration

$ORCA_HOME/config . Refer to the config files in the repository - config.xml and name it 'config.xml'. $ORCA_HOME/config/config.xml . Remember to insert the correct guids generated in the last step for eac of the actors. container.properties . Refer to container.properties and name it 'container.properties'. $ORCA_HOME/config/container.properties ec2.site.properties eucanet.cred.properties

Image proxy

eucarc

Final Deployment

tomcat restart, state_recovery lock file, deploy to the machine

Some troubleshooting tips

Image Proxy with Eucalyptus/NEuca

DNAT Proxy

Attachments