安装环境:
SuSE Linux Enterprise Server 11 SP3
Oracle 11g 11.2.0.3
 
卸载步骤:
1.卸载 Database 软件(oracle,第一节点)
(1).运行 $ORACLE_HOME/deinstall/deinstall 脚本。
(2).按照导航执行如下。
(2-1).Specify the list of database names that are configured in this Oracle home []: 
注意:输入数据库名称,如果还未建库,则可缺省。
(2-2).Oracle Grid Infrastructure Home is: /u01/11.2.0/grid
The cluster node(s) on which the Oracle home deinstallation will be performed are:anxeccora01,anxeccora02
Oracle Home selected for deinstall is: /u01/app/oracle/product/11.2.0/db_1
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
No Enterprise Manager configuration to be updated for any database(s)
No Enterprise Manager ASM targets to update
No Enterprise Manager listener targets to migrate
Checking the config status for CCR
anxeccora01 : Oracle Home exists with CCR directory, but CCR is not configured
anxeccora02 : Oracle Home exists with CCR directory, but CCR is not configured
CCR check is finished
Do you want to continue (y - yes, n - no)? [n]:
注意: 环境检查正常,输入 y 则继续删除操作。
2.检查 Database 软件卸载结果(oracle,每个节点)
查看 $ORACLE_HOME 目录是否已经被删除。如删除则说明卸载完毕。
3.卸载 Grid Infrastructure 软件(grid & root,第一节点 & 每个节点)
a.运行卸载脚本(grid,第一节点)
运行 $GI_HOME/deinstall/deinstall 脚本。
b.删除监听、ASM(grid,第一节点)
按照导航执行如下。
(1).Specify all RAC listeners (do not include SCAN listener) that are to be de-configured [LISTENER]:
注意:输入监听名称,请勿输入 SCAN 监听名称。
(2).Automatic Storage Management (ASM) instance is detected in this Oracle home /u01/11.2.0/grid.
ASM Diagnostic Destination : /u01/app/oracle
ASM Diskgroups : +ARCH,+DATA,+OCR_VOTE
ASM diskstring : <Default>
Diskgroups will be dropped
De-configuring ASM will drop all the diskgroups and it's contents at cleanup time. This will affect all of the databases and ACFS that use this ASM instance(s).
 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]: 
注意: 检查 ASM 配置,输入 n 则按当前参数删除 ASM。
(3).Oracle Grid Infrastructure Home is: /u01/11.2.0/grid
The cluster node(s) on which the Oracle home deinstallation will be performed are:anxeccora01,anxeccora02
Oracle Home selected for deinstall is: /u01/11.2.0/grid
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
Following RAC listener(s) will be de-configured: LISTENER
ASM instance will be de-configured from this Oracle home
Do you want to continue (y - yes, n - no)? [n]:
注意: 环境检查正常,输入 y 则继续删除操作。
c.删除 CRS 配置(root,每个节点)
注意:按照导航执行如下。
(1).The deconfig command below can be executed in parallel on all the remote nodes. Execute the command on  the local node after the execution completes on all the remote nodes.
 
Run the following command as the root user or the administrator on node "anxeccora02".
 
/tmp/deinstall2016-10-25_04-06-46PM/perl/bin/perl -I/tmp/deinstall2016-10-25_04-06-46PM/perl/lib -I/tmp/deinstall2016-10-25_04-06-46PM/crs/install /tmp/deinstall2016-10-25_04-06-46PM/crs/install/rootcrs.pl -force  -deconfig -paramfile "/tmp/deinstall2016-10-25_04-06-46PM/response/deinstall_Ora11g_gridinfrahome1.rsp"
 
Run the following command as the root user or the administrator on node "anxeccora01".
 
/tmp/deinstall2016-10-25_04-06-46PM/perl/bin/perl -I/tmp/deinstall2016-10-25_04-06-46PM/perl/lib -I/tmp/deinstall2016-10-25_04-06-46PM/crs/install /tmp/deinstall2016-10-25_04-06-46PM/crs/install/rootcrs.pl -force  -deconfig -paramfile "/tmp/deinstall2016-10-25_04-06-46PM/response/deinstall_Ora11g_gridinfrahome1.rsp" -lastnode
 
Press Enter after you finish running the above commands
注意:应先在远端节点执行脚本,最后在本地节点执行脚本。执行脚本成功后,输入回车键。
d.删除残留文件(root,每个节点)
更具导航执行。
Run 'rm -rf /etc/oraInst.loc' as root on node(s) 'anxeccora01,anxeccora02' at the end of the session.
Run 'rm -rf /opt/ORCLfmap' as root on node(s) 'anxeccora01,anxeccora02' at the end of the session.
Run 'rm -rf /etc/oratab' as root on node(s) 'anxeccora01' at the end of the session.

