Groups organize racks into logical collections for batch operations. Use groups to manage related infrastructure, such as production, staging, or testing environments.
Display all configured groups and their rack counts:
snctl group list
Example output:
+------------+-------------+------------+| Group Name | Description | Rack Count |+------------+-------------+------------+| g1 | Production | 1 |+------------+-------------+------------+
Perform DC power operations on all nodes in racks belonging to a group:
# Check power state of all nodes in a groupsnctl node powerstate --group production --type node# Power on all nodes in a groupsnctl node poweron --group production --type node# Power off all nodes in a groupsnctl node poweroff --group production --type node# Power cycle all nodes in a groupsnctl node powercycle --group production --type node