Retrieving Deleted Target Types
If you have deleted one or more targets (such as a database target or a weblogic domain, or any other target), you can retrieve them and add them back to the Enterprise Manager Console. If autodiscovery is configured on the host where the targets were present, the targets are automatically discovered during the next scheduled autodiscovery operation. Once they are autodiscovered, you can promote them and add them to the console. If autodiscovery is not configured on the host where the targets were present, you have to discover the targets using one of the following methods:
-
By enabling autodiscovery as described in Configuring Autodiscovery of Non-Host Targets to automatically discover and promote the targets in the next scheduled autodiscovery operation.
-
By using the guided discovery process as described in Adding Non-Host Targets Using the Guided Discovery Process to manually discover and add the discovered targets to the console.
-
By specifying the target monitoring properties for each target as described in Adding Non-Host Targets By Using the Declarative Process to manually discover and add the discovered targets to the console.
-
By using the following EM CLI verb:
$ emcli add_target -name="name" -type="type" -host="hostname" [-properties="pname1:pval1;pname2:pval2;..."] [-separator=properties="sep_string"] [-subseparator=properties="subsep_string"] [-credentials="userpropname:username;pwdpropname:password;..."] [-input_file="parameter_tag:file_path"] [-display_name="display_name"] [-groups="groupname1:grouptype1;groupname2:grouptype2;..."] [-timezone_region="gmt_offset"] [-monitor_mode="monitor_mode"] [-instances="rac_database_instance_target_name1:target_type1;..."] [-force] [-timeout="time_in_seconds"] [ ] indicates that the parameter is optional
For more information, see Verb Reference in the Oracle Enterprise Manager Command Line Interface Guide.