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 DECEMBER 06, 2017

Applies to:

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

Symptoms

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=dngdb70t.rnd.pncint.net -primary_target_type=oracle_database -standby_target_name=dngdb71t.rnd.pncint.net -standby_target_type=oracle_database

      Parsing command line arguments...
      null


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:

 

 

 

 

Changes

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms