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.ymlfile. For examplepinot_installation_pathvariable indicates that where to keep manifest of docker compose file for Apache Pinot components. -
Create
inventory/inventory.ymlfile from theinventory/inventory.yml.samplefile and place theIPanduserof 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
defaultsdirectory of each role. For example, you can change the port of controller, by changing thecontroller_portvalue located inroles/controller/defaults/main.ymlfile. -
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