2017 © Pedro Peláez
 

library haproxy-cluster-control

CLI for managing clusters of haproxy servers via HTTP

image

shift31/haproxy-cluster-control

CLI for managing clusters of haproxy servers via HTTP

  • Thursday, July 2, 2015
  • by shift31
  • Repository
  • 1 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

HAProxy Cluster Control (haproxycc)

CLI for managing clusters of HAProxy servers via HTTP, (*1)

Installation

Download haproxycc.phar, copy to /usr/local/sbin, set executable permissions, and optionally rename to haproxycc, (*2)

Configuration

HAProxy

listen stats :8000
  mode http
  stats uri /stats
  stats auth username:password
  stats realm HAProxy
  stats admin if TRUE

haproxycc

Create haproxycc.config.php in HOME or /etc:, (*3)

<?php

return [
    'environments' => [
        'qa' => [
            'servers'  => [
                // FQDN of each haproxy server
            ],
            'port'     => 8000,
            'baseUrl'  => '/stats',
            'username' => 'username',
            'password' => 'password'
        ]
    ],
    'backend_nickname_map' => [
        // optional, association of nicknames to backend names (as set in the haproxy config)
        // i.e. 'www' => 'www_http'
    ]
];

Usage

List available commands with: haproxycc list, (*4)

The Versions

02/07 2015

dev-master

9999999-dev

CLI for managing clusters of haproxy servers via HTTP

  Sources   Download

MIT

The Requires

 

by Shift 31

02/07 2015

0.2.0

0.2.0.0

CLI for managing clusters of haproxy servers via HTTP

  Sources   Download

MIT

The Requires

 

by Shift 31

23/05 2015

0.1.0

0.1.0.0

CLI for managing clusters of haproxy servers via HTTP

  Sources   Download

MIT

The Requires

 

by Shift 31