My Oracle Support Banner

Fleet Maintenance: UPDATE_DB/UPDATE_RACDB Fails In Copying Dataguard Dat files To New Oracle Home (Doc ID 2599612.1)

Last updated on MARCH 12, 2021

Applies to:

Enterprise Manager for Oracle Database - Version and later
Information in this document applies to any platform.


In Enterprise Manager Cloud Control, Fleet Maintenance UPDATE_DB failing in copying the dataguard dat files if present in <ORACLE_HOME>/dbs and updating in  spfile with new location.

Command Snippet:
emcli db_software_maintenance -performOperation -name=Fleet -purpose=UPDATE_DB -target_type=oracle_database -target_list=ABC -normal_credential=ORACLE:SYSMAN -privilege_credential=ROOT:SYSMAN

Job Step Log:: Migrate tnsnames and listener entries
Final command line to execute is $PERL_HOME/perl "/tmp/JOB_84AD1604690A3C08E0539D10/" -srcOracleHomeLoc="/u01/app/oracle/product/18/dbhome_1" -newOracleHomeLoc="/u01/app/oracle/product/18/dbhome_185" -tnsAdminLoc="/u01/app/oracle/product/18/dbhome_185/network/admin" -newTnsAdminLoc="/u01/app/oracle/product/18/dbhome_185/network/admin" -listenerName="LISTENER" -switchbackMode="" -oldListenerName="" -migrateLsnr="false" -dbSIDs="<DB_Name>"

The output of the directive is:
Unknown option: oldlistenername
Unknown option: migratelsnr
ORACLE_HOME set to /u01/app/oracle/product/18/dbhome_185

TNS Admin is same as new TNS Admin , hence no edit operation will be performed
Replacing entries in listener.ora..
Listener : LISTENER


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

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