Oracle 11g R2 RAC 卸载 grid-阿里云开发者社区

开发者社区> 数据库> 正文

Oracle 11g R2 RAC 卸载 grid

简介: <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 就可以回车了)

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

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

分享:
数据库
使用钉钉扫一扫加入圈子
+ 订阅

分享数据库前沿,解构实战干货,推动数据库技术变革

其他文章