Hello,
Using OEM 13c I'd like to know if it's possible to detect/discover all possible targets on a server with 'emcli'.
When running Setup -> Add Target -> Add Targets Manually
Add using guided process => select "Oracle database, listener and ASM"... => Specify host of cluster <server name>
I end up with all 8 databases running on this machine <server name>, a "+ASM_server.domain.com" target, and
a "LISTENER_machin.domain.com" too plus a warning saying "thsi host has Oracle Restart installed. Recommended
to promote the unmanaged HAS target on the host".
I can't find a way to get the same list of 10 resources (+ HAS) with emcli (I tried with
emcli run_auto_discovery -host="<server name>" but it displays stuff about a job that I then query with get_jobs
but it displays nothing...
Thanks.
Regards,
Sebino