Users Guide

add_group
Usage:
ompc_cli add_group [-description <description>] -group_type <DC|ROOM|AISLE|RACK|CUSTOM
> [-capacity <capacity>] [-total_power_capacity <power_capacity>] GROUP_PATH
The add_group command adds a new group identified by GROUP_PATH. If the type is RACK, you must supply the <capacity>
option.
Forward slash (/) cannot be used as GROUP_PATH in the add_group command.
The chassis can be added to any group at any time. You can only add Chassis Management Console (CMC) to one rack; not
multiple racks.
When you add CMC to any group, the blades inside it can be enumerated.
delete_group
Usage:
ompc_cli delete_group [-preview] GROUP_PATH
The delete_group command deletes a group identified by GROUP_PATH. All devices in this group are removed. The devices still
exists on the Devices page and in other groups that contain them.
All subgroups are removed from this group. If a subgroup belongs to multiple parent groups, this subgroup still exists in the other
parent groups. If the subgroup no longer belongs to any parent group (after being removed from the current parent), this
subgroup is deleted from OMPC. This also applies to the group itself.
If the [-preview] option is given, a summary of the groups, devices, and policies impacted is display. No deletion occurs.
The summary includes the number of impacted devices, number of impacted groups, and number of impacted policies.
All subgroups under the specified group path are counted in the summary irrespective of whether they are deleted from
OMPC or not deleted. It is possible that a subgroup could be removed from the specified group path, but can not be deleted
from OMPC due to a reference from another parent group.
All devices and subgroups are counted in the summary and not only the direct children of a specified group.
Any policies that you added to the impacted devices are not counted in the summary, because the devices are not deleted
from OMPC, and these policies remain on these devices.
Example Summary:
Number of impacted devices: 5
Number of impacted subgroups: 10
Number of impacted policies: 3
You can delete a chassis as a group with the delete_group command. In this case, after successful removal, the chassis is
kept on the Devices page as a device, but it no longer appears as a group if there is no other group containing this chassis (if
there is no connection between the chassis and the blades inside it).
update_group
Usage:
ompc_cli update_group [-description <description>] [-group_type <DC|ROOM|AISLE|CUSTOM|
RACK >] [-capacity <capacity>] [-total_power_capacity <power_capacity>] GROUP_PATH
[new_group_name]
The update_group command updates the properties of an existing group identified by GROUP_PATH. The capacity and
total_power_capacity options are valid only when the group to be updated is a rack. The group_type of a rack cannot
be updated, and no other type of group can be updated to be a rack.
Using OpenManage Power Center through Command Line Interface
31