My Oracle Support Banner

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 MARCH 05, 2019

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

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
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.