Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/deploy-and-configure/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ The following environment variables can be set:
| `ORB_DEPLOYMENT_TOKEN` | Sets the [Deployment Token](/docs/deploy-and-configure/deployment-tokens#using-environment-variable) | `ORB_DEPLOYMENT_TOKEN=orb-dt1-yourdeploymenttoken678` | 1.2 |
| `ORB_EPHEMERAL_MODE` | Sets Orb measurement data storage to in-memory only. Protects flash memory from frequent writes. All measurement data stored on the Orb is lost when Orb is stopped or restarted. | `ORB_EPHEMERAL_MODE=1` | 1.4.0 |
| `ORB_DEVICE_NAME_OVERRIDE` | Sets this Orb's name which appears in Orb apps and Orb Cloud | `ORB_DEVICE_NAME_OVERRIDE=MyDeviceName` | 1.4.1 |
| `ORB_HOST_ID` | Sets the [host ID](/docs/setup-sensor/interface-binding#host-id) shared by every Orb on this machine. Up to 64 characters: letters, digits, and `- . _ ~`. Not instance-scoped | `ORB_HOST_ID=rack3-probe1` | — |
| `ORB_MEASURE_SERVER_ENABLED` | Enables the Orb to act as a server for speed and responsiveness testing | `ORB_MEASURE_SERVER_ENABLED=1` | 1.4.10 |
| `ORB_MEASURE_SERVER_PORT` | Set the port for the Orb measurement server | `ORB_MEASURE_SERVER_PORT=8080` | 1.4.10 |
| `ORB_SERVER_POP` | Sets a point of presence description for the Orb measurement server, reported to Orbs running Orb-to-Orb measurements against it. By convention, the nearest 3-character airport code, but any short string works | `ORB_SERVER_POP=sea` | 1.6.0 |
Expand Down
15 changes: 15 additions & 0 deletions docs/setup-sensor/interface-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,18 @@ orb --instance wired link
orb --instance wifi link
```

---

# Host ID

Instances on the same host share a **host ID**, so Orb Cloud can tell which Orbs run on the same machine. The first instance generates it and saves it to `host_id` in the Orb configuration directory (by default `~/.config/orb/host_id`).

To set your own, for example an asset tag, use `ORB_HOST_ID` with the same value for every instance:

```sh
ORB_HOST_ID=rack3-probe1 orb --instance wired sensor --interface eth0
```

The value can be up to 64 letters, digits, and `- . _ ~`. `ORB_HOST_ID` can't be scoped to a single instance.

The host ID appears as `host_id` on devices in the [Orb Cloud API](/docs/integrations/api), and dataset queries can filter, group by, or count distinct `host_id`.