{"id":515,"date":"2013-10-12T20:49:26","date_gmt":"2013-10-12T23:49:26","guid":{"rendered":"http:\/\/www.dbarj.com.br\/?p=515"},"modified":"2015-12-01T21:49:13","modified_gmt":"2015-12-01T23:49:13","slug":"rename-managed-target-em-12c","status":"publish","type":"post","link":"https:\/\/www.dbarj.com.br\/en\/2013\/10\/rename-managed-target-em-12c\/","title":{"rendered":"Howto rename managed target on Oracle EM 12c"},"content":{"rendered":"<p>During many months the only way that I found to rename a Managed Target on OEM Cloud Control was deleting and adding it again. However, there is another way as I will show you. This procedure was tested and validated on EMc 12.1.0.2. So, if you choose to try at another\u00a0version, make it at your own risk!<\/p>\n<p>All managed targets in Enteprise Manager Cloud Control 12c have a <strong>&#8220;Display Name&#8221;<\/strong> and a <strong>&#8220;Target Name&#8221;<\/strong>.<\/p>\n<p>Moreover, there are two types of targets:<\/p>\n<ul>\n<li>Repository Side targets<\/li>\n<li>Agent Side targets<\/li>\n<\/ul>\n<p>To query the Repository Side targets, use the following SQL\u00a0inside your EM repository:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"oracledb\">SELECT ENTITY_TYPE,\r\n       TYPE_DISPLAY_NAME,\r\n       ENTITY_NAME,\r\n       DISPLAY_NAME\r\nFROM   SYSMAN.EM_MANAGEABLE_ENTITIES\r\nWHERE  MANAGE_STATUS = 2\r\nAND    REP_SIDE_AVAIL = 1\r\nORDER  BY 1,2;<\/pre>\n<p>To query the Agent Side targets, use the following SQL\u00a0inside your EM repository:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"oracledb\">SELECT ENTITY_TYPE,\r\n       TYPE_DISPLAY_NAME,\r\n       ENTITY_NAME,\r\n       DISPLAY_NAME,\r\n       EMD_URL\r\nFROM   SYSMAN.EM_MANAGEABLE_ENTITIES\r\nWHERE  MANAGE_STATUS = 2\r\nAND    REP_SIDE_AVAIL = 0\r\nAND    EMD_URL IS NOT NULL\r\nORDER  BY 1,2,3;<\/pre>\n<p>The agent side targets are stored also inside your target host. You can list\u00a0them executing\u00a0the following script\u00a0(as the EM Agent user):<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[root@evabddrjs001 ~]# su - emc12\r\n[emc12@evabddrjs001 ~]$ $AGENT_HOME\/bin\/emctl config agent listtargets\r\nOracle Enterprise Manager Cloud Control 12c Release 2\r\nCopyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.\r\n[10.221.63.104, host]\r\n[10.221.63.104:3872, oracle_emd]\r\n[agent12c1_2_evabddrjs001, oracle_home]\r\n[COLISEU_104, oracle_database]\r\n[OraDb10g_home1_1_evabddrjs001, oracle_home]\r\n[COLISEU_10.221.63.104, oracle_listener]\r\n[emc12@evabddrjs001 ~]$<\/pre>\n<p>First, let&#8217;s see an example of how to rename Repository side targets:<\/p>\n<h2>Rename Repository Side Targets<\/h2>\n<p>What you need to know:<\/p>\n<ul>\n<li>These targets are <strong>not<\/strong> monitored by the Cloud Control Agent.<\/li>\n<li>These targets are <strong>not<\/strong> present in the Cloud Control Agent files &#8220;$AGENT_BASE\/sysman\/emd\/targets.xml&#8221;<\/li>\n<li>These targets are only present in the Cloud Control repository and they are mainly known as &#8220;System&#8221; targets or aggregate targets (like groups).<\/li>\n<\/ul>\n<p>The &#8220;Display Name&#8221; and the &#8220;Target Name&#8221; are usually the same on Repository Side targets.<\/p>\n<p>It is possible to rename Repository Side targets. First, execute the following emcli command as oracle user inside your EMc server:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[root@ec12mntrjr001 ~]# su - oracle\r\n[oracle@ec12mntrjr001 ~]$ emcli login -username=sysman\r\nEnter password :\r\n\r\nLogin successful\r\n[oracle@ec12mntrjr001 ~]$ emcli sync\r\nSynchronized successfully<\/pre>\n<h3>Target Name<\/h3>\n<p>To rename the &#8220;Target Name&#8221; of the target, use the following query:<\/p>\n<p>-target_name=&lt;the actual target name&gt;<br \/>\n-new_target_name=&lt;the new target name&gt;<\/p>\n<p>Eg: Renaming a target name from <span style=\"color: #0000ff;\"><em><strong>&#8220;oracbddrjs_cluster&#8221;<\/strong><\/em><\/span> to <span style=\"color: #0000ff;\"><em><strong>&#8220;oracbddrjs-cluster&#8221;<\/strong><\/em><\/span>.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[oracle@ec12mntrjr001 ~]$ emcli rename_target -target_type=\"cluster\" -target_name=\"oracbddrjs_cluster\" -new_target_name=\"oracbddrjs-cluster\"<\/pre>\n<p>Now check with the &#8220;Repository Side Targets&#8221; SQL\u00a0above if the Target name and Display name were modified.<\/p>\n<p>If only the target name was changed, proceed to the next step.<\/p>\n<h3>Display Name<\/h3>\n<p>To rename the &#8220;Display Name&#8221; of the target, use the query:<\/p>\n<p>-name=&lt;the target name&gt; # Note that I use the new name because I renamed it in the step before.<br \/>\n-display_name=&lt;new display name&gt;<\/p>\n<p>Eg: Renaming a display\u00a0name to <strong><span style=\"color: #0000ff;\"><em>&#8220;oracbddrjs-cluster&#8221;<\/em><\/span><\/strong>.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[oracle@ec12mntrjr001 ~]$ emcli modify_target -name=\"oracbddrjs-cluster\" -type=\"cluster\" -display_name=\"oracbddrjs-cluster\"\r\nTarget \"oracbddrjs-cluster:cluster\" modified successfully\r\n[oracle@ec12mntrjr001 ~]$<\/pre>\n<p>Now, let&#8217;s see an example of how to rename Agent side targets:<\/p>\n<h2>Rename Agent Side Targets<\/h2>\n<p>What you need to know:<\/p>\n<ul>\n<li>These targets <strong>are<\/strong> monitored by the Cloud Control Agent.<\/li>\n<li>These targets <strong>are<\/strong> present in the Cloud Control Agent files &#8220;$AGENT_BASE\/sysman\/emd\/targets.xml&#8221;<\/li>\n<\/ul>\n<p>The &#8220;Display Name&#8221; and the &#8220;Target Name&#8221; may be different for Agent Side targets.<br \/>\nThe &#8220;Target Name&#8221; for an Agent Side target is the name of the target in the EM Cloud Control Agent file &#8220;$AGENT_BASE\/sysman\/emd\/targets.xml&#8221;.<br \/>\n(Which can be retrieved with the EM Cloud Control Agent command &#8220;emctl config agent listtargets&#8221;).<\/p>\n<h3>Display Name<\/h3>\n<p>To change the &#8220;Display Name&#8221; of an Agent Side target, you can use the following command:<\/p>\n<p>Eg: Renaming the listener display\u00a0name from <strong><em><span style=\"color: #0000ff;\">&#8220;COLISEU_10.221.63.104&#8221;<\/span>\u00a0<\/em><\/strong>to\u00a0<span style=\"color: #0000ff;\"><strong><em>&#8220;LISTENER_10.221.63.104&#8221;<\/em><\/strong><\/span>.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[root@ec12mntrjr001 ~]# su - oracle\r\n[oracle@ec12mntrjr001 ~]$ emcli login -username=sysman\r\nEnter password :\r\n\r\nLogin successful\r\n[oracle@ec12mntrjr001 ~]$ emcli modify_target -name=\"COLISEU_10.221.63.104\" -type=\"oracle_listener\" -display_name=\"LISTENER_10.221.63.104\" -on_agent\r\nTarget \"COLISEU_10.221.63.104:oracle_listener\" modified successfully<\/pre>\n<p>Checking on target side:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[emc12@evabddrjs001 ~]$ emctl config agent listtargets\r\nOracle Enterprise Manager Cloud Control 12c Release 2\r\nCopyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.\r\n[10.221.63.104, host]\r\n[10.221.63.104:3872, oracle_emd]\r\n[agent12c1_2_evabddrjs001, oracle_home]\r\n[COLISEU_104, oracle_database]\r\n[OraDb10g_home1_1_evabddrjs001, oracle_home]\r\n[COLISEU_10.221.63.104, oracle_listener]\r\n[emc12@evabddrjs001 ~]$<\/pre>\n<p>The target name didn&#8217;t change, but the Display name on EM is now modified as the picture below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"295\" class=\"alignnone size-full wp-image-519\" src=\"http:\/\/www.dbarj.com.br\/wp-content\/uploads\/2013\/10\/img_5259df16219d0.png\" alt=\"\" srcset=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2013\/10\/img_5259df16219d0.png 1000w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2013\/10\/img_5259df16219d0-300x88.png 300w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<h3>Target Name<\/h3>\n<p>Attention: Do this at your own risk. Oracle does not support it yet and it will be necessary to do manual changes on SYSMAN packages.<\/p>\n<p><strong>In this example, we will rename the listener target\u00a0name from\u00a0<span style=\"color: #0000ff;\"><em>&#8220;COLISEU_10.221.63.104&#8221;<\/em><\/span> to <em><span style=\"color: #0000ff;\">&#8220;LISTENER_10.221.63.104&#8221;<\/span><\/em>. Note that the <span style=\"text-decoration: underline;\">display name<\/span> was already changed in the step before.<\/strong><\/p>\n<p>First of all, stop the agent on the target host, edit the &#8220;$AGENT_BASE\/sysman\/emd\/targets.xml&#8221; with the desired target name and start the agent again:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[emc12@evabddrjs001 ~]$ emctl stop agent\r\nOracle Enterprise Manager Cloud Control 12c Release 2\r\nCopyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.\r\nStopping agent ..... stopped.\r\n[emc12@evabddrjs001 ~]$ vim $AGENT_BASE\/sysman\/emd\/targets.xml<\/pre>\n<p>Before:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[emc12@evabddrjs001 ~]$ cat $AGENT_BASE\/sysman\/emd\/targets.xml<\/pre>\n<pre class=\"lang:xhtml decode:true\">...\r\n&lt;Target TYPE=\"oracle_listener\" NAME=\"COLISEU_10.221.63.104\" DISPLAY_NAME=\"LISTENER_10.221.63.104\" ON_HOST=\"\" EMD_URL=\"https:\/\/10.221.63.104:3872\/emd\/main\/\" TIMEZONE_REGION=\"\" IDENTIFIER=\"TARGET_GUID=0AD03AC01B183A0E9762470BD2A4799E\"&gt;\r\n&lt;Property NAME=\"Machine\" VALUE=\"10.221.63.104\"\/&gt;\r\n&lt;Property NAME=\"Port\" VALUE=\"1521\"\/&gt;\r\n&lt;Property NAME=\"ListenerOraDir\" VALUE=\"\/software\/app\/oracle\/product\/network\/admin\"\/&gt;\r\n&lt;Property NAME=\"OracleHome\" VALUE=\"\/software\/app\/oracle\/product\"\/&gt;\r\n&lt;Property NAME=\"LsnrName\" VALUE=\"LISTENER\"\/&gt;\r\n&lt;\/Target&gt;\r\n...<\/pre>\n<p>After:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[emc12@evabddrjs001 ~]$ cat $AGENT_BASE\/sysman\/emd\/targets.xml<\/pre>\n<pre class=\"lang:xhtml decode:true\">\u00a0...\r\n&lt;Target TYPE=\"oracle_listener\" NAME=\"LISTENER_10.221.63.104\" DISPLAY_NAME=\"LISTENER_10.221.63.104\" ON_HOST=\"\" EMD_URL=\"https:\/\/10.221.63.104:3872\/emd\/main\/\" TIMEZONE_REGION=\"\" IDENTIFIER=\"TARGET_GUID=0AD03AC01B183A0E9762470BD2A4799E\"&gt;\r\n&lt;Property NAME=\"Machine\" VALUE=\"10.221.63.104\"\/&gt;\r\n&lt;Property NAME=\"Port\" VALUE=\"1521\"\/&gt;\r\n&lt;Property NAME=\"ListenerOraDir\" VALUE=\"\/software\/app\/oracle\/product\/network\/admin\"\/&gt;\r\n&lt;Property NAME=\"OracleHome\" VALUE=\"\/software\/app\/oracle\/product\"\/&gt;\r\n&lt;Property NAME=\"LsnrName\" VALUE=\"LISTENER\"\/&gt;\r\n&lt;\/Target&gt;\r\n...<\/pre>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[emc12@evabddrjs001 ~]$ emctl start agent\r\nOracle Enterprise Manager Cloud Control 12c Release 2\r\nCopyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.\r\nStarting agent .................. started.\r\n[emc12@evabddrjs001 ~]$ vim $AGENT_BASE\/sysman\/emd\/targets.xml\r\n[emc12@evabddrjs001 ~]$ emctl config agent listtargets\r\nOracle Enterprise Manager Cloud Control 12c Release 2\r\nCopyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.\r\n[10.221.63.104, host]\r\n[10.221.63.104:3872, oracle_emd]\r\n[agent12c1_2_evabddrjs001, oracle_home]\r\n[COLISEU_104, oracle_database]\r\n[OraDb10g_home1_1_evabddrjs001, oracle_home]\r\n[LISTENER_10.221.63.104, oracle_listener]\r\n[emc12@evabddrjs001 ~]$<\/pre>\n<p>The target name on the client changed. However, only those changes are not enough. If we check on EM, we will see that the target name is still unchanged.<\/p>\n<p>Now, we have <span style=\"text-decoration: underline;\">2 different methods<\/span> with same results to finish our target rename:<\/p>\n<h4>Method 1:<\/h4>\n<p>If you try to change the target name as we did on &#8220;Repository Managed Targets&#8221;, you will get the following error:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">[oracle@ec12mntrjr001 ~]$ emcli rename_target -target_type=\"oracle_listener\" -target_name=\"COLISEU_10.221.63.104\" -new_target_name=\"LISTENER_10.221.63.104\"\r\nRename not supported for given Target Type.<\/pre>\n<p>This command line implicit calls the procedure\u00a0SYSMAN.EM_TARGET.RENAME_TARGET.<\/p>\n<p>Unfortanelly, if we check the procedure code inside the package body, there is a comment:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">-- we will implement rename of agent side targets when it is fully\r\n-- supported by agent<\/pre>\n<p>However, we have already done this manual agent name change.<\/p>\n<p>To accomplish\u00a0this, you will need to edit the PACKAGE BODY SYSMAN.EM_TARGET. Make a backup of the code and apply the changes:<\/p>\n<p>From:<\/p>\n<pre class=\"lang:pgsql decode:true\">     -- we will implement rename of agent side targets when it is fully\r\n     -- supported by agent\r\n    IF ( l_trec.manage_status = MANAGE_STATUS_MANAGED AND\r\n         l_trec.emd_url IS NOT NULL) \r\n    THEN\r\n      raise_application_error(MGMT_GLOBAL.INVALID_PARAMS_ERR,\r\n          MGMT_GLOBAL.INVALID_PARAMS_ERR||' Not allowed') ;\r\n    END IF ;<\/pre>\n<p>To:<\/p>\n<pre class=\"lang:pgsql decode:true\">     -- we will implement rename of agent side targets when it is fully\r\n     -- supported by agent\r\n    IF ( l_trec.manage_status = MANAGE_STATUS_MANAGED AND\r\n         l_trec.emd_url IS NOT NULL) \r\n    THEN\r\n      --raise_application_error(MGMT_GLOBAL.INVALID_PARAMS_ERR,\r\n      --    MGMT_GLOBAL.INVALID_PARAMS_ERR||' Not allowed') ;\r\n\t  null;\r\n    END IF ;<\/pre>\n<p>Now recompile the package and any dependent invalid object:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"oracledb\">SQL&gt; EXEC sys.UTL_RECOMP.recomp_serial('SYSMAN');\r\n\r\nPL\/SQL procedure successfully completed.<\/pre>\n<p>Let&#8217;s try again.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">[oracle@ec12mntrjr001 ~]$ emcli rename_target -target_type=\"oracle_listener\" -target_name=\"COLISEU_10.221.63.107\" -new_target_name=\"LISTENER_10.221.63.107\"\r\nORA-04068: existing state of packages has been discarded\r\nORA-04061: existing state of package body \"SYSMAN.EM_TARGET\" has been invalidated\r\nORA-04065: not executed, altered or dropped package body \"SYSMAN.EM_TARGET\"\r\nORA-06508: PL\/SQL: could not find program unit being called: \"SYSMAN.EM_TARGET\"\r\nORA-06512: at \"SYSMAN.MGMT_TARGET\", line 3373\r\nORA-06512: at line 1<\/pre>\n<p>If you get this error, just reconnect or resync the session that was opened before you made the package change, and try again:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">[oracle@ec12mntrjr001 ~]$ emcli sync\r\nSynchronized successfully\r\n[oracle@ec12mntrjr001 ~]$ emcli rename_target -target_type=\"oracle_listener\" -target_name=\"COLISEU_10.221.63.107\" -new_target_name=\"LISTENER_10.221.63.107\"\r\nTarget COLISEU_10.221.63.107 successfully renamed to LISTENER_10.221.63.107.<\/pre>\n<p>Great. Now restore the package body backup that you have made putting back the commented line.<\/p>\n<h4>Method 2:<\/h4>\n<p>We have also another way to change the target name inside EMc 12c Metadata. We can directly call the procedure that we changed on &#8220;Method 1&#8221;:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">SQL&gt; exec sysman.em_target.rename_target('oracle_listener','COLISEU_10.221.63.104','LISTENER_10.221.63.104');\r\n\r\nbegin sysman.em_target.rename_target('oracle_listener','COLISEU_10.221.63.104','LISTENER_10.221.63.104'); end;\r\n\r\nORA-20233: -20233 Not allowed\r\nORA-06512: at \"SYSMAN.EM_TARGET\", line 5040\r\nORA-06512: at line 2<\/pre>\n<p>I got the error above because I need to comment the Package Body lines exactly the same way I did in &#8220;Method 1&#8221;. So, backup it, comment them, recompile the dependencies and try again:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">SQL&gt; exec sysman.em_target.rename_target('oracle_listener','COLISEU_10.221.63.104','LISTENER_10.221.63.104');\r\n\r\nbegin sysman.em_target.rename_target('oracle_listener','COLISEU_10.221.63.104','LISTENER_10.221.63.104'); end;\r\n\r\nORA-04068: existing state of packages has been discarded\r\nORA-04061: existing state of package \"SYSMAN.EM_TARGET\" has been invalidated\r\nORA-04065: not executed, altered or dropped package \"SYSMAN.EM_TARGET\"\r\nORA-06508: PL\/SQL: could not find program unit being called: \"SYSMAN.EM_TARGET\"\r\nORA-06512: at line 2<\/pre>\n<p>If you get this error, just reconnect the session that was opened before you made the package change, and try again:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"oracledb\">SQL&gt; exec sysman.em_target.rename_target('oracle_listener','COLISEU_10.221.63.104','LISTENER_10.221.63.104');\r\n\r\nPL\/SQL procedure successfully completed\r\n\r\nSQL&gt; commit;\r\n\r\nCommit complete\r\n\r\nSQL&gt;<\/pre>\n<p>Great, now let&#8217;s check on EM screen:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"295\" class=\"alignnone size-full wp-image-520\" src=\"http:\/\/www.dbarj.com.br\/wp-content\/uploads\/2013\/10\/img_5259df864dd59.png\" alt=\"\" srcset=\"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2013\/10\/img_5259df864dd59.png 1000w, https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2013\/10\/img_5259df864dd59-300x88.png 300w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p>Everything is working fine. Don&#8217;t forget to\u00a0restore the package body backup that you have made, putting back the commented line.<\/p>\n<p>Now you finally have your target renamed.<\/p>\n<p><strong>This article was based on Metalink document Doc ID 1515413.1, with many, many adaptations.<\/strong><br \/>\n&nbsp;<br \/>\n<b>Have you enjoyed? Please leave a comment or give a \ud83d\udc4d!<\/b><\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style2 like-515 jlk' href='javascript:void(0)' data-task='like' data-post_id='515' data-nonce='de4404f630' rel='nofollow'><img class='wti-pixel' src='https:\/\/www.dbarj.com.br\/wp-content\/plugins\/wti-like-post\/images\/pixel.gif' title='Like' \/><span class='lc-515 lc'>+26<\/span><\/a><\/div><\/div> <div class='status-515 status align-left'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>During many months the only way that I found to rename a Managed Target on OEM Cloud Control was deleting and adding it again. However, there is another way as I will show you. This procedure was tested and validated on EMc 12.1.0.2. So, if you choose to try at another\u00a0version, make it at your &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/www.dbarj.com.br\/en\/2013\/10\/rename-managed-target-em-12c\/\">Continue reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-515","post","type-post","status-publish","format-standard","hentry","category-oem12c-en","item-wrap"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Howto rename managed target on Oracle EM 12c - DBA - Rodrigo Jorge - Oracle Tips and Guides<\/title>\n<meta name=\"description\" content=\"Howto rename a target in Oracle EM 12c.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbarj.com.br\/en\/2013\/10\/rename-managed-target-em-12c\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DBA RJ\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2013\\\/10\\\/rename-managed-target-em-12c\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2013\\\/10\\\/rename-managed-target-em-12c\\\/\"},\"author\":{\"name\":\"DBA RJ\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"headline\":\"Howto rename managed target on Oracle EM 12c\",\"datePublished\":\"2013-10-12T23:49:26+00:00\",\"dateModified\":\"2015-12-01T23:49:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2013\\\/10\\\/rename-managed-target-em-12c\\\/\"},\"wordCount\":925,\"commentCount\":10,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2013\\\/10\\\/rename-managed-target-em-12c\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2013\\\/10\\\/img_5259df16219d0.png\",\"articleSection\":[\"Enterprise Manager 12c\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2013\\\/10\\\/rename-managed-target-em-12c\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2013\\\/10\\\/rename-managed-target-em-12c\\\/\",\"url\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2013\\\/10\\\/rename-managed-target-em-12c\\\/\",\"name\":\"Howto rename managed target on Oracle EM 12c - DBA - Rodrigo Jorge - Oracle Tips and Guides\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2013\\\/10\\\/rename-managed-target-em-12c\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2013\\\/10\\\/rename-managed-target-em-12c\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2013\\\/10\\\/img_5259df16219d0.png\",\"datePublished\":\"2013-10-12T23:49:26+00:00\",\"dateModified\":\"2015-12-01T23:49:13+00:00\",\"description\":\"Howto rename a target in Oracle EM 12c.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2013\\\/10\\\/rename-managed-target-em-12c\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2013\\\/10\\\/rename-managed-target-em-12c\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2013\\\/10\\\/rename-managed-target-em-12c\\\/#primaryimage\",\"url\":\"http:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2013\\\/10\\\/img_5259df16219d0.png\",\"contentUrl\":\"http:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2013\\\/10\\\/img_5259df16219d0.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/2013\\\/10\\\/rename-managed-target-em-12c\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Howto rename managed target on Oracle EM 12c\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/\",\"name\":\"DBA - Rodrigo Jorge - Oracle Tips and Guides\",\"description\":\"Blog about Databases, Security and High Availability\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/en\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\",\"name\":\"DBA RJ\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"url\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"contentUrl\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"width\":712,\"height\":712,\"caption\":\"DBA RJ\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Howto rename managed target on Oracle EM 12c - DBA - Rodrigo Jorge - Oracle Tips and Guides","description":"Howto rename a target in Oracle EM 12c.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbarj.com.br\/en\/2013\/10\/rename-managed-target-em-12c\/","twitter_misc":{"Written by":"DBA RJ","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbarj.com.br\/en\/2013\/10\/rename-managed-target-em-12c\/#article","isPartOf":{"@id":"https:\/\/www.dbarj.com.br\/en\/2013\/10\/rename-managed-target-em-12c\/"},"author":{"name":"DBA RJ","@id":"https:\/\/www.dbarj.com.br\/en\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"headline":"Howto rename managed target on Oracle EM 12c","datePublished":"2013-10-12T23:49:26+00:00","dateModified":"2015-12-01T23:49:13+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbarj.com.br\/en\/2013\/10\/rename-managed-target-em-12c\/"},"wordCount":925,"commentCount":10,"publisher":{"@id":"https:\/\/www.dbarj.com.br\/en\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"image":{"@id":"https:\/\/www.dbarj.com.br\/en\/2013\/10\/rename-managed-target-em-12c\/#primaryimage"},"thumbnailUrl":"http:\/\/www.dbarj.com.br\/wp-content\/uploads\/2013\/10\/img_5259df16219d0.png","articleSection":["Enterprise Manager 12c"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbarj.com.br\/en\/2013\/10\/rename-managed-target-em-12c\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbarj.com.br\/en\/2013\/10\/rename-managed-target-em-12c\/","url":"https:\/\/www.dbarj.com.br\/en\/2013\/10\/rename-managed-target-em-12c\/","name":"Howto rename managed target on Oracle EM 12c - DBA - Rodrigo Jorge - Oracle Tips and Guides","isPartOf":{"@id":"https:\/\/www.dbarj.com.br\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbarj.com.br\/en\/2013\/10\/rename-managed-target-em-12c\/#primaryimage"},"image":{"@id":"https:\/\/www.dbarj.com.br\/en\/2013\/10\/rename-managed-target-em-12c\/#primaryimage"},"thumbnailUrl":"http:\/\/www.dbarj.com.br\/wp-content\/uploads\/2013\/10\/img_5259df16219d0.png","datePublished":"2013-10-12T23:49:26+00:00","dateModified":"2015-12-01T23:49:13+00:00","description":"Howto rename a target in Oracle EM 12c.","breadcrumb":{"@id":"https:\/\/www.dbarj.com.br\/en\/2013\/10\/rename-managed-target-em-12c\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbarj.com.br\/en\/2013\/10\/rename-managed-target-em-12c\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbarj.com.br\/en\/2013\/10\/rename-managed-target-em-12c\/#primaryimage","url":"http:\/\/www.dbarj.com.br\/wp-content\/uploads\/2013\/10\/img_5259df16219d0.png","contentUrl":"http:\/\/www.dbarj.com.br\/wp-content\/uploads\/2013\/10\/img_5259df16219d0.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbarj.com.br\/en\/2013\/10\/rename-managed-target-em-12c\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbarj.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"Howto rename managed target on Oracle EM 12c"}]},{"@type":"WebSite","@id":"https:\/\/www.dbarj.com.br\/en\/#website","url":"https:\/\/www.dbarj.com.br\/en\/","name":"DBA - Rodrigo Jorge - Oracle Tips and Guides","description":"Blog about Databases, Security and High Availability","publisher":{"@id":"https:\/\/www.dbarj.com.br\/en\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbarj.com.br\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.dbarj.com.br\/en\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9","name":"DBA RJ","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","url":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","contentUrl":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","width":712,"height":712,"caption":"DBA RJ"},"logo":{"@id":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png"}}]}},"_links":{"self":[{"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/posts\/515","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/comments?post=515"}],"version-history":[{"count":0,"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/posts\/515\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/media?parent=515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/categories?post=515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbarj.com.br\/en\/wp-json\/wp\/v2\/tags?post=515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}