taochong123456 / atlas-lb Goto Github PK
View Code? Open in Web Editor NEWThis project forked from rackerlabs/atlas-lb
GitHub Mirror of OpenStack Loadbalancing (Atlas)
This project forked from rackerlabs/atlas-lb
GitHub Mirror of OpenStack Loadbalancing (Atlas)
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.