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 26, 2018

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

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
Symptoms
Changes
Cause
Solution
References


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