Deploy Central Node
Deploy Central Node
Section titled “Deploy Central Node”The central node orchestrates workflows, hosts the API, and coordinates with worker nodes.
1. Download Service Images
Section titled “1. Download Service Images”branectl download services central -fbranectl download services auxillary -fThe -f flag creates any missing directories. Images are saved to ./target/release/.
2. Generate Configuration
Section titled “2. Generate Configuration”Infrastructure (register worker nodes)
Section titled “Infrastructure (register worker nodes)”branectl generate infra -f -p ./config/infra.yml \ hospital-a:hospital-a.example.com \ hospital-b:192.0.2.2Worker IDs must match the location IDs configured on the worker nodes.
Proxy configuration
Section titled “Proxy configuration”branectl generate proxy -f -p ./config/proxy.ymlNode configuration
Section titled “Node configuration”branectl generate node -f central <YOUR_HOSTNAME>Replace <YOUR_HOSTNAME> with the hostname or IP reachable by worker nodes.
Expected file structure
Section titled “Expected file structure”./ config/ certs/ infra.yml proxy.yml node.yml target/ release/3. Add Worker Certificates
Section titled “3. Add Worker Certificates”For each worker, place their CA certificate in a folder named after their location ID:
mkdir -p ./config/certs/hospital-acp /path/to/hospital-a-ca.pem ./config/certs/hospital-a/ca.pemSee the configuration reference for details on certificate management.
4. Start the Node
Section titled “4. Start the Node”branectl start centralScyllaDB may take up to a minute to initialize. Monitor with:
docker psWait until all containers show healthy status.
5. Verify
Section titled “5. Verify”curl http://localhost:50051/healthOr use the CLI:
brane login http://localhost --username adminbrane package listStopping
Section titled “Stopping”branectl stop centralNext Steps
Section titled “Next Steps”Deploy worker nodes to add compute domains.