Oracle 11g R2 RAC 卸载 grid

本文涉及的产品
云数据库 Tair(兼容Redis),内存型 2GB
Redis 开源版,标准版 2GB
推荐场景:
搭建游戏排行榜
简介: <br><br><div style="font-family:'lucida Grande',Verdana,'Microsoft YaHei'; font-size:14px; line-height:23.8px"> <span style="font-size:14px; line-height:27.2px"><strong><br></strong></span></div



Oracle 11g R2 RAC 卸载 grid

操作系统:Oracle linux 6.3 x86_64

oracle版本:Oracle 11.2.0.3 

进入grid用户,cd $ORACLE_HOM/deinstallE目录 

[grid@xyy1 deinstall]$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2013-09-06_10-23-18AM/logs/

############ ORACLE DEINSTALL & DECONFIG TOOL START ############

######################### CHECK OPERATION START #########################
## [START] Install check configuration ##

Checking for existence of the Oracle home location /u01/app/11.2.0/grid
Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Cluster
Oracle Base selected for deinstall is: /u01/app/grid
Checking for existence of central inventory location /u01/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /u01/app/11.2.0/grid
The following nodes are part of this cluster: xyy1,xyy2
Checking for sufficient temp space availability on node(s) : 'xyy1,xyy2'

## [END] Install check configuration ##

Traces log file: /tmp/deinstall2013-09-06_10-23-18AM/logs//crsdc.log
Enter an address or the name of the virtual IP used on node "xyy1"[xyy1-vip]
>

The following information can be collected by running "/sbin/ifconfig -a" on node "xyy1"
Enter the IP netmask of Virtual IP "162.12.1.135" on node "xyy1"[255.255.255.0]
>

Enter the network interface name on which the virtual IP address "162.12.1.135" is active
>

Enter an address or the name of the virtual IP used on node "xyy2"[xyy2-vip]
>

The following information can be collected by running "/sbin/ifconfig -a" on node "xyy2"
Enter the IP netmask of Virtual IP "162.12.1.137" on node "xyy2"[255.255.255.0]
>

Enter the network interface name on which the virtual IP address "162.12.1.137" is active
>

Enter an address or the name of the virtual IP[]
>


Network Configuration check config START

Network de-configuration trace file location: /tmp/deinstall2013-09-06_10-23-18AM/logs/netdc_check2013-09-06_10-28-12-AM.log

Specify all RAC listeners (do not include SCAN listener) that are to be de-configured [LISTENER,LISTENER_SCAN1]:

Network Configuration check config END

Asm Check Configuration START

ASM de-configuration trace file location: /tmp/deinstall2013-09-06_10-23-18AM/logs/asmcadc_check2013-09-06_10-28-14-AM.log

ASM configuration was not detected in this Oracle home. Was ASM configured in this Oracle home (y|n) [n]:y (输入)
ASM was not detected in the Oracle Home

######################### CHECK OPERATION END #########################


####################### CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /u01/app/11.2.0/grid
The cluster node(s) on which the Oracle home deinstallation will be performed are:xyy1,xyy2
Oracle Home selected for deinstall is: /u01/app/11.2.0/grid
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
Following RAC listener(s) will be de-configured: LISTENER,LISTENER_SCAN1
ASM was not detected in the Oracle Home
Do you want to continue (y - yes, n - no)? [n]: y
Exited from program.

############# ORACLE DEINSTALL & DECONFIG TOOL END #############

[grid@xyy1 deinstall]$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2013-09-06_10-28-22AM/logs/

############ ORACLE DEINSTALL & DECONFIG TOOL START ############


######################### CHECK OPERATION START #########################
## [START] Install check configuration ##


Checking for existence of the Oracle home location /u01/app/11.2.0/grid
Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Cluster
Oracle Base selected for deinstall is: /u01/app/grid
Checking for existence of central inventory location /u01/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /u01/app/11.2.0/grid
The following nodes are part of this cluster: xyy1,xyy2
Checking for sufficient temp space availability on node(s) : 'xyy1,xyy2'

## [END] Install check configuration ##

Traces log file: /tmp/deinstall2013-09-06_10-28-22AM/logs//crsdc.log
Enter an address or the name of the virtual IP used on node "xyy1"[xyy1-vip]
>