Oracle-11g-R2 于 Linux 上的 RAC 卸载的更多相关文章

  1. Oracle 11g R2(11.2.0.4) RAC 数据文件路径错误解决--ORA-01157 ORA-01110: 数据文件

    Oracle 11g R2(11.2.0.1) RAC  数据文件路径错误解决--ORA-01157 ORA-01110: 数据文件 oracle 11g R2(11.2.0.4) rac--scan ...

  2. oracle 11g r2 使用rman进行迁移rac到rac

    源端服务器主机名 rac05 rac06公共IP地址(eth0) 10.15.8.15 10.15.8.16 虚拟IP地址(eth0) 10.15.8.17 10.15.8.18私有IP地址(eth1 ...

  3. oracle 11g r2 rac到单实例的dg

    oracle 11g r2 rac到单实例的dg 1 主备环境说明 rac环境--primary CentOS release 6.5 (Final)hostname rac1 rac2ip 10.* ...

  4. [转]Oracle 11g R2 RAC高可用连接特性 – SCAN详解

    原文地址:http://czmmiao.iteye.com/blog/2124373   昨天帮朋友解决11g RAC SCAN问题,当时为这朋友简单解答了一些SCAN特性相关的问题,但我知道这仅仅是 ...

  5. Oracle Linux 6.3下安装Oracle 11g R2(11.2.0.3)

    本文主要描写叙述了在Oracle Linux 6.3下安装Oracle 11gR2(11.2.0.3).从Oracle 11g開始,Oracle官方站点不再提供其Patch的下载链接,须要使用Meat ...

  6. Oracle 11G R2 RAC中的scan ip 的用途和基本原理【转】

    Oracle 11G R2 RAC增加了scan ip功能,在11.2之前,client链接数据库的时候要用vip,假如你的cluster有4个节点,那么客户端的tnsnames.ora中就对应有四个 ...

  7. Oracle 11g R2 RAC 高可用连接特性

    转自-阿里巴巴许春值 1.scan概念 什么叫 SCAN,SCAN (Single Client Access Name) 是 Oracle 从11g R2 开始推出的,客户端可以通过 SCAN 特性 ...

  8. 基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境:4.安装Oracle RAC FAQ-4.7.Oracle 11G R2 RAC修改public网络IP

    问题:Linuxrac2节点的public网IP被占用,导致集群节点2无法访问 1.禁止相关CRS资源的启动,停止这些资源(vip,listener,scan,scan_listener,databa ...

  9. Linux 6.x 下Oracle 11g R2 安装配置

    Oracle 11g R2 数据库安装硬件配置要求: 最小内存 1 GB of RAM 虚拟内存容量,这个oracle也有要求,不用担心此时的swap分区不够oracle的要求 .虚拟内存swap如何 ...

随机推荐

  1. Samba 4.x.x全版本存在命令执行漏洞

    Samba 4.0.0到4.1.10版本的nmbd(the NetBIOS name services daemon)被发现存在远程命令执行漏洞.CVE编号为CVE-2014-3560.目前官方已经发 ...

  2. 转载:iOS 推送的服务端实现

    参考网址1: iOS消息推送机制的实现 http://www.cnblogs.com/qq78292959/archive/2012/07/16/2593651.html 参考网址2: iOS 推送的 ...

  3. 自定义View等待旋转

    效果图 1 string.xml <string name="default_progressbar">Default Progressbar:</string& ...

  4. Library cache lock/pin详解

    Library cache lock/pin 一.概述 ---本文是网络资料加metalink 等整理得来一个实例中的library cache包括了不同类型对象的描述,如:游标,索引,表,视图,过程 ...

  5. $( ).focus()与$( )[0].focus()区别

    $( #id).focus()与$( #id)[0].focus()没有区别,因为id必须是唯一的.如果同一页面出现多个相同的ID(这是不符合w3c规范的),$(#id)也只会拿到第一个该ID,后面的 ...

  6. group by调优的一些测试

    表结构信息: mysql> show create table tb\G*************************** 1. row ************************** ...

  7. __VA_ARGS__与逗号操作符的巧妙结合

    class Test { public: template<class T> Test& operator,(T t) { //具体操作 return *this; } } Tes ...

  8. Oracle 存储过程动态建表

    动态sql,顾名思义就是动态执行的sql,也就是说在没执行之前是动态的拼接的. 任务 传入参数:新建的表名hd+当前的年和月,例如hd_201105表结构是:字段1:id ,类型是number,可以自 ...

  9. Android Scrollview 内部组件android:layout_height="fill_parent"无效的解决办法

    Found the solution myself in the end. The problem was not with the LinearLayout,  but with the Scrol ...

  10. kettle连接hadoop&hdfs图文详解

    1 引言: 项目最近要引入大数据技术,使用其处理加工日上网话单数据,需要kettle把源系统的文本数据load到hadoop环境中 2 准备工作: 1 首先 要了解支持hadoop的Kettle版本情 ...