This discussion is archived
4 Replies Latest reply: Sep 16, 2013 10:00 AM by Courtney Llamas RSS

Re: How to add targets manually, in OEM 12C, through command line...

1009980 Newbie
Currently Being Moderated
I am trying to add the rac targets using emcli interface. Before adding rac_database as target type we need to add a cluster. I Used the following command to add a cluster but it fails with internal error. and the log files do not show any error.

Any idea how to fix this?


./emcli add_target -name="bacalbdb01n_cluster" -type="cluster" -host="bacalbdb01n1" -monitor_mode="1" -properties="OracleHome:/u01/crs/oracle/product/11/app;scanName:bacalbdb01n-scan;scanPort:1521" -instances="bacalbdb01n1:host;bacalbdb01n2:host"

Internal Error: The EM CLI system has encountered an internal error. Details have been added to the EM CLI log files.