Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

GitHub Mirror of OpenStack Loadbalancing (Atlas)

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 adapter
Octocat-spinner-32 api
Octocat-spinner-32 common
Octocat-spinner-32 contrib
Octocat-spinner-32 data-model
Octocat-spinner-32 itest
Octocat-spinner-32 jobs
Octocat-spinner-32 logs
Octocat-spinner-32 migration
Octocat-spinner-32 persistence
Octocat-spinner-32 rest-clients
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README
Octocat-spinner-32 Glassfish WAR redeploy script. Might be useful. August 06, 2013
Octocat-spinner-32 pom.xml
  Java >= 1.5
  Apache Maven == 2.2.1 (Use settings from settings.xml file located in config/maven)
  Apache ActiveMQ == 5.5.0
  Glassfish >= 3.1

Getting Started
  mvn clean install
     - creates public-war-packager/target/atlas-public-rest-service-x.y.z-SNAPSHOT.war

  Create a database called 'loadbalancing' using the schema under config/db/loadbalancing_schema.sql
  Create a database called 'loadbalancing_usage' using the schema under config/db/loadbalancing_usage_schema.sql

  Seed the 'loadbalancing' database with sample data, using the file under config/db/loadbalancing_seed.sql

  Follow the steps in article below to create 2 mysql datasources in glassfish application server. These are the datasources used by the application to connect to the databases:

       1. For the step 1 of that article, download the latest version of Mysql JDBC driver ie. 5.0.8 version.
       2. For the first data source pointing to database loadbalancing, in the step 17 of that article, name the jndi name as jdbc/loadBalancerDB.
       3. For the second  data source pointing to database loadbalancing_usage, in the step 17 of that article, name the jndi name as jdbc/loadBalancerUsageDB.

  Copy files under config/etc/openstack/atlas and put them under your /etc/openstack/atlas directory.

  Start ActiveMQ on default port.

  Deploy the lb-public-rest-service-x.y.z-SNAPSHOT.war under the atlas directory public-war-packager/target to Glassfish, choosing
  "/v1.0" as the Context Root

  Now you can access the Atlas REST APIs on port http://<hostname>:8080/v1.0/<tenant_id>/<resource>

  For more info on the Atlas REST API, see the "RackSpace Cloud Load Balancers API 1.0" at
   For OpenStack project Atlas, see for now!
Something went wrong with that request. Please try again.