Groups organize racks into logical collections for batch operations. Use groups to manage related infrastructure, such as production, staging, or testing environments.
Group commands
Use the following commands to create and manage groups.
Create group
Create a new group:
Parameters:
Example:
Update group description
Edit the description of an existing group:
Example:
Delete group
Remove a group from the inventory:
Example:
Deleting a group does not delete the racks within it. The racks remain in the SambaRack Manager inventory.
List groups
Display all configured groups and their rack counts:
Example output:
Show group details
View details of a specific group, including all racks:
Example:
Example output - 4-PDU racks:
Example output - mixed configuration:
Rack membership commands
Use the following commands to manage rack membership within groups.
Add rack to group
Add one or more racks to a group:
Example – add a single rack:
Example – add multiple racks:
Remove rack from group
Remove a rack from a group:
Example:
Removing a rack from a group does not delete the rack from the SambaRack Manager inventory.
Using groups with other commands
Groups can be used as targets for device and node operations, allowing you to perform batch operations across multiple racks.
Device operations
Check firmware on all devices in racks belonging to a group:
See Device Administration for more details.
Node power operations
Perform DC power operations on all nodes in racks belonging to a group:
See Node Administration for more details on power operations.