My Oracle Support Banner

EM 13c: Emcli Relocate_Targets For Container Database Does Not Relocate The Pluggable Database Automatically (Doc ID 3009813.1)

Last updated on MARCH 19, 2024

Applies to:

Enterprise Manager Base Platform - Version 13.5.0.0.0 and later
Information in this document applies to any platform.

Symptoms

Running the following emcli command to relocate container and pluggable database :

emcli relocate_targets -src_agent='<SOURCE_AGENT>'
-dest_agent='<DEST_AGENT>'
-target_name='<CDB_TARGET_NAME>'
-target_type='<TARET_TYPE>' --> This can be oracle_database or rac_database
-copy_from_src -force='yes'

The command completed successfully. From Destination agent server we can see the oracle_database and oracle_pdb targets are relocated at agent level . However from OEM console PDB targets are still monitoring from source agent. Only oracle container database target is monitoring from destination agent.

If you try to rellocate just the pluggable database:

emcli relocate_targets -src_agent='<SOURCE_AGENT>'
-dest_agent='<DEST_AGENT>'
-target_name=<PDB_TARGET_NAME>
-target_type=oracle_pdb -copy_from_src

The following error is returned:


ERROR Message: There were Exceptions while computing Associated List of Targets. Error Messages:
Not permitted to relocate individual target of Type: oracle_pdb Name: <PDB_TARGET_NAME>



Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.