Hi Team,
What is best way running pinot services in the background? Like when server got rebooted, pinot services(controller,broker,zk) should start automatically.
Sandeep R
11/14/2021, 12:43 AM
currently I am using nohup like nohup bin/pinot-admin.sh StartZookeeper & in the back ground with pid, is there best way doing this with systemctl enable service_name??
m
Mayank
11/14/2021, 12:46 AM
K8s?
s
Sandeep R
11/14/2021, 4:50 AM
I was running on Linux virtual box.
d
Diogo Baeder
11/14/2021, 11:33 AM
I'm very new to Pinot, but a solution would be to run something like microkube (a slimed down Kubernetes mostly to use in single hosts), or perhaps docker-compose, and then setup a systemd service to start it on reboot. This way you can take advantage of Pinot running from docker images, with persistent volumes for storing your data.
m
Mayank
11/14/2021, 1:57 PM
Thanks @Diogo Baeder
s
Sandeep R
11/14/2021, 7:11 PM
@Diogo Baeder Sure Baeder, Thanks for your inputs.