Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

manage your http load balancer in seconds

branch: develop

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 xt
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .shipit
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Changes
Octocat-spinner-32 MANIFEST.SKIP
Octocat-spinner-32 Makefile.PL
Octocat-spinner-32 README.md
Octocat-spinner-32 carton.lock
README.md

HTTP::Balancer

Build Status

HTTP::Balancer is a abstract layer to manage your http load balancers. It stores your configurations, launches the arbitrary implementation of balancers on demand, and switches between implementations without extra effort.

INSTALLATION

You are recommanded to install HTTP::Balancer with App::cpanminus

# cpanm HTTP::Balancer

Usage

Before everything, you must initialize HTTP::Balancer.

# http-balancer init

Add your virtual hosts and backends

# http-balancer add host www --fullname www.example.com

# http-balancer add backend web1 --address 192.168.1.1 --host www

List your hosts and backends

# http-balancer list host

# http-balancer list backend

Delete host and its backends

# http-balancer del host www

Or only delete a backend

# http-balancer del backend web1

Fire the balancer up

# http-balancer start

Get its status

# http-balancer status

Stop the balancer

# http-balancer stop

Every command can show its usage text with --help options

Authors

shelling navyblueshellingford@gmail.com

License

MIT X11 License

Something went wrong with that request. Please try again.