Users Guide

When moving a UPS/PDU from one rack to another rack and the slot is not provided:
If the UPS/PDU is in a slot of a previous rack, the CLI selects one slot in the new rack.
If the UPS/PDU is attached in a previous rack, the CLI attaches it in the new rack.
When moving a UPS/PDU from one rack to another rack and you have specified the slot:
If the UPS/PDU is in a slot of a previous rack, the CLI uses the specified slot in the new rack.
If the UPS/PDU is attached in a previous rack, the CLI reports an error.
You cannot change the UPS/PDUS properties between slotted and attached in Power Center. You can change between
slotted and attached by removing the UPS/PDU from the rack, and re-adding it to the rack.
If the device to be moved is a chassis, the behavior is the same as moving it through the move_group command.
You cannot use the attributes -service_tag and device_name at the same time.
If the move operation fails, the device stays in the original group. There are exceptions for critical situations such as power
failures, crashes, network failures for the remote database, and local network failures.
move_group
Usage:
ompc_cli move_group FROM_GROUP_PATH TO_GROUP_PATH
The move_group command moves a group from FROM_GROUP_PATH to TO_GROUP_PATH.
You cannot use the same group path as FROM_GROUP_PATH to TO_GROUP_PATH. Also, you cannot use / as
FROM_GROUP_PATH.
After successfully moving a group, the group identified by FROM_GROUP_PATH no longer belongs to the original parent in
FROM_GROUP_PATH. It belongs to TO_GROUP_PATH.
When moving a chassis to a rack, the CLI chooses one available slot (if a slot is available). If you want to specify a slot for the
chassis in the new rack, you must use the move_device command.
If the move operation fails, the device stays in the original group. There are exceptions for critical situations such as power
failures, crashes, network failures for the remote database, and local network failures.
add_group_to_group
Usage:
ompc_cli add_group_to_group GROUP_PATH TO_ _GROUP_PATH
The add_group_to_group command adds a group identified by GROUP_PATH to TO_GROUP_PATH. If the source group path
also belongs to another parent group, after successfully adding the group, the source group belongs to both the old group and
the new parent group. The exception is that a chassis can only belong to one rack (not multiple racks).
You cannot add groups to a rack (except for the chassis, which is a device before it is added to a rack, then a group after it is
added to a rack).
When adding a chassis to a rack, the CLI chooses an available slot (if there is one available). If you want to specify a slot for the
chassis in the rack, you must use the add_device_to_group command.
List commands
The following are generic rules for list commands:
The output of list commands is a simple table-like structure, where a comma-delimited list of column names will be output
first, followed by the data, in comma-delimited format. There is one line per record. If a piece of data is not applicable or
available, that data is represented by two commas next to each other (NULL field).
Line breaks (CRLF) in the output fields must be replaced with spaces.
Using OpenManage Power Center through Command Line Interface
33