{"id":2355,"date":"2019-07-17T08:53:23","date_gmt":"2019-07-17T11:53:23","guid":{"rendered":"https:\/\/zmsolution.laraclaud.com.br\/?p=2355"},"modified":"2019-07-17T08:53:23","modified_gmt":"2019-07-17T11:53:23","slug":"clonando-o-oracle_home","status":"publish","type":"post","link":"http:\/\/zmsolution.com\/clonando-o-oracle_home\/","title":{"rendered":"Clonando o Oracle_Home"},"content":{"rendered":"
Em muitas\u00a0ocasi\u00f5es ,\u00e9 bem mais f\u00e1cil para um dba\u00a0 clona um ORACLE_HOME existente do que tentar criar um novo, Abaixo segue o passo a passo para realizar o clone do\u00a0ORACLE_HOME .<\/p>\n
1. Como Root entre na pasta do oracle_base e zip o oracle Home<\/p>\n
cd \/u01\/app\/oracle\/db1\r\n\r\ntar -cvzf \/u01\/home_11.2.0.4.tgz 11.2.0.4\r\n\r\ntar -cvzf home_11.2.0.4.tgz 11.2.0.4<\/pre>\n2. Copie\u00a0 o arquivo home_11.2.0.4.tgz\u00a0para o\u00a0\u00a0servidor de banco
\n3. Descompacte o arquivo\u00a0\u00a0com o usu\u00e1rio root na estrutura desejada<\/p>\ntar -xvf home_11.2.0.4.tgz\r\n\r\ntar -xzvf home_11.2.0.4.tgz<\/pre>\n4. Entre na pasta 11.2.0.4\u00a0 depoiso comando abaixo com os valores corretos.<\/p>\n
perl clone.pl ORACLE_HOME=\"\/u01\/app\/oracle\/db1\/11.2.0.4\" ORACLE_HOME_NAME=\"11gr2\" ORACLE_BASE=\"\/u01\/app\/oracle\" OSDBA_GROUP=oinstall OSOPER_GROUP=oper<\/pre>\nExemplo:<\/p>\n
cd \/u01\/app\/oracle\/db1\/11.2.0.4\/clone\/bin\r\n\r\n[oracle@zmsolution2 bin]$ perl clone.pl ORACLE_HOME=\"\/u01\/app\/oracle\/db1\/11.2.0.4\" ORACLE_HOME_NAME=\"11gr2\" ORACLE_BASE=\"\/u01\/app\/oracle\/db1\" OSDBA_GROUP=dba OSOPER_GROUP=oinstall\r\n.\/runInstaller -clone -waitForCompletion \"ORACLE_HOME=\/u01\/app\/oracle\/db1\/11.2.0.4\" \"ORACLE_HOME_NAME=11gr2\" \"ORACLE_BASE=\/u01\/app\/oracle\/db1\" \"oracle_install_OSDBA=dba\" \"oracle_install_OSOPER=oinstall\" -silent -noConfig -nowait\r\nStarting Oracle Universal Installer...\r\n\r\nChecking swap space: must be greater than 500 MB. Actual 13598 MB Passed\r\nPreparing to launch Oracle Universal Installer from \/tmp\/OraInstall2015-07-20_04-33-33PM. Please wait ...Oracle Universal Installer, Version 11.2.0.4.0 Production\r\nCopyright (C) 1999, 2013, Oracle. All rights reserved.\r\n\r\nYou can find the log of this install session at:\r\n\/u01\/app\/oraInventory\/logs\/cloneActions2015-07-20_04-33-33PM.log\r\n.................................................................................................... 100% Done.\r\n\r\nInstallation in progress (Monday, July 20, 2015 4:35:05 PM BRT)\r\n.................................................................................... 84% Done.\r\nInstall successful\r\n\r\nLinking in progress (Monday, July 20, 2015 4:35:44 PM BRT)\r\nLink successful\r\n\r\nSetup in progress (Monday, July 20, 2015 4:38:55 PM BRT)\r\nSetup successful\r\n\r\nEnd of install phases.(Monday, July 20, 2015 4:39:23 PM BRT)\r\nWARNING:\r\nThe following configuration scripts need to be executed as the \"root\" user.\r\n\/u01\/app\/oracle\/db1\/11.2.0.4\/root.sh\r\nTo execute the configuration scripts:\r\n1. Open a terminal window\r\n2. Log in as \"root\"\r\n3. Run the scripts\r\n\r\nThe cloning of 11gr2 was successful.\r\nPlease check '\/u01\/app\/oraInventory\/logs\/cloneActions2015-07-20_04-33-33PM.log' for more details.\r\n<\/pre>\n<\/p>\n","protected":false},"excerpt":{"rendered":"
Em muitas\u00a0ocasi\u00f5es ,\u00e9 bem mais f\u00e1cil para um dba\u00a0 clona um ORACLE_HOME existente do que tentar criar um novo, Abaixo segue o passo a passo para realizar o clone do\u00a0ORACLE_HOME . 1. Como Root entre na pasta do oracle_base e zip o oracle Home cd \/u01\/app\/oracle\/db1 tar -cvzf \/u01\/home_11.2.0.4.tgz 11.2.0.4 tar -cvzf home_11.2.0.4.tgz 11.2.0.4 2. Copie\u00a0 o arquivo home_11.2.0.4.tgz\u00a0para o\u00a0\u00a0servidor de banco 3. Descompacte o arquivo\u00a0\u00a0com o usu\u00e1rio root na estrutura desejada tar -xvf home_11.2.0.4.tgz[…]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[21],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/posts\/2355"}],"collection":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/comments?post=2355"}],"version-history":[{"count":0,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/posts\/2355\/revisions"}],"wp:attachment":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/media?parent=2355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/categories?post=2355"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/tags?post=2355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}