{"id":9377,"date":"2016-11-20T19:42:32","date_gmt":"2016-11-20T18:42:32","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/"},"modified":"2016-11-20T19:42:32","modified_gmt":"2016-11-20T18:42:32","slug":"12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/","title":{"rendered":"12cR2: Upgrade by remote clone &#8211; workaround ORA-17630 in DBaaS"},"content":{"rendered":"<h2>By Franck Pachot<\/h2>\n<p>.<br \/>\nEasier than unplug\/plug, you can move pluggable databases with remote cloning. It&#8217;s the same idea but you don&#8217;t have to manage the files yourself: the are shipped through database link. However, this uses the &#8216;remote file protocol&#8217; and it fails with version mismatch:<\/p>\n<pre><code>ORA-17628: Oracle error 17630 returned by remote Oracle server\nORA-17630: Mismatch in the remote file protocol version client  server<\/code><\/pre>\n<p><!--more--><\/p>\n<h3>Remote cloning<\/h3>\n<p>I&#8217;ll describe the full operation of remote cloning in a future post. This is the error I got when I tried to remote clone from 12.1 to 12.2:<\/p>\n<pre><code>13:43:55 HP122A SQL&gt; create pluggable database PDB1 from PDB1@HP121A@HP121A keystore identified by \"Ach1z0#d\" relocate;\ncreate pluggable database PDB1 from PDB1@HP121A@HP121A keystore identified by \"Ach1z0#d\"\n*\nERROR at line 1:\nORA-17628: Oracle error 17630 returned by remote Oracle server\nORA-17630: Mismatch in the remote file protocol version client  server<\/code><\/pre>\n<h3>Alert.log in target<\/h3>\n<p>The error is received from the remote side. There is not a lot in local alert.log<\/p>\n<pre><code>create pluggable database PDB1 from PDB1@HP121A@HP121A keystore identified by * relocate\nErrors in file \/u01\/app\/oracle\/diag\/rdbms\/hp122a\/HP122A\/trace\/HP122A_ora_29385.trc:\nORA-17628: Oracle error 17630 returned by remote Oracle server\nORA-17630: Mismatch in the remote file protocol version client  server<\/code><\/pre>\n<h3>Alert.log in source<\/h3>\n<p>More information about versions in the remote alert.log:<\/p>\n<pre><code>Errors in file \/u01\/app\/oracle\/diag\/rdbms\/hp121a\/HP121A\/trace\/HP121A_ora_21344.trc:\nORA-17630: Mismatch in the remote file protocol version client 3 server 2<\/code><\/pre>\n<h3>Patch<\/h3>\n<p>Fortunately, version mismatch of remote file protocol has already been a problem in previous versions with other features that have to transport files, and a patch exists to bypass this version checking:<\/p>\n<p>Patch 18633374: COPYING ACROSS REMOTE SERVERS: ASMCMD-8016, ORA-17628, ORA-17630, ORA-06512<\/p>\n<p>And you can download it at <a href=\"https:\/\/updates.oracle.com\/download\/18633374.html\">https:\/\/updates.oracle.com\/download\/18633374.html<\/a><\/p>\n<p>My 12.1.0.2 DBaaS has the July 2016 PSU applied, as well as a merge of patches specific for the cloud:<\/p>\n<pre><code>[oracle@HP121 ~]$ $ORACLE_HOME\/OPatch\/opatch lspatches\n19469538;\n24310028;\n22366322;\n20475845;\n18043064;\n21132297;\n23177536;Database PSU 12.1.0.2.160719, Oracle JavaVM Component (JUL2016)\n23054246;Database Patch Set Update : 12.1.0.2.160719 (23054246)<\/code><\/pre>\n<p>Today, there is no patch to download for this configuration. There is one for April 2016 PSU but there is still a conflict with patch 24310028<\/p>\n<p>To be able to continue, I&#8217;ve removed following patches from the 12.1 source:<\/p>\n<pre><code>[oracle@HP121 ~]$ $ORACLE_HOME\/OPatch\/opatch rollback -id 23177536\n[oracle@HP121 ~]$ $ORACLE_HOME\/OPatch\/opatch rollback -id 24310028<\/code><\/pre>\n<p>But then, the parameter &#8220;encrypt_new_tablespaces&#8221; that has been introduced by 24310028 is unknown:<\/p>\n<pre><code>\nSQL&gt; startup\nORA-01078: failure in processing system parameters\nLRM-00101: unknown parameter name 'encrypt_new_tablespaces'<\/code><\/pre>\n<p>You have to remove this one from the SPFILE. Basically it forces TDE when in the cloud, even when not specified in the DDL.<\/p>\n<h3>So what?<\/h3>\n<p>I hope this patch will be included in future DBaaS versions. Currently, the Oracle Public Cloud has no simple button to upgrade a service from 12.1 to 12.2 and the easiest way to do it should be remote cloning of PDB. But with those version mismatch and patch to apply, <a href=\"http:\/\/dbi-services.com\/blog\/12cr2-upgrade-by-unplugplug-in-the-oracle-cloud-service\/\" target=\"_blank\" rel=\"noopener noreferrer\">unplug\/plug<\/a> is probably easier.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By Franck Pachot . Easier than unplug\/plug, you can move pluggable databases with remote cloning. It&#8217;s the same idea but you don&#8217;t have to manage the files yourself: the are shipped through database link. However, this uses the &#8216;remote file protocol&#8217; and it fails with version mismatch: ORA-17628: Oracle error 17630 returned by remote Oracle [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[229],"tags":[656,64,209,219],"type_dbi":[],"class_list":["post-9377","post","type-post","status-publish","format-standard","hentry","category-database-administration-monitoring","tag-12-2","tag-multitenant","tag-oracle-12c","tag-upgrade"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>12cR2: Upgrade by remote clone - workaround ORA-17630 in DBaaS - dbi Blog<\/title>\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.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"12cR2: Upgrade by remote clone - workaround ORA-17630 in DBaaS\" \/>\n<meta property=\"og:description\" content=\"By Franck Pachot . Easier than unplug\/plug, you can move pluggable databases with remote cloning. It&#8217;s the same idea but you don&#8217;t have to manage the files yourself: the are shipped through database link. However, this uses the &#8216;remote file protocol&#8217; and it fails with version mismatch: ORA-17628: Oracle error 17630 returned by remote Oracle [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-11-20T18:42:32+00:00\" \/>\n<meta name=\"author\" content=\"Oracle Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Oracle Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/\"},\"author\":{\"name\":\"Oracle Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"headline\":\"12cR2: Upgrade by remote clone &#8211; workaround ORA-17630 in DBaaS\",\"datePublished\":\"2016-11-20T18:42:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/\"},\"wordCount\":324,\"commentCount\":0,\"keywords\":[\"12.2\",\"multitenant\",\"Oracle 12c\",\"Upgrade\"],\"articleSection\":[\"Database Administration &amp; Monitoring\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/\",\"name\":\"12cR2: Upgrade by remote clone - workaround ORA-17630 in DBaaS - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"datePublished\":\"2016-11-20T18:42:32+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"12cR2: Upgrade by remote clone &#8211; workaround ORA-17630 in DBaaS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\",\"name\":\"Oracle Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"caption\":\"Oracle Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"12cR2: Upgrade by remote clone - workaround ORA-17630 in DBaaS - dbi Blog","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.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/","og_locale":"en_US","og_type":"article","og_title":"12cR2: Upgrade by remote clone - workaround ORA-17630 in DBaaS","og_description":"By Franck Pachot . Easier than unplug\/plug, you can move pluggable databases with remote cloning. It&#8217;s the same idea but you don&#8217;t have to manage the files yourself: the are shipped through database link. However, this uses the &#8216;remote file protocol&#8217; and it fails with version mismatch: ORA-17628: Oracle error 17630 returned by remote Oracle [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/","og_site_name":"dbi Blog","article_published_time":"2016-11-20T18:42:32+00:00","author":"Oracle Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Oracle Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/"},"author":{"name":"Oracle Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"headline":"12cR2: Upgrade by remote clone &#8211; workaround ORA-17630 in DBaaS","datePublished":"2016-11-20T18:42:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/"},"wordCount":324,"commentCount":0,"keywords":["12.2","multitenant","Oracle 12c","Upgrade"],"articleSection":["Database Administration &amp; Monitoring"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/","url":"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/","name":"12cR2: Upgrade by remote clone - workaround ORA-17630 in DBaaS - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2016-11-20T18:42:32+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/12cr2-upgrade-by-remote-clone-workaround-ora-17630-in-dbaas\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"12cR2: Upgrade by remote clone &#8211; workaround ORA-17630 in DBaaS"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee","name":"Oracle Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","caption":"Oracle Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/9377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=9377"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/9377\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=9377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=9377"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=9377"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=9377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}