- Install SambaRack Manager software
- Initial setup and verification
- Add SambaRack to the SambaRack Manager inventory (this page)
- 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.
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.
Option 1 — Import from a file (recommended)
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.--overwrite was not passed:
Option 2 — Add manually
Step 1 — Add the rack
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.
Next step
Configure your device credentials. Adding a device stores a placeholder password, so set the real credentials for each device type withsnctl 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
add-device calls produced the values you expected.
Example – show the node each device belongs to:
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.Passwords are always replaced with placeholders (
${BMC_SECRET}, ${PDU_SECRET}, and so on), so the export file is safe to share.Delete a device
Delete a rack
Removes a SambaRack and all its associated SN40L nodes from the inventory.snctl rack list.