The following information can be collected by running "/sbin/ifconfig -a" on node "xyy1"
Enter the IP netmask of Virtual IP "162.12.1.135" on node "xyy1"[255.255.255.0]
>

Enter the network interface name on which the virtual IP address "162.12.1.135" is active
>

Enter an address or the name of the virtual IP used on node "xyy2"[xyy2-vip]
>

The following information can be collected by running "/sbin/ifconfig -a" on node "xyy2"
Enter the IP netmask of Virtual IP "162.12.1.137" on node "xyy2"[255.255.255.0]
>

Enter the network interface name on which the virtual IP address "162.12.1.137" is active
>

Enter an address or the name of the virtual IP[]
>


Network Configuration check config START

Network de-configuration trace file location: /tmp/deinstall2013-09-06_10-28-22AM/logs/netdc_check2013-09-06_10-37-43-AM.log

Specify all RAC listeners (do not include SCAN listener) that are to be de-configured [LISTENER,LISTENER_SCAN1]:

Network Configuration check config END

Asm Check Configuration START

ASM de-configuration trace file location: /tmp/deinstall2013-09-06_10-28-22AM/logs/asmcadc_check2013-09-06_10-37-45-AM.log

ASM configuration was not detected in this Oracle home. Was ASM configured in this Oracle home (y|n) [n]:y
Specify the ASM Diagnostic Destination [ ]: 
Specify the diskstring [/dev/*]: 
Specify the diskgroups that are managed by this ASM instance []:


######################### CHECK OPERATION END #########################


####################### CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /u01/app/11.2.0/grid
The cluster node(s) on which the Oracle home deinstallation will be performed are:xyy1,xyy2
Oracle Home selected for deinstall is: /u01/app/11.2.0/grid
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
Following RAC listener(s) will be de-configured: LISTENER,LISTENER_SCAN1
ASM instance will be de-configured from this Oracle home
Do you want to continue (y - yes, n - no)? [n]: y
A log of this session will be written to: '/tmp/deinstall2013-09-06_10-28-22AM/logs/deinstall_deconfig2013-09-06_10-28-31-AM.out'
Any error messages from this session will be written to: '/tmp/deinstall2013-09-06_10-28-22AM/logs/deinstall_deconfig2013-09-06_10-28-31-AM.err'

######################## CLEAN OPERATION START ########################
ASM de-configuration trace file location: /tmp/deinstall2013-09-06_10-28-22AM/logs/asmcadc_clean2013-09-06_10-37-59-AM.log
ASM Clean Configuration START
ASM Clean Configuration END

Network Configuration clean config START

Network de-configuration trace file location: /tmp/deinstall2013-09-06_10-28-22AM/logs/netdc_clean2013-09-06_10-38-00-AM.log

De-configuring RAC listener(s): LISTENER,LISTENER_SCAN1

De-configuring listener: LISTENER
Stopping listener: LISTENER
Warning: Failed to stop listener. Listener may not be running.
Listener de-configured successfully.

De-configuring listener: LISTENER_SCAN1
Stopping listener: LISTENER_SCAN1
Warning: Failed to stop listener. Listener may not be running.
Listener de-configured successfully.

De-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


---------------------------------------->

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 administratoron node "xyy2".

/tmp/deinstall2013-09-06_10-28-22AM/perl/bin/perl -I/tmp/deinstall2013-09-06_10-28-22AM/perl/lib -I/tmp/deinstall2013-09-06_10-28-22AM/crs/install /tmp/deinstall2013-09-06_10-28-22AM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2013-09-06_10-28-22AM/response/deinstall_Ora11g_gridinfrahome1.rsp"

Run the following command as the root user or the administratoron node "xyy1".

/tmp/deinstall2013-09-06_10-28-22AM/perl/bin/perl -I/tmp/deinstall2013-09-06_10-28-22AM/perl/lib -I/tmp/deinstall2013-09-06_10-28-22AM/crs/install /tmp/deinstall2013-09-06_10-28-22AM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2013-09-06_10-28-22AM/response/deinstall_Ora11g_gridinfrahome1.rsp" -lastnode

Press Enter after you finish running the above commands (注意:每个节点执行完上述脚本并且successful 就可以回车了)

<----------------------------------------


Oracle 11g R2 RAC 卸载 grid

操作系统:Oracle linux 6.3 x86_64

oracle版本:Oracle 11.2.0.3 

进入grid用户,cd $ORACLE_HOM/deinstallE目录 

[grid@xyy1 deinstall]$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2013-09-06_10-23-18AM/logs/

############ ORACLE DEINSTALL & DECONFIG TOOL START ############

######################### CHECK OPERATION START #########################
## [START] Install check configuration ##

Checking for existence of the Oracle home location /u01/app/11.2.0/grid
Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Cluster
Oracle Base selected for deinstall is: /u01/app/grid
Checking for existence of central inventory location /u01/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /u01/app/11.2.0/grid
The following nodes are part of this cluster: xyy1,xyy2
Checking for sufficient temp space availability on node(s) : 'xyy1,xyy2'

## [END] Install check configuration ##

Traces log file: /tmp/deinstall2013-09-06_10-23-18AM/logs//crsdc.log
Enter an address or the name of the virtual IP used on node "xyy1"[xyy1-vip]
>

The following information can be collected by running "/sbin/ifconfig -a" on node "xyy1"
Enter the IP netmask of Virtual IP "162.12.1.135" on node "xyy1"[255.255.255.0]
>

Enter the network interface name on which the virtual IP address "162.12.1.135" is active
>

Enter an address or the name of the virtual IP used on node "xyy2"[xyy2-vip]
>

The following information can be collected by running "/sbin/ifconfig -a" on node "xyy2"
Enter the IP netmask of Virtual IP "162.12.1.137" on node "xyy2"[255.255.255.0]
>

Enter the network interface name on which the virtual IP address "162.12.1.137" is active
>

Enter an address or the name of the virtual IP[]
>


Network Configuration check config START

Network de-configuration trace file location: /tmp/deinstall2013-09-06_10-23-18AM/logs/netdc_check2013-09-06_10-28-12-AM.log

Specify all RAC listeners (do not include SCAN listener) that are to be de-configured [LISTENER,LISTENER_SCAN1]:

Network Configuration check config END

Asm Check Configuration START

ASM de-configuration trace file location: /tmp/deinstall2013-09-06_10-23-18AM/logs/asmcadc_check2013-09-06_10-28-14-AM.log

ASM configuration was not detected in this Oracle home. Was ASM configured in this Oracle home (y|n) [n]:y (输入)
ASM was not detected in the Oracle Home

######################### CHECK OPERATION END #########################


####################### CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /u01/app/11.2.0/grid
The cluster node(s) on which the Oracle home deinstallation will be performed are:xyy1,xyy2
Oracle Home selected for deinstall is: /u01/app/11.2.0/grid
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
Following RAC listener(s) will be de-configured: LISTENER,LISTENER_SCAN1
ASM was not detected in the Oracle Home
Do you want to continue (y - yes, n - no)? [n]: y
Exited from program.

############# ORACLE DEINSTALL & DECONFIG TOOL END #############

[grid@xyy1 deinstall]$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2013-09-06_10-28-22AM/logs/

############ ORACLE DEINSTALL & DECONFIG TOOL START ############


######################### CHECK OPERATION START #########################
## [START] Install check configuration ##


Checking for existence of the Oracle home location /u01/app/11.2.0/grid
Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Cluster
Oracle Base selected for deinstall is: /u01/app/grid
Checking for existence of central inventory location /u01/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /u01/app/11.2.0/grid
The following nodes are part of this cluster: xyy1,xyy2
Checking for sufficient temp space availability on node(s) : 'xyy1,xyy2'

## [END] Install check configuration ##

Traces log file: /tmp/deinstall2013-09-06_10-28-22AM/logs//crsdc.log
Enter an address or the name of the virtual IP used on node "xyy1"[xyy1-vip]
>

The following information can be collected by running "/sbin/ifconfig -a" on node "xyy1"
Enter the IP netmask of Virtual IP "162.12.1.135" on node "xyy1"[255.255.255.0]
>

Enter the network interface name on which the virtual IP address "162.12.1.135" is active
>

Enter an address or the name of the virtual IP used on node "xyy2"[xyy2-vip]
>

The following information can be collected by running "/sbin/ifconfig -a" on node "xyy2"
Enter the IP netmask of Virtual IP "162.12.1.137" on node "xyy2"[255.255.255.0]
>

Enter the network interface name on which the virtual IP address "162.12.1.137" is active
>

Enter an address or the name of the virtual IP[]
>


Network Configuration check config START

Network de-configuration trace file location: /tmp/deinstall2013-09-06_10-28-22AM/logs/netdc_check2013-09-06_10-37-43-AM.log

Specify all RAC listeners (do not include SCAN listener) that are to be de-configured [LISTENER,LISTENER_SCAN1]:

Network Configuration check config END

Asm Check Configuration START

ASM de-configuration trace file location: /tmp/deinstall2013-09-06_10-28-22AM/logs/asmcadc_check2013-09-06_10-37-45-AM.log

ASM configuration was not detected in this Oracle home. Was ASM configured in this Oracle home (y|n) [n]:y
Specify the ASM Diagnostic Destination [ ]: 
Specify the diskstring [/dev/*]: 
Specify the diskgroups that are managed by this ASM instance []:


######################### CHECK OPERATION END #########################


####################### CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /u01/app/11.2.0/grid
The cluster node(s) on which the Oracle home deinstallation will be performed are:xyy1,xyy2
Oracle Home selected for deinstall is: /u01/app/11.2.0/grid
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
Following RAC listener(s) will be de-configured: LISTENER,LISTENER_SCAN1
ASM instance will be de-configured from this Oracle home
Do you want to continue (y - yes, n - no)? [n]: y
A log of this session will be written to: '/tmp/deinstall2013-09-06_10-28-22AM/logs/deinstall_deconfig2013-09-06_10-28-31-AM.out'
Any error messages from this session will be written to: '/tmp/deinstall2013-09-06_10-28-22AM/logs/deinstall_deconfig2013-09-06_10-28-31-AM.err'

######################## CLEAN OPERATION START ########################
ASM de-configuration trace file location: /tmp/deinstall2013-09-06_10-28-22AM/logs/asmcadc_clean2013-09-06_10-37-59-AM.log
ASM Clean Configuration START
ASM Clean Configuration END

Network Configuration clean config START

Network de-configuration trace file location: /tmp/deinstall2013-09-06_10-28-22AM/logs/netdc_clean2013-09-06_10-38-00-AM.log

De-configuring RAC listener(s): LISTENER,LISTENER_SCAN1

De-configuring listener: LISTENER
Stopping listener: LISTENER
Warning: Failed to stop listener. Listener may not be running.
Listener de-configured successfully.

De-configuring listener: LISTENER_SCAN1
Stopping listener: LISTENER_SCAN1
Warning: Failed to stop listener. Listener may not be running.
Listener de-configured successfully.

De-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


---------------------------------------->

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 administratoron node "xyy2".

/tmp/deinstall2013-09-06_10-28-22AM/perl/bin/perl -I/tmp/deinstall2013-09-06_10-28-22AM/perl/lib -I/tmp/deinstall2013-09-06_10-28-22AM/crs/install /tmp/deinstall2013-09-06_10-28-22AM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2013-09-06_10-28-22AM/response/deinstall_Ora11g_gridinfrahome1.rsp"

Run the following command as the root user or the administratoron node "xyy1".

/tmp/deinstall2013-09-06_10-28-22AM/perl/bin/perl -I/tmp/deinstall2013-09-06_10-28-22AM/perl/lib -I/tmp/deinstall2013-09-06_10-28-22AM/crs/install /tmp/deinstall2013-09-06_10-28-22AM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2013-09-06_10-28-22AM/response/deinstall_Ora11g_gridinfrahome1.rsp" -lastnode

Press Enter after you finish running the above commands (注意:每个节点执行完上述脚本并且successful 就可以回车了)

<----------------------------------------

相关实践学习
基于Redis实现在线游戏积分排行榜
本场景将介绍如何基于Redis数据库实现在线游戏中的游戏玩家积分排行榜功能。
云数据库 Redis 版使用教程
云数据库Redis版是兼容Redis协议标准的、提供持久化的内存数据库服务,基于高可靠双机热备架构及可无缝扩展的集群架构,满足高读写性能场景及容量需弹性变配的业务需求。 产品详情:https://www.aliyun.com/product/kvstore &nbsp; &nbsp; ------------------------------------------------------------------------- 阿里云数据库体验:数据库上云实战 开发者云会免费提供一台带自建MySQL的源数据库&nbsp;ECS 实例和一台目标数据库&nbsp;RDS实例。跟着指引,您可以一步步实现将ECS自建数据库迁移到目标数据库RDS。 点击下方链接,领取免费ECS&amp;RDS资源,30分钟完成数据库上云实战!https://developer.aliyun.com/adc/scenario/51eefbd1894e42f6bb9acacadd3f9121?spm=a2c6h.13788135.J_3257954370.9.4ba85f24utseFl
目录
相关文章
|
3月前
|
运维 Oracle 前端开发
Oracle 11g RAC集群日常运维命令总结
Oracle 11g RAC集群日常运维命令总结
98 2
|
3月前
|
Oracle 关系型数据库
分布式锁设计问题之Oracle RAC保证多个节点写入内存Page的一致性如何解决
分布式锁设计问题之Oracle RAC保证多个节点写入内存Page的一致性如何解决
|
4月前
|
存储 负载均衡 Oracle
|
1月前
|
存储 Oracle 关系型数据库
Oracle数据库的应用场景有哪些?
【10月更文挑战第15天】Oracle数据库的应用场景有哪些?
171 64
|
3月前
|
存储 自然语言处理 Oracle
Oracle数据库字符集概述及修改方式
【8月更文挑战第15天】Oracle 数据库字符集定义了数据的编码方案,决定可存储的字符类型及其表示方式。主要作用包括数据存储、检索及跨系统传输时的正确表示。常见字符集如 AL32UTF8 支持多语言,而 WE8MSWIN1252 主用于西欧语言。修改字符集风险高,可能导致数据问题,需事先备份并评估兼容性。可通过 ALTER DATABASE 语句直接修改或采用导出-导入数据的方式进行。完成后应验证数据完整性。此操作复杂,须谨慎处理。
|
3月前
|
数据采集 Oracle 关系型数据库
实时计算 Flink版产品使用问题之怎么实现从Oracle数据库读取多个表并将数据写入到Iceberg表
实时计算Flink版作为一种强大的流处理和批处理统一的计算框架,广泛应用于各种需要实时数据处理和分析的场景。实时计算Flink版通常结合SQL接口、DataStream API、以及与上下游数据源和存储系统的丰富连接器,提供了一套全面的解决方案,以应对各种实时计算需求。其低延迟、高吞吐、容错性强的特点,使其成为众多企业和组织实时数据处理首选的技术平台。以下是实时计算Flink版的一些典型使用合集。
|
25天前
|
SQL Oracle 关系型数据库
Oracle数据库优化方法
【10月更文挑战第25天】Oracle数据库优化方法
33 7
|
1月前
|
存储 Oracle 关系型数据库
数据库数据恢复—Oracle ASM磁盘组故障数据恢复案例
Oracle数据库数据恢复环境&故障: Oracle ASM磁盘组由4块磁盘组成。Oracle ASM磁盘组掉线 ,ASM实例不能mount。 Oracle数据库故障分析&恢复方案: 数据库数据恢复工程师对组成ASM磁盘组的磁盘进行分析。对ASM元数据进行分析发现ASM存储元数据损坏,导致磁盘组无法挂载。
|
2月前
|
Oracle 关系型数据库 数据库
数据库数据恢复—Oracle数据库文件出现坏块的数据恢复案例
打开oracle数据库报错“system01.dbf需要更多的恢复来保持一致性,数据库无法打开”。 数据库没有备份,无法通过备份去恢复数据库。用户方联系北亚企安数据恢复中心并提供Oracle_Home目录中的所有文件,急需恢复zxfg用户下的数据。 出现“system01.dbf需要更多的恢复来保持一致性”这个报错的原因可能是控制文件损坏、数据文件损坏,数据文件与控制文件的SCN不一致等。数据库恢复工程师对数据库文件进一步检测、分析后,发现sysaux01.dbf文件损坏,有坏块。 修复并启动数据库后仍然有许多查询报错,export和data pump工具使用报错。从数据库层面无法修复数据库。
数据库数据恢复—Oracle数据库文件出现坏块的数据恢复案例