在前两篇
Oracle 11g R2+RAC+ASM+redhat安装详解1
Oracle 11g R2+RAC+ASM+redhat安装详解2
中,经常出现问题,只能卸载再重新安装了。
卸载过程很长,不过经验告诉我们能敲回车的就回车,能yes绝对不no,不过也是有例外了,红色是需要注意的
[grid@rac1 deinstall]$ pwd
/oracle/app/grid_home/deinstall --路径
[grid@rac1 deinstall]$ ll
total 68
-rwxr-xr-x. 1 grid oinstall 20666 Aug 3 19:39 deinstall 运行的脚本
-rw-r--r--. 1 grid oinstall 3154 Jul 13 2009 deinstall.xml
drwxr-xr-x. 2 grid oinstall 4096 Aug 3 19:36 jlib
drwxr-xr-x. 2 grid oinstall 4096 Aug 3 19:36 response
-rwxr-xr-x. 1 grid oinstall 31544 Mar 31 2009 sshUserSetup.sh
[grid@rac1 deinstall]$ ./deinstall 开始
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2015-08-03_10-52-04-PM/logs/
############ ORACLE DEINSTALL & DECONFIG TOOL START ############
######################## CHECK OPERATION START ########################
Install check configuration START
Checking for existence of the Oracle home location /oracle/app/grid_home
Oracle Home type selected for de-install is: CRS
Oracle Base selected for de-install is: /oracle/app/grid
Checking for existence of central inventory location /oracle/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home
The following nodes are part of this cluster: rac1,rac2
Install check configuration END
Traces log file: /tmp/deinstall2015-08-03_10-52-04-PM/logs//crsdc.log
Enter an address or the name of the virtual IP used on node "rac1"[rac1-vip]
>
The following information can be collected by running ifconfig -a on node "rac1"
Enter the IP netmask of Virtual IP "10.1.1.141" on node "rac1"[255.255.255.0]
>
Enter the network interface name on which the virtual IP address "10.1.1.141" is active
>
Enter an address or the name of the virtual IP used on node "rac2"[rac2-vip]
>
The following information can be collected by running ifconfig -a on node "rac2"
Enter the IP netmask of Virtual IP "10.1.1.145" on node "rac2"[255.255.255.0]
>
Enter the network interface name on which the virtual IP address "10.1.1.145" is active
>
Enter an address or the name of the virtual IP[]
>
Network Configuration check config START
Network de-configuration trace file location: /tmp/deinstall2015-08-03_10-52-04-PM/logs/netdc_check4528828604451532105.log
Network Configuration check config END
Asm Check Configuration START
ASM de-configuration trace file location: /tmp/deinstall2015-08-03_10-52-04-PM/logs/asmcadc_check834259281345591971.log
ASM configuration was not detected in this Oracle home. Was ASM configured in this Oracle home (y|n) [n]: y
Is OCR/Voting Disk placed in ASM y|n [n]:
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,...)rac1,rac2
Oracle Home selected for de-install is: /oracle/app/grid_home
Inventory Location where the Oracle home registered is: /oracle/app/oraInventory
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/deinstall2015-08-03_10-52-04-PM/logs/deinstall_deconfig2015-08-03_10-55-19-PM.out'
Any error messages from this session will be written to: '/tmp/deinstall2015-08-03_10-52-04-PM/logs/deinstall_deconfig2015-08-03_10-55-19-PM.err'
######################## CLEAN OPERATION START ########################
ASM de-configuration trace file location: /tmp/deinstall2015-08-03_10-52-04-PM/logs/asmcadc_clean6170313810820637075.log
ASM Clean Configuration START
ASM Clean Configuration END
Network Configuration clean config START
Network de-configuration trace file location: /tmp/deinstall2015-08-03_10-52-04-PM/logs/netdc_clean4173679892793493022.log
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
---------------------------------------->
Oracle Universal Installer clean START
Oracle Universal Installer cleanup completed with errors.
Oracle Universal Installer clean END
Oracle install clean START
Clean install operation removing temporary directory '/tmp/install' on node 'rac1'
Oracle install clean END
######################### CLEAN OPERATION END #########################
####################### CLEAN OPERATION SUMMARY #######################
ASM instance was de-configured successfully from the Oracle home
Oracle Clusterware was already stopped and de-configured on node "rac2"
Oracle Clusterware was already stopped and de-configured on node "rac1"
Oracle Clusterware is stopped and de-configured successfully.
Oracle Universal Installer cleanup completed with errors.
Oracle install successfully cleaned up the temporary directories.
#######################################################################
############# ORACLE DEINSTALL & DECONFIG TOOL END #############