{"id":1532,"date":"2016-11-09T10:53:07","date_gmt":"2016-11-09T09:53:07","guid":{"rendered":"https:\/\/clemente.pamplona.name\/dba\/?p=1532"},"modified":"2016-11-09T10:53:31","modified_gmt":"2016-11-09T09:53:31","slug":"desinstalacion-del-grid-control","status":"publish","type":"post","link":"http:\/\/clemente.pamplona.name\/dba\/desinstalacion-del-grid-control\/","title":{"rendered":"desinstalacion del grid control"},"content":{"rendered":"<p>Tras un largo periodo de inactividad, vamos a a\u00f1adir una peque\u00f1a entrada con la manera de desinstalar el grid control de Oracle .<\/p>\n<p>Al contrario de cuando se tiene una base ded datos sencilla de Oracle donde con borrar binarios, inventario y oratab el sistema ( en unix) queda lo sufucientemente limpio como para llevar a cabo una reinstalacion, si tenemos que reinstalar un <b>grid infraestructure<\/b> por que ha habido problemas en la instalacion o por que queremos quitarlo, no se puede hacer \u00aba las bravas\u00bb.<\/p>\n<p>La manera de lelvarlo a cabo es muy sencilla.<br \/>\nSolamente tenemos que ir al $GRID_HOME\/deinstall y ejecutar  .\/deinstall<br \/>\nEste proceso se ha de ejecutar como propietario del grid, y , al igual que la instalacion, en un momento determinado nos solicitar\u00e1 la ejecucion de una cadena como root.<\/p>\n<pre>\r\n[grid@serverpruebas ] cd  $GRID_HOME\/deinstall\r\n[grid@serverpruebas ] ls \r\nbootstrap.pl         bootstrap_files.lst  deinstall            deinstall.pl         deinstall.xml        jlib                 readme.txt           response             sshUserSetup.sh      utl\r\n[grid@serverpruebas ].\/deinstall \t\r\nChecking for required files and bootstrapping ...\r\nPlease wait ...\r\nLocation of logs \/tmp\/deinstall2016-11-03_09-31-33PM\/logs\/\r\n\r\n############ ORACLE DECONFIG TOOL START ############\r\n\r\n\r\n######################### DECONFIG CHECK OPERATION START #########################\r\n## [START] Install check configuration ##\r\n\r\n\r\nChecking for existence of the Oracle home location \/opt\/app\/oracle\/product\/12.1.0\/grid\r\nOracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Standalone Server\r\nOracle Base selected for deinstall is: \/opt\/app\/oracle\r\nChecking for existence of central inventory location \/opt\/app\/oraInventory\r\nChecking for existence of the Oracle Grid Infrastructure home \/opt\/app\/oracle\/product\/12.1.0\/grid\r\n\r\n## [END] Install check configuration ##\r\n\r\nTraces log file: \/tmp\/deinstall2016-11-03_09-31-33PM\/logs\/\/crsdc_2016-11-03_09-32-36PM.log\r\n\r\nNetwork Configuration check config START\r\n\r\nNetwork de-configuration trace file location: \/tmp\/deinstall2016-11-03_09-31-33PM\/logs\/netdc_check2016-11-03_09-32-38-PM.log\r\n\r\nNetwork Configuration check config END\r\n\r\nAsm Check Configuration START\r\n\r\nASM de-configuration trace file location: \/tmp\/deinstall2016-11-03_09-31-33PM\/logs\/asmcadc_check2016-11-03_09-32-39-PM.log\r\n\r\nASM configuration was not detected in this Oracle home. Was ASM configured in this Oracle home (y|n) [n]: y\r\nAutomatic Storage Management (ASM) instance is detected in this Oracle home \/opt\/app\/oracle\/product\/12.1.0\/grid.\r\nASM Diagnostic Destination : \/opt\/app\/oracle\r\nASM Diskgroups :\r\nASM diskstring : <Default>\r\nDiskgroups will not be dropped\r\n If you want to retain the existing diskgroups or if any of the information detected is incorrect, you can modify by entering 'y'. Do you  want to modify above information (y|n) [n]:\r\nDatabase Check Configuration START\r\n\r\nDatabase de-configuration trace file location: \/tmp\/deinstall2016-11-03_09-31-33PM\/logs\/databasedc_check2016-11-03_09-32-50-PM.log\r\n\r\nDatabase Check Configuration END\r\n\r\n######################### DECONFIG CHECK OPERATION END #########################\r\n\r\n\r\n####################### DECONFIG CHECK OPERATION SUMMARY #######################\r\nOracle Grid Infrastructure Home is: \/opt\/app\/oracle\/product\/12.1.0\/grid\r\nThe following nodes are part of this cluster: null\r\nThe cluster node(s) on which the Oracle home deinstallation will be performed are:null\r\nOracle Home selected for deinstall is: \/opt\/app\/oracle\/product\/12.1.0\/grid\r\nInventory Location where the Oracle home registered is: \/opt\/app\/oraInventory\r\nASM instance will be de-configured from this Oracle home\r\nDo you want to continue (y - yes, n - no)? [n]: y\r\nA log of this session will be written to: '\/tmp\/deinstall2016-11-03_09-31-33PM\/logs\/deinstall_deconfig2016-11-03_09-32-35-PM.out'\r\nAny error messages from this session will be written to: '\/tmp\/deinstall2016-11-03_09-31-33PM\/logs\/deinstall_deconfig2016-11-03_09-32-35-PM.err'\r\n\r\n######################## DECONFIG CLEAN OPERATION START ########################\r\nDatabase de-configuration trace file location: \/tmp\/deinstall2016-11-03_09-31-33PM\/logs\/databasedc_clean2016-11-03_09-32-53-PM.log\r\nASM de-configuration trace file location: \/tmp\/deinstall2016-11-03_09-31-33PM\/logs\/asmcadc_clean2016-11-03_09-32-53-PM.log\r\nASM Clean Configuration START\r\nASM Clean Configuration END\r\n\r\nNetwork Configuration clean config START\r\n\r\nNetwork de-configuration trace file location: \/tmp\/deinstall2016-11-03_09-31-33PM\/logs\/netdc_clean2016-11-03_09-33-02-PM.log\r\n\r\nDe-configuring Listener configuration file...\r\nListener configuration file de-configured successfully.\r\n\r\nDe-configuring Naming Methods configuration file...\r\nNaming Methods configuration file de-configured successfully.\r\n\r\nDe-configuring backup files...\r\nBackup files de-configured successfully.\r\n\r\nThe network configuration has been cleaned up successfully.\r\n\r\nNetwork Configuration clean config END\r\n\r\n\r\n---------------------------------------->\r\n\r\nRun the following command as the root user or the administrator on node \"serverpruebas-m\".\r\n\r\n\/tmp\/deinstall2016-11-03_09-31-33PM\/perl\/bin\/perl -I\/tmp\/deinstall2016-11-03_09-31-33PM\/perl\/lib -I\/tmp\/deinstall2016-11-03_09-31-33PM\/crs\/install \/tmp\/deinstall2016-11-03_09-31-33PM\/crs\/install\/roothas.pl -force  -deconfig -paramfile \"\/mp\/deinstall2016-11-03_09-31-33PM\/response\/deinstall_OraGI12Home1.rsp\"\r\n\r\nPress Enter after you finish running the above commands\r\n\r\n<----------------------------------------\r\n\r\n\r\n\r\n######################### DECONFIG CLEAN OPERATION END #########################\r\n\r\n\r\n####################### DECONFIG CLEAN OPERATION SUMMARY #######################\r\nASM instance was de-configured successfully from the Oracle home\r\nThe stopping and de-configuring of Oracle Restart failed. Fix the problem and rerun this tool to completely remove the Oracle Restart configuration and the software\r\nOracle Restart was already stopped and de-configured on node \"serverpruebas-m\"\r\nOracle Restart is stopped and de-configured successfully.\r\n#######################################################################\r\n\r\n\r\n############# ORACLE DECONFIG TOOL END #############\r\n\r\nUsing properties file \/tmp\/deinstall2016-11-03_09-31-33PM\/response\/deinstall_2016-11-03_09-32-35-PM.rsp\r\nLocation of logs \/tmp\/deinstall2016-11-03_09-31-33PM\/logs\/\r\n\r\n############ ORACLE DEINSTALL TOOL START ############\r\n\r\n\r\n\r\n\r\n\r\n####################### DEINSTALL CHECK OPERATION SUMMARY #######################\r\nA log of this session will be written to: '\/tmp\/deinstall2016-11-03_09-31-33PM\/logs\/deinstall_deconfig2016-11-03_09-32-35-PM.out'\r\nAny error messages from this session will be written to: '\/tmp\/deinstall2016-11-03_09-31-33PM\/logs\/deinstall_deconfig2016-11-03_09-32-35-PM.err'\r\n\r\n######################## DEINSTALL CLEAN OPERATION START ########################\r\n## [START] Preparing for Deinstall ##\r\nSetting LOCAL_NODE to serverpruebas-m\r\nSetting CRS_HOME to true\r\nSetting oracle.installer.invPtrLoc to \/tmp\/deinstall2016-11-03_09-31-33PM\/oraInst.loc\r\nSetting oracle.installer.local to false\r\n\r\n## [END] Preparing for Deinstall ##\r\n\r\nSetting the force flag to false\r\nSetting the force flag to cleanup the Oracle Base\r\nOracle Universal Installer clean START\r\n\r\n\r\nDetach Oracle home '\/opt\/app\/oracle\/product\/12.1.0\/grid' from the central inventory on the local node : Done\r\n\r\nFailed to delete the directory '\/opt\/app\/oracle\/product\/12.1.0\/grid'. The directory is in use.\r\nDelete directory '\/opt\/app\/oracle\/product\/12.1.0\/grid' on the local node : Failed <<<<\r\n\r\nDelete directory '\/opt\/app\/oraInventory' on the local node : Done\r\n\r\nFailed to delete the directory '\/opt\/app\/oracle\/product\/12.1.0\/grid'. The directory is in use.\r\nThe Oracle Base directory '\/opt\/app\/oracle' will not be removed on local node. The directory is not empty.\r\n\r\nOracle Universal Installer cleanup was successful.\r\n\r\nOracle Universal Installer clean END\r\n\r\n\r\n## [START] Oracle install clean ##\r\n\r\nClean install operation removing temporary directory '\/tmp\/deinstall2016-11-03_09-31-33PM' on node 'serverpruebas-m'\r\n\r\n## [END] Oracle install clean ##\r\n\r\n\r\n######################### DEINSTALL CLEAN OPERATION END #########################\r\n\r\n\r\n####################### DEINSTALL CLEAN OPERATION SUMMARY #######################\r\nSuccessfully detached Oracle home '\/opt\/app\/oracle\/product\/12.1.0\/grid' from the central inventory on the local node.\r\nFailed to delete directory '\/opt\/app\/oracle\/product\/12.1.0\/grid' on the local node.\r\nSuccessfully deleted directory '\/opt\/app\/oraInventory' on the local node.\r\nOracle Universal Installer cleanup was successful.\r\n\r\n\r\nRun 'rm -r \/etc\/oraInst.loc' as root on node(s) 'serverpruebas-m' at the end of the session.\r\n\r\nRun 'rm -r \/opt\/ORCLfmap' as root on node(s) 'serverpruebas-m' at the end of the session.\r\nRun 'rm -r \/etc\/oratab' as root on node(s) 'serverpruebas-m' at the end of the session.\r\nOracle deinstall tool successfully cleaned up temporary directories.\r\n#######################################################################\r\n\r\n\r\n############# ORACLE DEINSTALL TOOL END #############\r\n<\/pre>\n<p>Como veis, tremendamente sencillo si se hace de manera ordenada <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tras un largo periodo de inactividad, vamos a a\u00f1adir una peque\u00f1a entrada con la manera de desinstalar el grid control de Oracle . Al contrario de cuando se tiene una base ded datos sencilla de Oracle donde con borrar binarios, &hellip; <a href=\"http:\/\/clemente.pamplona.name\/dba\/desinstalacion-del-grid-control\/\">Sigue leyendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,60,42,43,199],"tags":[249,207,254,132,683,250,252],"class_list":["post-1532","post","type-post","status-publish","format-standard","hentry","category-11g","category-12c","category-asm","category-grid","category-oracle","tag-11g","tag-11r2","tag-12c","tag-asm-2","tag-deinstall","tag-grid","tag-rac"],"_links":{"self":[{"href":"http:\/\/clemente.pamplona.name\/dba\/wp-json\/wp\/v2\/posts\/1532","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/clemente.pamplona.name\/dba\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/clemente.pamplona.name\/dba\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/clemente.pamplona.name\/dba\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/clemente.pamplona.name\/dba\/wp-json\/wp\/v2\/comments?post=1532"}],"version-history":[{"count":2,"href":"http:\/\/clemente.pamplona.name\/dba\/wp-json\/wp\/v2\/posts\/1532\/revisions"}],"predecessor-version":[{"id":1534,"href":"http:\/\/clemente.pamplona.name\/dba\/wp-json\/wp\/v2\/posts\/1532\/revisions\/1534"}],"wp:attachment":[{"href":"http:\/\/clemente.pamplona.name\/dba\/wp-json\/wp\/v2\/media?parent=1532"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/clemente.pamplona.name\/dba\/wp-json\/wp\/v2\/categories?post=1532"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/clemente.pamplona.name\/dba\/wp-json\/wp\/v2\/tags?post=1532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}