Skip to content

Deploy Central Node

The central node orchestrates workflows, hosts the API, and coordinates with worker nodes.

Terminal window
branectl download services central -f
branectl download services auxillary -f

The -f flag creates any missing directories. Images are saved to ./target/release/.

Terminal window
branectl generate infra -f -p ./config/infra.yml \
hospital-a:hospital-a.example.com \
hospital-b:192.0.2.2

Worker IDs must match the location IDs configured on the worker nodes.

Terminal window
branectl generate proxy -f -p ./config/proxy.yml
Terminal window
branectl generate node -f central <YOUR_HOSTNAME>

Replace <YOUR_HOSTNAME> with the hostname or IP reachable by worker nodes.

./
config/
certs/
infra.yml
proxy.yml
node.yml
target/
release/

For each worker, place their CA certificate in a folder named after their location ID:

Terminal window
mkdir -p ./config/certs/hospital-a
cp /path/to/hospital-a-ca.pem ./config/certs/hospital-a/ca.pem

See the configuration reference for details on certificate management.

Terminal window
branectl start central

ScyllaDB may take up to a minute to initialize. Monitor with:

Terminal window
docker ps

Wait until all containers show healthy status.

Terminal window
curl http://localhost:50051/health

Or use the CLI:

Terminal window
brane login http://localhost --username admin
brane package list
Terminal window
branectl stop central

Deploy worker nodes to add compute domains.