Make sure you have installed python3, pip and ansible on your host machine.
In order to install Apache Pinot cluster on your nodes, it is required to do the following steps.
-
Set global environment variables which are located at
inventory/group_vars/all.yml
file. For examplepinot_installation_path
variable indicates that where to keep manifest of docker compose file for Apache Pinot components. -
Create
inventory/inventory.yml
file from theinventory/inventory.yml.sample
file and place theIP
anduser
of the nodes there. You can easily create a new name and place it in inventory.yml file. -
Then go to the roles and set the values of each variable on
defaults
directory of each role. For example, you can change the port of controller, by changing thecontroller_port
value located inroles/controller/defaults/main.yml
file. -
Execute the following command:
ansible-playbook -i <path-to-inventory-file> cluster.yml --become --become-user=root --private-key=<path-to-private-key> -v -b
# e.g.
ansible-playbook -i inventory/inventory.yml cluster.yml --become --become-user=root --private-key=~/.ssh/ssh_pk -v -b
- Setup new cluster
- Add Docker image pull to prerequisites role
- Add password vault
- Generalize group_vars file with all possible settings
- Revise the jobs
- Setup monitoring with Grafana and Prometheus
- Persist data of Grafana
- Add Grafana provisioning for datasources and dashboards