Users Guide

Table Of Contents
The slot option is applicable only when moving a device (including a chassis) to a rack. It species which slot the device should be moved
into. If it is not provided when moving a device to a rack, the CLI identies a slot.
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 specied the slot:
If the UPS/PDU is in a slot of a previous rack, the CLI uses the specied 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 identied 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 identied 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).
38
Using OpenManage Power Center through Command Line Interface