Skip to content

docs(influxdb3 install): expand systemd runbook with day-2 commands#7177

Merged
jstirnaman merged 8 commits into
masterfrom
dar-650-systemctl-runbook
May 5, 2026
Merged

docs(influxdb3 install): expand systemd runbook with day-2 commands#7177
jstirnaman merged 8 commits into
masterfrom
dar-650-systemctl-runbook

Conversation

@jstirnaman
Copy link
Copy Markdown
Contributor

Summary

Augments the existing systemd subsection of the Linux DEB/RPM install guide with operationally-useful day-2 commands beyond start/status/logs:

  • Stop and restart.
  • Quick state checks (`is-enabled`, `is-active`).
  • Recent and follow-mode logs (`journalctl -n`, `journalctl -f`).
  • Inspect the packaged unit (`systemctl cat`, `systemctl show`) — useful for understanding the security sandboxing applied by the package.
  • Apply configuration changes workflow (edit `/etc/influxdb3/influxdb3-{{< product-key >}}.conf`, restart, verify).

Uses the existing `influxdb3-{{< product-key >}}` convention so both Core and Enterprise pages render with the correct unit name.

Verified against the v3.9.1 packaged systemd unit at `.circleci/packages/influxdb3/fs/lib/systemd/system/influxdb3-enterprise.service`.

Closes influxdata/DAR#650

Companion PR: #7171 — fixes service-name inconsistencies that the DAR reporter flagged.

Test plan

Augment the existing systemd subsection in the Linux DEB/RPM install
guide with operationally-useful commands beyond start/status/logs:
stop, restart, is-enabled, is-active, follow-mode logs, packaged-unit
inspection (systemctl cat, systemctl show), and the edit-config-and-
restart workflow.

Verified service paths and behaviors against the v3.9.1 packaged
systemd unit (`influxdb3-enterprise.service`). Uses the existing
`influxdb3-{{< product-key >}}` convention so both Core and
Enterprise pages render with the correct unit name.

Closes influxdata/DAR#650
@jstirnaman jstirnaman requested a review from a team as a code owner May 1, 2026 14:48
@jstirnaman jstirnaman requested review from sanderson and removed request for a team May 1, 2026 14:48
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

Vale Style Check Results

Metric Count
Errors 0
Warnings 0
Suggestions 0

Check passed

@github-actions github-actions Bot added product:shared Shared content across products product:v3-monolith InfluxDB 3 Core and Enterprise (single-node / clusterable) labels May 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

PR Preview Action v1.4.8
🚀 Deployed preview to https://influxdata.github.io/docs-v2/pr-preview/pr-7177/
on branch gh-pages at 2026-05-05 17:15 UTC

jstirnaman added 4 commits May 1, 2026 10:05
Add a new "TOML configuration files (DEB/RPM installs)" subsection to
the config-options reference. The InfluxDB 3 systemd launcher reads
/etc/influxdb3/influxdb3-<product-key>.conf and converts each setting
to an INFLUXDB3_* environment variable before invoking
`influxdb3 serve` — the binary itself does not natively read TOML.
This means CLI flags still override TOML values, because they override
the env vars the file becomes.

Cross-reference the new section from the install page's
"Apply configuration changes" workflow.

Source: behavior described in influxdb3/src/commands/serve/cli_params/
tests.rs (test_config_file_cli_option_drift), confirming the
launcher-mediated TOML→env conversion at v3.9.1.
PR review feedback: `systemctl status` was inconsistently sudo'd
(missing in "Check status and logs", present in "Apply configuration
changes"). Adding `sudo` also guarantees full journal output for users
not in the systemd-journal group.

Apply the same fix to all three `journalctl` invocations for the same
journal-access reason. Leave `is-enabled`, `is-active`, `cat`, and
`show` as-is — these are pure metadata reads and don't touch journald.
- TOML configuration files anchor: simplify heading to drop the
  "(DEB/RPM installs)" qualifier so the generated anchor matches the
  cross-reference link. Hugo strips the slash, so the qualifier
  produced "debrpm-installs" rather than "deb-rpm-installs".
- "Upgrade from Core" link path: drop the spurious /license/ segment;
  the actual page is at /admin/upgrade-from-core/. Note block is
  already gated to enterprise via show-in.
- "Download InfluxDB 3 binaries" link: was self-referential to the
  same section the reader is on. The actual download links are in
  the expand-wrapper directly below. Remove the redundant link, keep
  the prose.
@jstirnaman jstirnaman requested review from dburton-influxdata and jdstrand and removed request for sanderson May 1, 2026 16:48
Comment thread content/shared/influxdb3-cli/config-options.md Outdated
Comment thread content/shared/influxdb3/install.md
Comment thread content/shared/influxdb3-cli/config-options.md Outdated
Comment thread content/shared/influxdb3/install.md
@jstirnaman jstirnaman merged commit e9498d9 into master May 5, 2026
22 checks passed
@jstirnaman jstirnaman deleted the dar-650-systemctl-runbook branch May 5, 2026 17:52
github-actions Bot added a commit that referenced this pull request May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:shared Shared content across products product:v3-monolith InfluxDB 3 Core and Enterprise (single-node / clusterable)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants