Skip to main content
This guide covers adding, viewing, exporting, and managing racks and their devices using SambaRack Manager. It includes tasks for both new installations and ongoing management. The complete setup process is:
  1. Install SambaRack Manager software
  2. Initial setup and verification
  3. Add SambaRack to the SambaRack Manager inventory (this page)
  4. Configure device credentials in SambaRack Manager

Key concepts

Read this section once. Everything after it depends on these four things.

Rack IDs

Rack IDs must always be numeric, from 001 to 4096.

Part numbers

The part number determines which components are scaffolded when you add a rack.
To identify the part number for your installed SambaRack, refer to the relevant knowledge base article on the SambaNova Support Portal.

Device types

Rack-level: Node-level: Nodes themselves are scaffolded automatically from the part number — there is no separate command to add a node.

Device paths and indexing

Commands that act on a single device take a path. Whether that path ends in an index depends on the device type. PDUs start at 1 while everything else starts at 0. This matches how the hardware is physically labelled.

Populate the inventory

Racks must be powered on and fully functional before you add them to the inventory.
Choose one of two paths: A single SN40L-16 rack scaffolds around 17 devices, each needing its own rack add-device call — so prefer the import path whenever a file exists.
The file is a native snctl inventory in JSON or YAML. It may contain a subset of racks, groups, or both — including a file produced by rack export. Pass - to read from stdin. See Inventory file schema for the format. Flags:
Always run with --dry-run first. It reports exactly which racks would be added, updated, or skipped — and how many credentials would be imported — without writing anything.
If a rack already exists and --overwrite was not passed:

Option 2 — Add manually

Step 1 — Add the rack

This scaffolds the rack’s full component layout from the part number: nodes, PDUs, XRDUs per node, access switches, data switches, and serial terminals. The scaffolded devices carry placeholder connection details. Register the real values in step 2.

Step 2 — Register each device’s connection details

Every field is optional, so you can configure a device incrementally across several calls — omitting a field preserves its current value. The device must end up with an address, though: supply at least one of --ip or --hostname.
Device IP details and credentials for each device type are shared with customers by SambaNova. Refer to it for the parameter values below.
Expected output, per device:

Next step

Configure your device credentials. Adding a device stores a placeholder password, so set the real credentials for each device type with snctl secret set before you run any operations against it. If you used rack import and the source file contained real passwords, those are imported into the encrypted credential store and no longer need setting. The inventory file schema has no password field, so most import files carry placeholders instead. Verify either way with snctl secret get --device-type bmc.

View the inventory

List racks

snctl rack list -o wide adds a Type column with the human-readable rack model:
snctl rack list -o json for machine-readable output:

Show rack details

Use this to confirm an import or a series of add-device calls produced the values you expected. Example – show the node each device belongs to:
The Node column carries the node name that snctl node and snctl power commands take. Rack-level devices — PDUs, switches, and serial terminals — leave it empty.

Maintain the inventory

Export racks

Export racks to a file or stdout, for backups, sharing, or review.
With no rack IDs, all racks are exported.
Passwords are always replaced with placeholders (${BMC_SECRET}, ${PDU_SECRET}, and so on), so the export file is safe to share.
The exported file contains the full rack structure — serial terminals, switches, PDUs, and nodes with their host, BMC, and XRDU components — with all connection details except passwords.

Delete a device

Delete a rack

Removes a SambaRack and all its associated SN40L nodes from the inventory.
This affects only the local inventory. It does not power off or modify the physical hardware, and it does not remove the rack from your SambaStack cluster. If removed in error, re-register with snctl rack add <rack_id> --partnumber <part>.
Confirm with snctl rack list.

Next step

Configure your device credentials.