Users Guide

Table Of Contents
The backup_database command is used to initiate the OMPC database restoration.
The -path and -encrypt_password options must be supplied.
The database restore process is complete.
add_ssh_server_key
Usage:
ompc_cli add_ssh_server_key [-host_names <host_names>] [-key_type <key_type>] [-ssh_key
<ssh_key>] <key_name>
The add_ssh_server_key command is used to add SSH keys to OMPC for device authentication.
The -key_type, -host_names, and -ssh_keyare the supported command options.
The ssh server key is successfully added to OMPC.
remove_ssh_server_key
Usage:
ompc_cli remove_ssh_server_key <key_name>
The remove_ssh_server_key command is used to remove a SSH key specied by the from OMPC.
The ssh server key is successfully removed.
list_ssh_server_key
Usage:
ompc_cli list_ssh_server_key [-long] [<key_name>]
The list_ssh_server_key command is used to list SSH keys which are used by OMPC for server authentication.
The ssh keys used by OMPC for server authentication is successfully listed.
For example, list_ssh_server_key –long 77s0d8f8sd89sd90099988s0d, where –long <ssh_key > is used or
list_ssh_server_key XXXXX1, where <key_name> is used.
Command line interface error codes
An error code appears when one of the following two conditions occurs:
The CLI identied an error, such as a command or command option validation error. The error code is generated by the CLI. The module
number for the CLI is 0xEE. An error number for each command and option is displayed.
An OpenManage Power Center back-end error occurs. In this situation, the error code from the server is returned by the CLI.
The error codes use the following format:
8E|Module|Related Module (Optional)|Detail (Optional)
OMPC modules and error codes:
42
Using OpenManage Power Center through Command Line Interface