-
Notifications
You must be signed in to change notification settings - Fork 1
Setup drunc with Pocket's Kafka
The idea here is that you will need to start Kafka yourself and modify the drunc
's configuration to point to your instance.
In which situations would you do this?
- You are not at EHN1.
This is relatively easy with pocket, but you will need to have docker
on your machine.
Here are the steps you need to follow:
- Make sure docker works:
docker run hello-world
. It should say "Hello from Docker!" somewhere the lines printed. - Clone pocket:
git clone https://github.com/DUNE-DAQ/pocket
- Grab this particular commit:
cd pocket
git checkout 406b66a49b270a09305183e999418711ce1cf6cd
and ignore the detached head state warning.
- Start the monitoring facilities:
cd pocket
SERVICES=OPMON make setup.local # actually, this will also setup Opmon/Grafana, which could be useful for different reasons.
- Add the kubernetes facilities to your shell:
eval $(make env)
- Wait for
Kafka
to start
kubectl get pods -n kafka-kraft -w
NAME READY STATUS RESTARTS AGE
kafka-0 1/1 Running 0 28d
Make sure that the status is "Running" before starting drunc
. You can ctrl-c
the kubectl
command when that is the case.
For the process manager, start it with
drunc-process-manager ssh-pocket-kafka
For the unified shell:
drunc-unified-shell ssh-pocket-kafka oks-conf.data.xml session-name
For the DAQ session, it's a bit more involved, you need to go inside oks configuration XML and all the included XML, and modify the broadcaster services to point to localhost:31014
. Then recompile and run drunc.
Go back to your pocket directory and do
make destroy.local
- Home
- Release notes
- Roadmap
- Check before merging
- Setup
- Operation
- Developers
- Testing