Users Guide
update_device
Usage:
ompc_cli update_device [-description <description>] [-size <size>] [-estimated_max_power
<estimated_max_power>] [-host_name <host_name>] [-ip <ip>] [<pair of protocol property
and value options>] <device_name > [<new_device_name>]
The update_device command updates device information identified by its device_name. If new_device_name is provided,
the device_name is also updated to the new_device_name. [<pair of protocol property and value
options>] depends on the protocol supported by this device.
rediscover_device
Usage:
ompc_cli rediscover_device [-service_tag <stag>] [<device_name>]
The rediscover_device command lets OMPC connect with the device and refresh properties that might be changed on the
device side (for example, power capability and device model).
After rediscovery, the Time of Discovery is updated to the time of rediscovery.
For the Chassis Management Controller (CMC), if you try to rediscover the CMC before adding it to the rack, the blades inside
it are not enumerated. If you are rediscovering a CMC after it is added to rack, the blades are enumerated.
You cannot use -service_tag and device_name at the same time.
If the device is an unsupported device (device_type is Unsupported), the CLI displays the error, “CLI does not allow rediscover
for unsupported devices.”
find_device
Usage:
ompc_cli find_device [-service_tag <stag>] [<device_name>]
The find_device command is used to list all groups' name (fully qualified) the device identified by service tag or device_name
belongs to.
service_tag command option is supported.
remove_profile
Usage:
ompc_cli remove_profile <profile-name>
The remove_profile command removes a discovery profile.
delete_device
Usage:
ompc_cli delete_device [-service_tag <stag>] [<device_name>]
The delete_device command deletes a device. You cannot use –service_tag and device_name at the same time.
If the device is a chassis, it is deleted like a group (if the blades in it are already enumerated). The chassis itself is also deleted
from OMPC, and is no longer visible on the Devices page.
30
Using OpenManage Power Center through Command Line Interface