Users Guide

Table Of Contents
The delete_group command deletes a group identied 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 specied 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 specied 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 specied 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 identied 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.
If new_group_name is provided, the CLI updates the name of the group to the new name. The group can belong to another group. If this
is the case, the rename operation may fail because of the name coniction.
The chassis can be regarded as group, so the CLI allows updates to the properties of the chassis through the update_group command. You
can only update the chassis’ description and name through the update_group command. You cannot update other types of groups to be a
chassis.
The name must be unique across devices and groups under the same parent group.
You cannot use “/” as GROUP_PATH in the update_group command.
36
Using OpenManage Power Center through Command Line Interface