DOCA Management Service (DMS)
⚠️ Destructive operations. The gNOI reboot, OS install,
factory-reset, and managed-file deletion operations are
irreversible and service-impacting
— they can take a production BlueField or ConnectX offline or wipe its
configuration. Before issuing any of them the agent MUST: (1) verify the
target device identity, and (2) obtain explicit confirmation bound to
that target and action. In an interactive session this is an explicit
user reply naming/accepting both; in unattended execution it must be an
approved-system authorization artifact bound to both. Otherwise stop
with confirmation_required. Never invoke them speculatively or as
a side effect of another task. See the public DMS guide's safety
guidance for these operations.
Where to start: This skill is for operating DMS, not for
linking against a library. If the user wants to deploy or run
the daemon, open TASKS.md and start at
## configure. If the question is what shape
of service is DMS and what protocols does it speak, start at
CAPABILITIES.md. If DOCA is not installed on the
management endpoint yet, route to
doca-setup first.
Example questions this skill answers well
The CLASSES of DMS questions this skill is built to answer, each with
one worked example. The class is the load-bearing piece; the worked
example is one instance.
- "Where should DMS run for my target topology?" — worked example:
"I have a host without a DPU; can I still manage a remote
ConnectX?". Answered by the deployment-shape decision in
CAPABILITIES.md ## Capabilities and modes
- "Which authentication mode should I pick for my security
posture?" — worked example: "a multi-tenant production env vs a
single-tenant lab". Answered by the auth-mode trade-off table in
CAPABILITIES.md ## Safety policy
- the auth-wiring step in
TASKS.md ## configure.
- "How do I issue a gNMI
Get / Set against a modeled path?" —
worked example: "set /interfaces/interface/config/mtu on a remote
interface". Answered by the gNMI/gNOI surface in
CAPABILITIES.md ## Capabilities and modes
- the request-shape workflow in
TASKS.md ## run.
- "How do I run a gNOI operation (reboot, OS install, file
transfer)?" — worked example: "trigger a clean reboot of the
target via gNOI". Answered by the gNOI catalog in
CAPABILITIES.md ## Capabilities and modes
- the run workflow in
TASKS.md ## run.
- "My DMS request returned an error — was it the frontend or the
backend?" — worked example: "
mlxconfig failed under DMS but
works on the shell". Answered by the frontend-vs-backend split in
CAPABILITIES.md ## Error taxonomy
- the layered ladder in
TASKS.md ## debug.
- "Where do I read DMS logs and how do I rotate them?" — worked
example: "persistent log directory + journald + log-rotation
policy". Answered by the logging surface in
CAPABILITIES.md ## Observability
- the log-rotation step in
TASKS.md ## configure.
Audience
This skill serves external operators and platform teams who deploy and
operate DMS to manage NVIDIA® BlueField® networking platforms or
NVIDIA® ConnectX® SmartNICs from a centralized control plane. Concretely:
people running dmsd, integrating gNMI/gNOI clients against it, choosing
an authentication mode, or wiring DMS into a Kubernetes deployment.
It is not for NVIDIA developers contributing to DMS itself, and it
is not a programming guide for building applications on top of
DOCA libraries (that is doca-programming-guide plus the matching
library skill under libs/). DMS is a service, not a library: the
user invokes it as a daemon and talks to it over gRPC; they do not link
against libdms.so to write their own program.
Status note. Per the public DMS guide, DMS is currently in beta,
with General Availability scoped to SPC-X use cases. The skill reflects
the public guide's posture: prescribe the documented launch / auth /
deployment paths, follow the documented security best practices, and
defer roadmap and GA-scope questions to the live public guide rather
than guessing.
When to load this skill
Load this skill when the user is doing hands-on DMS operation work
against a BlueField or ConnectX target where DOCA is already installed
on the management endpoint (host, DPU, or pod). Concretely:
- Deciding where DMS should run (host non-DPU / BlueField Arm /
Kubernetes pod) for a given target topology.
- Bringing up the
dmsd daemon — choosing SystemD vs manual launch,
selecting an authentication mode, wiring -allowed_users (the gRPC
client authorization boundary) and, if needed, dmsgroup (the
dmspe backend-helper Unix group).
- Issuing
gNMI Get / Set requests against modeled paths
(e.g. /interfaces/interface/config/mtu).
- Issuing
gNOI operations: OS install, reboot, file transfer,
factory-reset, mlxconfig, containerz.
- Choosing an authentication mode (localhost / PAM / credentials / mTLS)
and understanding the security trade-offs the public guide calls out.
- Reading or rotating DMS logs, configuring config persistency, or
recovering from a crashed daemon.
- Debugging a DMS request that returned an error — separating
"frontend rejected before reaching backend" from "backend executed and
the underlying tool (e.g.
mlxconfig) failed".
Do not load this skill for general DOCA orientation, install of
DOCA itself, or library-API questions. For those, route via
doca-public-knowledge-map,
doca-setup, or the matching
libs/<library> skill.
What this skill provides
This is a thin loader. Substantive material lives in two companion
files:
CAPABILITIES.md — DMS architecture (frontend dmsd / privileged
backend dmspe), management protocols (gNMI, gNOI), the YANG-based
unified configuration dictionary, deployment shapes, authentication
modes with their security trade-offs, the configuration-persistency
model, the logging surface, and DMS's documented security posture.
TASKS.md — step-by-step workflows for the in-scope DMS verbs:
configure, build, modify, run, test, debug, plus a
Deferred task verbs block routing out-of-scope questions.
The skill assumes a host where DOCA is already installed and the
operator has root / sudo access where the public guide says it is
required. It does not cover installing DOCA — that path goes through
doca-setup.
What this skill deliberately does not ship
This skill is agent guidance, not a templates or sample-config
bundle. To keep the boundary clean, it deliberately does not contain —
and pull requests should not add:
- Pre-baked DMS configuration files (YANG instance documents,
full-stack example configs, ready-to-run
dmsd flag bundles)
intended to be copy-pasted into production. Configs are deployment-
specific and the safe answer for an external operator is to derive
them from the public guide against their own target. The agent's
job is to prescribe the procedure and quote the documented flags
and paths, not to ship a config the user might run unmodified.
- Pre-written gNMI / gNOI client programs in any language. The
client surface is standard gNMI / gNOI (publicly documented); the
skill describes which paths and operations DMS supports, not how to
build a gRPC client in language X.
- TLS material, credentials, or PAM stanzas. These are
user-environment artifacts; the skill points at the documented
configuration knobs and the documented security best practices and
stops there.
- A
samples/, templates/, or reference/ subtree of any
kind. A mock or incomplete artifact in this skill's tree, even one
labeled "reference", is misleading: operators will read it as
production-ready.
Loading order
- Read this
SKILL.md first to confirm the user's question is in scope.
- For the DMS architecture, deployment shapes, auth modes,
protocol/path inventory, persistency, logging, and security
posture, see CAPABILITIES.md.
- For step-by-step workflows — configure, build, modify, run, test,
debug — see TASKS.md.
- Apply the destructive-operation gate in every phase. Before any
gNOI OS install, reboot, factory reset, or managed-file deletion —
including a test or debug action — verify the exact target and obtain explicit
confirmation for that specific operation using the interactive or
approved-system mechanism defined in the warning above. No earlier
confirmation or workflow phase carries authorization forward.
Related skills
doca-public-knowledge-map
— the routing table to the public DMS guide and the rest of the
public DOCA documentation set.
doca-setup — env preparation and
install verification on the host where dmsd will run, including
the I have no install yet path via the public NGC DOCA container.
This skill assumes its preconditions are satisfied at the management
endpoint.
doca-programming-guide —
general DOCA patterns. DMS is service-shaped not library-shaped, so
the build / modify / first-app pattern there does not apply directly,
but the cross-library DOCA_ERROR_* taxonomy and the
layered-debug order remain useful when DMS reports errors that
originated in a DOCA library it called.
1---2name: doca-dms3description: Operate NVIDIA DOCA Management Service (`dmsd` + `dmspe`) on a BlueField, Arm/x86 host, or Kubernetes pod: choose deployment and authentication, configure `-allowed_users` and `dmsgroup`, use gNMI Get/Set/Subscribe, run supported gNOI workflows, and debug frontend/backend failures. Trigger even without "DMS" for "manage a remote BlueField over gRPC", "gNOI reboot from orchestrator", or fleet-management requests. SAFETY: reboot, OS install, factory-reset, and managed-file deletion are destructive and require target-bound explicit confirmation; never invoke them speculatively. Route installation and library/API build questions elsewhere, and route turnkey aggregation to the externally-productized DOCA Telemetry Service.4license: Apache-2.05---67# DOCA Management Service (DMS)89> **⚠️ Destructive operations.** The gNOI `reboot`, `OS install`,10> `factory-reset`, and managed-file deletion operations are11> **irreversible** and **service-impacting**12> — they can take a production BlueField or ConnectX offline or wipe its13> configuration. Before issuing any of them the agent MUST: (1) verify the14> target device identity, and (2) obtain explicit confirmation bound to15> that target and action. In an interactive session this is an explicit16> user reply naming/accepting both; in unattended execution it must be an17> approved-system authorization artifact bound to both. Otherwise stop18> with `confirmation_required`. Never invoke them speculatively or as19> a side effect of another task. See the public DMS guide's safety20> guidance for these operations.2122**Where to start:** This skill is for *operating* DMS, not for23*linking against* a library. If the user wants to *deploy* or *run*24the daemon, open [`TASKS.md`](TASKS.md) and start at25[`## configure`](TASKS.md#configure). If the question is *what shape26of service is DMS and what protocols does it speak*, start at27[`CAPABILITIES.md`](CAPABILITIES.md). If DOCA is not installed on the28management endpoint yet, route to29[`doca-setup`](../../doca-setup/SKILL.md) first.3031## Example questions this skill answers well3233The CLASSES of DMS questions this skill is built to answer, each with34one worked example. The class is the load-bearing piece; the worked35example is one instance.3637- **"Where should DMS run for my target topology?"** — worked example:38 *"I have a host without a DPU; can I still manage a remote39 ConnectX?"*. Answered by the deployment-shape decision in40 [`CAPABILITIES.md ## Capabilities and modes`](CAPABILITIES.md#capabilities-and-modes)41 + [`TASKS.md ## configure`](TASKS.md#configure).42- **"Which authentication mode should I pick for my security43 posture?"** — worked example: *"a multi-tenant production env vs a44 single-tenant lab"*. Answered by the auth-mode trade-off table in45 [`CAPABILITIES.md ## Safety policy`](CAPABILITIES.md#safety-policy)46 + the auth-wiring step in47 [`TASKS.md ## configure`](TASKS.md#configure).48- **"How do I issue a gNMI `Get` / `Set` against a modeled path?"** —49 worked example: *"set `/interfaces/interface/config/mtu` on a remote50 interface"*. Answered by the gNMI/gNOI surface in51 [`CAPABILITIES.md ## Capabilities and modes`](CAPABILITIES.md#capabilities-and-modes)52 + the request-shape workflow in53 [`TASKS.md ## run`](TASKS.md#run).54- **"How do I run a gNOI operation (reboot, OS install, file55 transfer)?"** — worked example: *"trigger a clean reboot of the56 target via gNOI"*. Answered by the gNOI catalog in57 [`CAPABILITIES.md ## Capabilities and modes`](CAPABILITIES.md#capabilities-and-modes)58 + the run workflow in [`TASKS.md ## run`](TASKS.md#run).59- **"My DMS request returned an error — was it the frontend or the60 backend?"** — worked example: *"`mlxconfig` failed under DMS but61 works on the shell"*. Answered by the frontend-vs-backend split in62 [`CAPABILITIES.md ## Error taxonomy`](CAPABILITIES.md#error-taxonomy)63 + the layered ladder in64 [`TASKS.md ## debug`](TASKS.md#debug).65- **"Where do I read DMS logs and how do I rotate them?"** — worked66 example: *"persistent log directory + journald + log-rotation67 policy"*. Answered by the logging surface in68 [`CAPABILITIES.md ## Observability`](CAPABILITIES.md#observability)69 + the log-rotation step in70 [`TASKS.md ## configure`](TASKS.md#configure).7172## Audience7374This skill serves **external operators and platform teams who deploy and75operate DMS** to manage NVIDIA® BlueField® networking platforms or76NVIDIA® ConnectX® SmartNICs from a centralized control plane. Concretely:77people running `dmsd`, integrating gNMI/gNOI clients against it, choosing78an authentication mode, or wiring DMS into a Kubernetes deployment.7980It is **not** for NVIDIA developers contributing to DMS itself, and it81is **not** a programming guide for *building applications on top of*82DOCA libraries (that is `doca-programming-guide` plus the matching83library skill under `libs/`). DMS is a **service**, not a library: the84user invokes it as a daemon and talks to it over gRPC; they do not link85against `libdms.so` to write their own program.8687**Status note.** Per the public DMS guide, DMS is currently in **beta**,88with General Availability scoped to SPC-X use cases. The skill reflects89the public guide's posture: prescribe the documented launch / auth /90deployment paths, follow the documented security best practices, and91defer roadmap and GA-scope questions to the live public guide rather92than guessing.9394## When to load this skill9596Load this skill when the user is doing **hands-on DMS operation work**97against a BlueField or ConnectX target where DOCA is already installed98on the management endpoint (host, DPU, or pod). Concretely:99100- Deciding *where* DMS should run (host non-DPU / BlueField Arm /101 Kubernetes pod) for a given target topology.102- Bringing up the `dmsd` daemon — choosing SystemD vs manual launch,103 selecting an authentication mode, wiring `-allowed_users` (the gRPC104 client authorization boundary) and, if needed, `dmsgroup` (the105 `dmspe` backend-helper Unix group).106- Issuing `gNMI` `Get` / `Set` requests against modeled paths107 (e.g. `/interfaces/interface/config/mtu`).108- Issuing `gNOI` operations: OS install, reboot, file transfer,109 factory-reset, `mlxconfig`, containerz.110- Choosing an authentication mode (localhost / PAM / credentials / mTLS)111 and understanding the security trade-offs the public guide calls out.112- Reading or rotating DMS logs, configuring config persistency, or113 recovering from a crashed daemon.114- Debugging a DMS request that returned an error — separating115 "frontend rejected before reaching backend" from "backend executed and116 the underlying tool (e.g. `mlxconfig`) failed".117118Do **not** load this skill for general DOCA orientation, install of119DOCA itself, or library-API questions. For those, route via120[`doca-public-knowledge-map`](../../doca-public-knowledge-map/SKILL.md),121[`doca-setup`](../../doca-setup/SKILL.md), or the matching122`libs/<library>` skill.123124## What this skill provides125126This is a **thin loader**. Substantive material lives in two companion127files:128129- `CAPABILITIES.md` — DMS architecture (frontend `dmsd` / privileged130 backend `dmspe`), management protocols (gNMI, gNOI), the YANG-based131 unified configuration dictionary, deployment shapes, authentication132 modes with their security trade-offs, the configuration-persistency133 model, the logging surface, and DMS's documented security posture.134- `TASKS.md` — step-by-step workflows for the in-scope DMS verbs:135 `configure`, `build`, `modify`, `run`, `test`, `debug`, plus a136 `Deferred task verbs` block routing out-of-scope questions.137138The skill assumes a host where DOCA is already installed and the139operator has root / `sudo` access where the public guide says it is140required. It does not cover installing DOCA — that path goes through141[`doca-setup`](../../doca-setup/SKILL.md).142143## What this skill deliberately does not ship144145This skill is **agent guidance**, not a templates or sample-config146bundle. To keep the boundary clean, it deliberately does not contain —147and pull requests should not add:148149- **Pre-baked DMS configuration files** (YANG instance documents,150 full-stack example configs, ready-to-run `dmsd` flag bundles)151 intended to be copy-pasted into production. Configs are deployment-152 specific and the safe answer for an external operator is to derive153 them from the public guide against their own target. The agent's154 job is to prescribe the *procedure* and quote the documented flags155 and paths, not to ship a config the user might run unmodified.156- **Pre-written gNMI / gNOI client programs in any language.** The157 client surface is standard gNMI / gNOI (publicly documented); the158 skill describes which paths and operations DMS supports, not how to159 build a gRPC client in language X.160- **TLS material, credentials, or PAM stanzas.** These are161 user-environment artifacts; the skill points at the documented162 configuration knobs and the documented security best practices and163 stops there.164- **A `samples/`, `templates/`, or `reference/` subtree** of any165 kind. A mock or incomplete artifact in this skill's tree, even one166 labeled "reference", is misleading: operators will read it as167 production-ready.168169## Loading order1701711. Read this `SKILL.md` first to confirm the user's question is in scope.1722. **For the DMS architecture, deployment shapes, auth modes,173 protocol/path inventory, persistency, logging, and security174 posture, see [CAPABILITIES.md](CAPABILITIES.md).**1753. **For step-by-step workflows — configure, build, modify, run, test,176 debug — see [TASKS.md](TASKS.md).**1774. **Apply the destructive-operation gate in every phase.** Before any178 gNOI OS install, reboot, factory reset, or managed-file deletion —179 including a test or debug action — verify the exact target and obtain explicit180 confirmation for that specific operation using the interactive or181 approved-system mechanism defined in the warning above. No earlier182 confirmation or workflow phase carries authorization forward.183184## Related skills185186- [`doca-public-knowledge-map`](../../doca-public-knowledge-map/SKILL.md)187 — the routing table to the public DMS guide and the rest of the188 public DOCA documentation set.189- [`doca-setup`](../../doca-setup/SKILL.md) — env preparation and190 install verification on the host where `dmsd` will run, including191 the *I have no install yet* path via the public NGC DOCA container.192 This skill assumes its preconditions are satisfied at the management193 endpoint.194- [`doca-programming-guide`](../../doca-programming-guide/SKILL.md) —195 general DOCA patterns. DMS is service-shaped not library-shaped, so196 the build / modify / first-app pattern there does not apply directly,197 but the cross-library `DOCA_ERROR_*` taxonomy and the198 layered-debug order remain useful when DMS reports errors that199 originated in a DOCA library it called.