ilyama-edge for Golain SQLite replication. This page covers install paths, environment, and first run.
Fastest path: golain scaffold
If you have golain installed and a registered device:- Issues or reuses MQTT mTLS certificates
- Seeds a sample SQLite DB, or a three-table verification DB when you pass
--verify-tables(vrf_*_events,vrf_*_state,vrf_*_metrics) - Downloads Omega and SQLite deps from
https://tools.ilyama.golain.io/omega/ - Writes
omega-config.yaml,omega-env.sh, and replication triggers
O on device detail). → Omega deploy
Manual install (CDN)
When not using scaffold:Prerequisites
- Device registered in Golain (fleets and devices)
- mTLS certificate issued for MQTT (scaffold does this automatically; see provisioning checklist for manual flow)
- Application SQLite database path on the device
- Network path to MQTT broker (TLS TCP or QUIC)
Build from source (development)
Client-specific binary (production)
Embeds connection config and only required modules:Development run from source
ilyama-edge-dev.yaml adds macOS support and explicit state_db_path_env.
Reference client YAML
Scaffold generates a profile equivalent toclients/ilyama-edge.yaml:
Environment variables
Example block (also generated in
omega-env.sh):
Sample multi-table dev setup
When building Omega from source without scaffold:order_events, device_state, sensor_timeseries. Use rows for relational/state tables and telemetry for time-series tables with a stable timestamp column.
Multi-table verification with --verify-tables
golain omega scaffold --verify-tables creates three uniquely named SQLite tables so you can validate a fresh end-to-end sync without colliding with existing lineages in a shared Project:
vrf_<suffix>_events— row-batch verificationvrf_<suffix>_state— relational/state verificationvrf_<suffix>_metrics— telemetry verification
- Scaffold with
--verify-tables - Start Omega
- Approve the queued review in Edge Sync
- Confirm all three lineages appear for the device
- Read telemetry from the Project-scoped
edge_ts_*hypertable forvrf_<suffix>_metrics
Verify cloud ingest
- Console or
golain devices get— device connected. - golain TUI → Edge Sync → Lineages — lineages appear per table. With
--verify-tables, expect three lineages for the device. - Expect schema review queued on first batch — approve workflow.
- After approval, expect telemetry for the
vrf_*_metricstable in the Project’sedge_ts_*hypertable and relational rows forvrf_*_statethroughmirror-rows.