snctl commands, global options, and subcommands for managing SambaRack systems.
Command structure
The basic command structure is:Global options
Global options can be used with anysnctl command.
—log-level
Set the logging level for the current command execution.
Example:
—snctl-dir
Override the base directory for configuration and logs. Default is~/.snctl.
Example:
—version, -v
Display the CLI version and exit. Example:Subcommands
config
Manage SambaRack Manager configuration.
config init
The
config init command provides an interactive wizard to:
- Set folder location for configuration files (default:
~/.snctl) - Generate a new encryption key
- Create an empty inventory file
- Set service account for GCS access (optional)
- Configure logs directory (optional)
This command requires an empty directory. If configuration files already exist in the target directory, initialization aborts.
doctor
Check system dependencies and environment configuration to ensure your system is ready to use SambaRack Manager.secret
Manage encrypted device credentials.
See Device Credentials for detailed instructions.
rack
Manage racks and rack-level devices.Rack IDs can range from 001 to 255.
See Rack Administration for detailed instructions.
node
Manage nodes and perform power operations.Nodes are added automatically to SambaRack Manager when a rack is added. There is no command to add a node directly.
See Node Administration for detailed instructions.
group
Manage groups of racks for batch operations.Group names should be alphanumeric.
device
Manage device firmware and perform device-level operations.
See Device Administration for detailed instructions.

