Database Reference
In-Depth Information
emcli get_targets
-targets="database%:%oracle%"
Shows all targets whose name starts with "database" and type
contains "oracle".
emcli get_targets
-targets="database3:oracle_database"
-alerts
Shows status and alert information on the Oracle database named
"database3".
emcli get_targets
-config_search="Search File Systems on Hosts"
-targets="oracle%:host"
-alerts
Shows status and alert information of the resulting targets from
configuration search named "Search File Systems on Hosts" and targets
whose name starts with "oracle" and of type "host".
emcli get_targets
-targets="host"
-unmanaged
Shows name and type information for unmanaged host targets.
EM CLI Client Software
The basic OEM installation on a management server preconfigures an EM CLI client as part of OMS Oracle Home.
In Chapter 2 we'll show you how to upgrade that client to the EM CLI Advanced Kit.
Part of EM CLI's strength comes from its flexibility. In addition to the client installation on the OMS server,
you can install the EM CLI client on a non-OMS host or even on your desktop.
Installing the EM CLI client consists of downloading and extracting an installation jar file in order to install the
binaries, and then configuring the client with connection information for your OMS server. The jar file and installation
for its use are available through the OEM console under Setup > Command-Line Interface . Follow the instructions on
that web page to install the EM CLI to your workstation.
EM CLI and EMCTL
Several EM CLI functions can be performed through the Agent Control utility EMCTL. Your choice of technique
depends on a combination of factors.
EM CLI client must be manually installed and maintained on the remote host when called
by shell scripts on the remote host. The console displays a listing of remote CLI client
installations, but you still have to manually update the client software.
EM CLI configuration on a remote host requires connection information for interaction with
the OMS server. When this information changes, you must visit each EM CLI installation.
EMCTL commands are specific to the targets known to a specific agent, so the commands
passed on the command line are typically much simpler.
 
Search WWH ::




Custom Search