My Oracle Support Banner

EM 13c: Enterprise Manager 13c Cloud Control Data Guard Switchover Job Submitted by emcli dg_switchover fails with NULL in Command Session (Doc ID 2329217.1)

Last updated on SEPTEMBER 16, 2021

Applies to:

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


Enterprise Manager 13.2 Cloud Control
emcli is used for job creation and submittal

Perform Data Guard switchover using the "emcli dg_switchover" command and it fails in 2 different ways:

1) Issuing the emcli command returns "NULL" in the command line:

    $ emcli dg_switchover -primary_target_name=<PRIMARY_TARGETNAME> -primary_target_type=oracle_database -standby_target_name=<STANDBY_TARGETNAME> -standby_target_type=oracle_database

      Parsing command line arguments...

2) Issuing the emcli command, it submits the switchover job, but the job fails with "NULL" error:

    $ emcli dg_switchover -primary_target_name=<primary target name> -primary_target_type=oracle_database -standby_target_name=<standby target name> -standby_target_type=oracle_database

A Data Guard Switchover job gets submitted but it fails with "NULL" error in Step:Switchover in the EM 13.2 Cloud Control console view:





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.