This repository contains a template Vagrantfile for creating new ZooKeeper cluster. As a result, you will have 64-bit Ubuntu 16.04 (Xenial Xerus) virtual machines running your own ZooKeeper cluster.
To quickly get started:
- install VirtualBox (> 5.1.22);
- install Vagrant (> 1.9.5);
- clone this repository;
- execute
vagrant up
.
By default, 3 ZooKeeper instances will be created. Instance details are as follow:
Name | IP | RAM (MB) | CPUs | CPU Cap (%) |
---|---|---|---|---|
zk-01 | 10.10.10.11 | 1024 | 1 | 50 |
zk-02 | 10.10.10.12 | 1024 | 1 | 50 |
zk-03 | 10.10.10.13 | 1024 | 1 | 50 |
You can override default configuration with your own config.rb
file. See config.rb.sample
for more information.