EM 12c: Executing emcli modify_target on a RAC Database in Enterprise Manager 12c Cloud Control does not Update the targets.xml File for Instances (Doc ID 1993518.1)

Last updated on APRIL 09, 2015

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.

Symptoms

A deployment procedure to change database instance and related RAC database monitoring credentials in EM 12c Cloud Control includes the following method:

emcli modify_target
    -name=\"$TESTNAME\"
    -type=\"rac_database\"
    -credentials=\"UserName:sys;password:$SYSPASSWORD;Role:SYSDBA\"
    -on_agent";

This only changes the RAC database credentials, however, not the instance credentials, so the instance target status shows as Down in each case.

Changing the instance credentials with the modify_target verb explicitly does not work when the instance is associated with a RAc database.

While updating the credentials through EM 12c is successful, this method does not lend itself to automation.

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