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集群日常运维命令总结
75 2
|
3月前
|
Oracle 关系型数据库
分布式锁设计问题之Oracle RAC保证多个节点写入内存Page的一致性如何解决
分布式锁设计问题之Oracle RAC保证多个节点写入内存Page的一致性如何解决
|
4月前
|
存储 负载均衡 Oracle
|
4月前
|
存储 Oracle 关系型数据库
|
5月前
|
Oracle 关系型数据库 数据库
Oracle 11G数据库安装步骤及截图操作2
Oracle 11G数据库安装步骤及截图操作
60 0
|
5月前
|
Oracle 安全 关系型数据库
Oracle 11G数据库安装步骤及截图操作1
Oracle 11G数据库安装步骤及截图操作
101 0
|
6月前
|
存储 Oracle 关系型数据库
Oracle RAC:数据库集群的舞动乐章
【4月更文挑战第19天】Oracle RAC是Oracle提供的高可用性数据库解决方案,允许多个实例共享同一数据库,确保业务连续性和数据完整性。通过集群件和全局缓存服务实现服务器间的协调和通信。RAC提供高可用性,通过故障转移应对故障,同时提升性能,多个实例并行处理请求。作为数据管理员,理解RAC的架构和管理至关重要,以发挥其在数据管理中的最大价值。
|
6月前
|
存储 Oracle 关系型数据库
手把手教你安装Oracle——以oracle 11g为例
手把手教你安装Oracle——以oracle 11g为例
手把手教你安装Oracle——以oracle 11g为例
|
6月前
|
存储 运维 Oracle
Oracle系列十八:Oracle RAC
Oracle系列十八:Oracle RAC