Install Exhibitor
This folder contains a script for installing Exhibitor, a supervisor system for ZooKeeper that provides a number of features, including starting the ZooKeeper process, restarting the process if it fails, performing periodic cleanup of ZooKeeper's log directory, and offering a GUI for viewing ZooKeeper nodes
This script has been tested on the following operating systems:
- Amazon Linux
- Ubuntu
There is a good chance it will work on Debian, CentOS, and RHEL as well, but our automated testing for this module does not cover these other distros at the moment.
Quick start
The easiest way to use this module is with the Gruntwork Installer:
gruntwork-install \
--module-name "install-exhibitor" \
--repo "https://github.com/gruntwork-io/terraform-aws-zookeeper" \
--tag "v0.0.4"
We recommend running this module, along with install-zookeeper, as part of a Packer template to create an Amazon Machine Image (AMI) (see the zookeeper-ami example for a fully-working sample code). You can then deploy the AMI using the zookeeper-cluster module (see the zookeeper-cluster example for fully-working sample code).
Command line Arguments
The install-exhibitor
module accepts the following arguments, all optional:
--version
: The version of Exhibitor to install.--install-dir
: The directory where to install Exhibitor. Default:/opt/exhibitor
.--user
: The user who will be set as the owner of--install-dir
. Default:zookeeper
.
If you're using gruntwork-install
to run this module, you can pass these arguments using --module-param
arguments.
Example:
gruntwork-install \
--module-name "install-exhibitor" \
--repo "https://github.com/gruntwork-io/terraform-aws-zookeeper" \
--tag "v0.0.4" \
--module-param "version=1.5.6"