Redeploy Oracle Homes

Should an Oracle Home become corrupted or removed completely from the host, you can redeploy an Oracle Home again on the same host. This feature is available starting with Oracle Enterprise Manager 13.5 Release Update 18 (13.5.0.18).

Before You Begin

Make sure that the Oracle Home that you are redeploying is not associated with any additional targets in Enterprise Manager before starting a redeploy. The redeploy process will fail at the validations step if it encounters additional Enterprise Manager targets associated to a home.

Corrupt Oracle Homes can not be cleaned up using the automated Fleet Maintenance Cleanup Operations, and need to be manually removed from the host before starting a redeploy operation.

Redeploy an Oracle Home

To redeploy an Oracle Home using EM CLI use this sample code:
emcli db_software_maintenance 
-performOperation 
-name=<REDEPLOY_DBHOME>
-purpose=DEPLOY_DB_SOFTWARE 
-target_type=oracle_database  
-target_list=<list of targets>
-normal_credential="<CREDENTIAL>:<OWNER>"  
-privilege_credential="<CREDENTIAL>:<OWNER>"
-input_file="<INPUT FILE LOCATION>"
Where the input file must contain the following additional parameters:
NEW_ORACLE_HOME_LIST=<NEW ORACLE HOME PATH>
workingDir=<FULL WORKING DIRECTORY PATH>
SKIP_PREREQUISITE_CHECKS="true"
SKIP_CVU_CHECK="true"
IS_REDEPLOY="true"
To redeploy an Oracle Home the IS_REDEPLOY parameter must be set to true.