Skip to Main Content

Enterprise Manager

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Equivalent of "guided" discovery with 'emcli' ?

SebinoMar 13 2020 — edited Mar 13 2020

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

Comments
Post Details
Added on Mar 13 2020
3 comments
818 views