Skip to main content
Omega ships a production reference client 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:
This command:
  1. Issues or reuses MQTT mTLS certificates
  2. Seeds a sample SQLite DB, or a three-table verification DB when you pass --verify-tables (vrf_*_events, vrf_*_state, vrf_*_metrics)
  3. Downloads Omega and SQLite deps from https://tools.ilyama.golain.io/omega/
  4. Writes omega-config.yaml, omega-env.sh, and replication triggers
Run:
Or use the TUI Deploy Omega wizard (O on device detail). → Omega deploy
Prefer --transport=tls when QUIC is unavailable. Some brokers reject QUIC; TLS (ssl://host:8883) is the reliable default for first connect.

Manual install (CDN)

When not using scaffold:
Install Omega

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 to clients/ilyama-edge.yaml:
→ Full field reference: Configuration

Environment variables

Example block (also generated in omega-env.sh):

Sample multi-table dev setup

When building Omega from source without scaffold:
Tables: 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 verification
  • vrf_<suffix>_state — relational/state verification
  • vrf_<suffix>_metrics — telemetry verification
This is the fastest way to confirm the full current Omega + ilyama flow:
  1. Scaffold with --verify-tables
  2. Start Omega
  3. Approve the queued review in Edge Sync
  4. Confirm all three lineages appear for the device
  5. Read telemetry from the Project-scoped edge_ts_* hypertable for vrf_<suffix>_metrics

Verify cloud ingest

  1. Console or golain devices get — device connected.
  2. golain TUI → Edge Sync → Lineages — lineages appear per table. With --verify-tables, expect three lineages for the device.
  3. Expect schema review queued on first batch — approve workflow.
  4. After approval, expect telemetry for the vrf_*_metrics table in the Project’s edge_ts_* hypertable and relational rows for vrf_*_state through mirror-rows.
Maintainer e2e script (ilyama):

Deploy as service

Deploy Omega (systemd / launchd / Windows)

Automated deployed e2e (maintainers)

Details: omega deployed-e2e-provisioning.