rabbit-herder

command module
v0.0.0-...-ca1efde Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2015 License: MIT Imports: 5 Imported by: 0

README

Build Status

rabbit-herder

rabbit-herder is a tool for clustering RabbitMQ hosts in an AWS Autoscale group.

There are a number of assumptions and requirements for using this tool:

  • All hosts have the same erlang cookie
  • You are NOT using the environment variable RABBITMQ_USE_LONGNAME
  • The autoscale group is in a VPC with DNS resolution and hostnames enabled
  • The instance running this tool has an IAM role with permissions to:
    • DescribeAutoscalingInstances (autoscaling)
    • DescribeInstances (ec2)

Usage

Usage of rabbit-herder:
  -a, --api="http://localhost:15672": The rabbitmq API to connect to.
  -d, --dry-run[=false]: Print commands, but don't run them
  -p, --password="guest": The password for the API
  -u, --user="guest": The user account for the API
  -v, --version[=false]: Print version and exit

Build the Docker image

To build the docker images, simply run make

Wishlist

  • Use Consul/etcd2/zookeeper for locks
  • Add tests/CI
  • Automate docker builds

License

MIT License. See License for full text

Documentation

Overview

rabbit-herder is a tool for clustering RabbitMQ hosts in an AWS Autoscale group.

There are a number of assumptions and requirements for using this tool:

  • All hosts have the same erlang cookie
  • You are NOT using the environment variable RABBITMQ_USE_LONGNAME
  • The autoscale group is in a VPC with DNS resolution and hostnames enabled
  • The instance running this tool has an IAM role with permissions to:
  • DescribeAutoscalingInstances (autoscaling)
  • DescribeInstances (ec2)

For argument help, run:

rabbit-herder -h

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL