如何卸载grid软件
发表于:2025-11-14 作者:千家信息网编辑
千家信息网最后更新 2025年11月14日,这篇文章给大家分享的是有关如何卸载grid软件的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。在安装grid的时候,由于某种原因需要将grid软件卸载重新装,在网上搜集到如下
千家信息网最后更新 2025年11月14日如何卸载grid软件
这篇文章给大家分享的是有关如何卸载grid软件的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。
在安装grid的时候,由于某种原因需要将grid软件卸载重新装,在网上搜集到如下信息:
在Oracle 11gR2以前的版本中,卸载CRS和oracle database时需要手工去删除部分东西,从oracle 11gR2版本开始新增deinstall命令可以卸载grid和database,new oui版本中不再支持卸载,可以删除的非常干净,需要手工删除的话,deinstall命令也会有提示出来。
有两种方法可以删除oracle home和grid home
1、使用安装好后的$ORACLE_HOME/deinstall/deinstall命令
2、从oracle官方网站上下载的deinstall工具 介质名称为aix.ppc64_11gR2_deinstall.zip
直接执行第一种方法,进入到$ORACLE_HOME/deinstall/下,执行deinstall
cd $ORACLE_HOME/deinstall/
./deinstall
Checking for required files and bootstrapping ...Please wait ...Location of logs /tmp/deinstall2010-03-05_12-32-34-PM/logs/############ ORACLE DEINSTALL & DECONFIG TOOL START #################################### CHECK OPERATION START ########################Install check configuration STARTChecking for existence of the Oracle home location /gridOracle Home type selected for de-install is: CRSOracle Base selected for de-install is: /oracleChecking for existence of central inventory location /oracle/oraInventoryChecking for existence of the Oracle Grid Infrastructure homeThe following nodes are part of this cluster: p570a,p570bInstall check configuration ENDTraces log file: /tmp/deinstall2010-03-05_12-32-34-PM/logs//crsdc.logEnter an address or the name of the virtual IP used on node "p570a"[p570a-vip] >The following information can be collected by running ifconfig -a on node "p570a"Enter the IP netmask of Virtual IP "192.168.128.12" on node "p570a"[255.255.255.0] >Enter the network interface name on which the virtual IP address "192.168.128.12" is active >Enter an address or the name of the virtual IP used on node "p570b"[p570b-vip] >The following information can be collected by running ifconfig -a on node "p570b"Enter the IP netmask of Virtual IP "192.168.128.13" on node "p570b"[255.255.255.0] >Enter the network interface name on which the virtual IP address "192.168.128.13" is active >Enter an address or the name of the virtual IP[] >Network Configuration check config STARTNetwork de-configuration trace file location: /tmp/deinstall2010-03-05_12-32-34-PM/logs/netdc_check3943047409382157255.logNetwork Configuration check config ENDAsm Check Configuration STARTASM de-configuration trace file location: /tmp/deinstall2010-03-05_12-32-34-PM/logs/asmcadc_check8859913828659895984.logASM configuration was not detected in this Oracle home. Was ASM configured in this Oracle home (y|n) [n]: yIs OCR/Voting Disk placed in ASM y|n [n]: yEnter the OCR/Voting Disk diskgroup name []:Specify the ASM Diagnostic Destination [ ]:Specify the diskgroups that are managed by this ASM instance []:######################### CHECK OPERATION END ################################################ CHECK OPERATION SUMMARY #######################Oracle Grid Infrastructure Home is:The cluster node(s) on which the Oracle home exists are: (Please input nodes seperated by ",", eg: node1,node2,...)p570a,p570bOracle Home selected for de-install is: /gridInventory Location where the Oracle home registered is: /oracle/oraInventoryASM instance will be de-configured from this Oracle homeDo you want to continue (y - yes, n - no)? [n]: yA log of this session will be written to: '/tmp/deinstall2010-03-05_12-32-34-PM/logs/deinstall_deconfig2010-03-05_12-33-38-PM.out'Any error messages from this session will be written to: '/tmp/deinstall2010-03-05_12-32-34-PM/logs/deinstall_deconfig2010-03-05_12-33-38-PM.err'######################## CLEAN OPERATION START ########################ASM de-configuration trace file location: /tmp/deinstall2010-03-05_12-32-34-PM/logs/asmcadc_clean6608625374089856517.logASM Clean Configuration STARTASM Clean Configuration ENDNetwork Configuration clean config STARTNetwork de-configuration trace file location: /tmp/deinstall2010-03-05_12-32-34-PM/logs/netdc_clean5624344075530317905.logDe-configuring Naming Methods configuration file on all nodes...Naming Methods configuration file de-configured successfully.De-configuring Local Net Service Names configuration file on all nodes...Local Net Service Names configuration file de-configured successfully.De-configuring Directory Usage configuration file on all nodes...Directory Usage configuration file de-configured successfully.De-configuring backup files on all nodes...Backup files de-configured successfully.The network configuration has been cleaned up successfully.Network Configuration clean config END---------------------------------------->Run the following command as the root user or the administrator on node "p570a"./tmp/deinstall2010-03-05_12-32-34-PM/perl/bin/perl -I/tmp/deinstall2010-03-05_12-32-34-PM/perl/lib -I/tmp/deinstall2010-03-05_12-32-34-PM/crs/install /tmp/deinstall2010-03-05_12-32-34-PM/crs/install/rootcrs.pl -force -delete -paramfile /tmp/deinstall2010-03-05_12-32-34-PM/response/deinstall_Ora11g_gridinfrahome1.rspPress Enter after you finish running the above commands<----------------------------------------enterOracle Universal Installer clean STARTDetach Oracle home '/grid' from the central inventory on the local node : DoneDelete directory '/oracle/oraInventory' on the local node : DoneThe Oracle Base directory '/oracle' will not be removed on local node. The directory is not empty.Detach Oracle home '/grid' from the central inventory on the remote nodes 'p570a' : DoneCould not remove listed directories based on '/tmp/OraInstall2010-03-05_12-41-42-PM/installRemoveDirFile.lst' from nodes 'p570a'. [PRKC-1083 : Failed to remove listed directory in "/tmp/OraInstall2010-03-05_12-41-42-PM/installRemoveDirFile.lst" to any of thegiven nodes "p570a ".Error on node p570a:null]Delete directory '/oracle/oraInventory' on the remote nodes 'p570a' : DoneThe Oracle Base directory '/oracle' will not be removed on node 'p570a'. The directory is not empty.Oracle Universal Installer cleanup completed with errors.Oracle Universal Installer clean ENDOracle install clean STARTClean install operation removing temporary directory '/tmp//install' on node 'p570b'Clean install operation removing temporary directory '/tmp//install' on node 'p570a'Oracle install clean ENDMoved default properties file /tmp/deinstall2010-03-05_12-32-34-PM/response/deinstall_Ora11g_gridinfrahome1.rsp as /tmp/deinstall2010-03-05_12-32-34-PM/response/deinstall_Ora11g_gridinfrahome1.rsp1######################### CLEAN OPERATION END ################################################ CLEAN OPERATION SUMMARY #######################ASM instance was de-configured successfully from the Oracle homeOracle Clusterware was already stopped and de-configured on node "p570b"Oracle Clusterware is stopped and successfully de-configured on node "p570a"Oracle Clusterware is stopped and de-configured successfully.Successfully detached Oracle home '/grid' from the central inventory on the local node.Failed to delete directory '/grid' on the local node.Successfully deleted directory '/oracle/oraInventory' on the local node.Successfully detached Oracle home '/grid' from the central inventory on the remote nodes 'p570a'.Failed to delete directory '/grid' on the remote nodes 'p570a'.Successfully deleted directory '/oracle/oraInventory' on the remote nodes 'p570a'.Oracle Universal Installer cleanup completed with errors.Run'rm -rf /etc/oraInst.loc'as root on node(s) 'p570b,p570a' at the end of the session.Oracle install successfully cleaned up the temporary directories.
执行提示
Run'rm -rf /etc/oraInst.loc'as root on node(s) 'p570b,p570a' at the end of the session.
安装提示执行,删除的非常干净,然后在这上面重新安装grid和database时,能够成功安装。
感谢各位的阅读!关于"如何卸载grid软件"这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!
软件
命令
版本
提示
干净
内容
手工
方法
更多
篇文章
不错
实用
成功
东西
介质
信息
原因
名称
官方
官方网
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
网络安全地点成效
上海柚点科技互联网有限公司
五舟服务器管理口
马尾租房软件开发
北京公安网络安全综合业务平台
数据库多值属性怎么处理
服务器系统的设备管理器在哪里
java数据库连接池类型
计算机网络技术中有c语音吗
不可替代的定制软件开发
聚灵网络技术有限公司
职能部门网络安全保护
说说网络安全个人隐私的认识
打patch同步数据库
网络安全图画初中
深圳市牛蛙互动网络技术
优化网络安全产业生态
网络安全绘画简笔
修建房子现场宣传网络安全
网络安全设计思路
中科大网络安全考研没考上调剂
会计证的软件开发和嵌入式开发
华为交通终端服务器
对于网络安全方面违法
文件服务器管理应用
大宗商品平台软件开发
闻泰服务器行业
福州大学软件开发专业课
网络安全检测仪
网络安全考研最强高校排行