Enterprise Manager Convert to Cluster Database (RAC) fails without showing errors at Pre Configuration phase unknown cause

Enterprise Manager Convert to Cluster Database (RAC) fails without showing errors at Pre Configuration phase

Quick Take

Oracle Enterprise Manager Cloud Control 13c can convert a single-instance Oracle Database to a RAC configuration, but an OEM wizard job may stop at the Pre Configuration stage without a useful error. In this case study, a customized glogin.sql file affected the job; temporarily removing the customization allowed the conversion to finish. This is one incident-specific diagnosis, not a general fix for every RAC conversion failure. Review the job environment and licensing, preserve the configuration, and test remediation safely before retrying.

Oracle Enterprise Manager Cloud Control 13c provides a wizard to convert a single-instance database to an Oracle RAC database. This requires the Oracle Database Lifecycle Management Pack for Enterprise Manager Cloud Control.

When converting the database to a cluster database, after proving all the required details in the wizard,  a job is executed to prepare the environment and to create the new RAC cluster database.

The job fails at phase Pre Configuration without errors in the output.log.

There are no hard errors in the alert.logs or agent logfiles which may give a clue.

RAC_job_hangs

The cause of this problem is a setting in the $ORACLE_HOME/sqlplus/admin/glogin.sql.
(Check your SQL prompt in the job output log, the prompt may be set using the glogin.sql)

Once the glogin.sql temporary has been renamed, the job can be restarted in Enterprise Manager and it finishes successful.