承接 shift31/haproxy-cluster-control 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

shift31/haproxy-cluster-control

最新稳定版本:0.2.0

Composer 安装命令:

composer require shift31/haproxy-cluster-control

包简介

CLI for managing clusters of haproxy servers via HTTP

README 文档

README

CLI for managing clusters of HAProxy servers via HTTP

Installation

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

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:

<?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
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-23