Enterprise Manager Generic (MOSC)

MOSC Banner

Oracle Cloud Control CLI discover_db change PDB Name

Hello,


I want to discover several databases in the Cloud Control via the CLI. I have noticed that the PDB names can apparently not be customized.


The following scenario:

On a host there is a CDB with a PDB. When I add it via emcli db_disocver the suffix and name for the CDB is taken from the host but the PDB is just called CDB_SID.


Example:

-input_file:

host_name=customer.si.systems

    db_creds=*:dbsnmp,Password

    target_type=oracle_database

    db_name_suffix=_customer


emcli discover_db -input_file=db_discovery_file:test.file


Output from the command:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center