Credentials Issue Using 'emcli Dg_switchover'
(Doc ID 2971743.1)
Last updated on SEPTEMBER 11, 2023
Applies to:
Enterprise Manager for Oracle Database - Version 13.5.1.0.0 and laterInformation in this document applies to any platform.
Symptoms
As SYSMAN, the following command can be executed successfully:
emcli dg_switchover -primary_target_name="primary targetname" -primary_target_type="rac_database" -standby_target_name="standby targetname" -standby_target_type="rac_database" -primary_db_creds_name="NC_DB_SYSDBA_SYS" -primary_host_creds_name="NC_HOST_SSH_ORACLE" -standby_db_creds_name="NC_DB_SYSDBA_SYS" -standby_host_creds_name="NC_HOST_SSH_ORACLE"
But as BC_AUTOMATION_USER user (it has the privileges to use these credentials NC_HOST_SSH_ORACLE and NC_DB_SYSDBA_SYS ):
emcli dg_switchover -primary_target_name="primary targetname" -primary_target_type="rac_database" -standby_target_name="standby targetname" -standby_target_type="rac_database" -primary_db_creds_name="NC_DB_SYSDBA_SYS:SYSMAN" -primary_host_creds_name="NC_HOST_SSH_ORACLE:SYSMAN" -standby_db_creds_name="NC_DB_SYSDBA_SYS:SYSMAN" -standby_host_creds_name="NC_HOST_SSH_ORACLE:SYSMAN"
The job failed, the output from OEM console shows:
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 |