Giter Site home page Giter Site logo

taochong123456 / atlas-lb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rackerlabs/atlas-lb

0.0 1.0 0.0 116.51 MB

GitHub Mirror of OpenStack Loadbalancing (Atlas)

Java 98.03% HTML 0.07% Python 1.81% Shell 0.03% Ruby 0.06% Batchfile 0.01%

atlas-lb's Introduction

Requirements
------------
  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
  MySql

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:
       http://www.albeesonline.com/blog/2008/08/06/creating-and-configuring-a-mysql-datasource-in-glassfish-application-server/

       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 http://docs.rackspacecloud.com/loadbalancers/api/v1.0/clb-devguide/content/Overview-d1e82.html.
   For OpenStack project Atlas, see https://launchpad.net/atlas-lb for now!

atlas-lb's People

Contributors

the2hill avatar rm-you avatar kinke avatar mich6365 avatar brandonlogan avatar baz-reddwarf avatar sacharya avatar rolledback avatar jenkins-reddwarf avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.