Database Reference
In-Depth Information
the authors' experiences using quotation marks have been mixed. they are recommended, but often aren't
required. We'll use them for clarity in our examples. You may find that you don't always need them, or that you prefer
not to use them.
Note
Use the get_targets verb to display or capture a list of the targets in your environment, as follows:
emcli get_targets
To find only Oracle database targets you'd filter your request with the targets keyword:
emcli get_targets -targets="oracle_database"
Numerous examples throughout this topic demonstrate how verbs and input values are applied. A catalog of EM
CLI verbs and their syntax is available in Oracle Support document E17786-x. Be aware that some verbs are tied to
management packs that require licensing fees. You can also find online help at the command-line that lists all of the
verbs available and their intended use. For example:
emcli help
Summary of commands:
argfile -- Execute emcli verbs from a file
help -- Get help for emcli verbs (Usage: emcli help [verb_name])
login -- Login to the EM Management Server (OMS)
logout -- Logout from the EM Management Server
setup -- Setup emcli to work with an EM Management Server
status -- List emcli configuration details
sync -- Synchronize with the EM Management Server
version -- List emcli verb versions or the emcli client version
Add Host Verbs
continue_add_host -- Continue a failed Add Host session
get_add_host_status -- Displays the latest status of an Add Host session.
list_add_host_platforms -- Lists the platforms on which the Add Host operation
can be performed.
list_add_host_sessions -- Lists all the Add Host sessions.
retry_add_host -- Retry a failed Add Host session
submit_add_host -- Submits an Add Host session.
...
The help verb can be filtered with specific verbs to display detailed usage instructions:
emcli help get_targets
emcli get_targets
[-targets="[name1:]type1;[name2:]type2;..."]
[-alerts]
[-noheader]
[-script | -format=
[name:<pretty|script|csv>];
[column_separator:"column_sep_string"];
[row_separator:"row_sep_string"];
]
 
Search WWH ::




Custom Search