Use this checklist before expecting SQLite replication data in the cloud.Documentation Index
Fetch the complete documentation index at: https://docs.ilyama.golain.io/llms.txt
Use this file to discover all available pages before exploring further.
1. Register device in Golain
- Create or select project and fleet
- Add device with chosen name (e.g.
gw-warehouse-07) - Note device name — this becomes
OMEGA_DEVICE_IDand MQTT client identity - Note project topic slug (if configured) for
OMEGA_ROOT_TOPIC
2. Issue MQTT credentials
Choose one path:mTLS certificate (recommended production)
- Issue device certificate via cert worker / console certificates UI
- Save CA, client cert, and key to device filesystem
- Set
OMEGA_TLS_*_PATHenv vars
Username/password
- Copy MQTT username/password from device MQTT details
- Set
OMEGA_MQTT_USERNAME/OMEGA_MQTT_PASSWORD
JITR bootstrap (ilyama)
- Obtain fleet bootstrap certificate
- Configure
connection.jitrin client YAML - On first run Omega calls JITR API → stores device cert
3. Configure root topic
Pattern:- With slug:
acme-prod/gw-warehouse-07 - Without slug:
/gw-warehouse-07(leading slash, no slug segment)
OMEGA_ROOT_TOPIC to match broker ACL provisioning.
Sync topics are then:
4. Prepare SQLite database
- Application database path known (
OMEGA_SOURCE_DB_PATH) - Tables have PRIMARY KEY defined
- Plan for post-start mutations (pre-existing rows won’t sync without snapshot)
5. Build and deploy Omega
-
make build-client CLIENT=ilyama-edge GOOS=... GOARCH=... - Install binary + systemd unit (deploy guide)
- Set all
OMEGA_*env vars in service unit or env file -
clean_session: falsein embedded connection config
6. Verify connectivity
- Device shows connected in console
- Heartbeat module reporting (if enabled)
- MQTT events in platform-tui:
7. Verify ingest
- platform-tui → Edge Sync → Lineages — one lineage per replicated table
- Segment accepted (no permanent reject loop)
- Schema review queued for new tables (expected)
8. Complete governance
- Claim and approve schema review
- Staged rows drain after approve
- Written view shows mirror rows (
win TUI)
9. Production hardening
-
signed_control.enabled: true - TLS verify-full with correct CA
-
state.dbon persistent volume - Monitor lineage paused events
- Document column actions for each table schema version
Common misconfigurations
| Mistake | Symptom |
|---|---|
OMEGA_DEVICE_ID = UUID instead of name | ACL/topic mismatch, no ingest |
Wrong OMEGA_ROOT_TOPIC | Broker accepts connect but rejects publishes |
clean_session: true | Missed downlink pause/resume while offline |
| No PRIMARY KEY on table | Table skipped or errors at trigger install |
| Expecting pre-seeded rows | Empty mirror until new mutations |