Oracle 11g grid infrastructure installation failure, or need to uninstall, not as troublesome as 10g CRS component Uninstall.
Take linux as an example. The procedure for manually deleting CRS at 10 Gb is as follows:
Rm-f/etc/init. d/init.css d
Rm-f/etc/init. d/init. crs
Rm-f/etc/init. d/init. crsd
Rm-f/etc/init. d/init. evmd
Rm-f/etc/rc2.d/K96init. crs
Rm-f/etc/rc2.d/S96init. crs
Rm-f/etc/rc3.d/K96init. crs
Rm-f/etc/rc3.d/S96init. crs
Rm-f/etc/rc5.d/K96init. crs
Rm-f/etc/rc5.d/S96init. crs
Rm-rf/etc/oracle/scls_scr
Rm-f/etc/inittab. crs
Cp/etc/inittab. orig/etc/inittab
In 11g, a tool named deinstallis released. For example, the software name of the Linux system is linux.x64_11gr2_deinstall.zip. After decompression, you can use it directly.
Step 1: Use the grid user to log on to the operating system. This user is the installation user of the grid infrastructure software.
/Home/grid/deinstall @ serv2 => + ASM2 $./deinstall
Location of logs/home/grid/deinstall/logs/
########### Oracle deinstall & deconfig tool start ############
Usage:
Deinstall-home <Complete path of Oracle home>
[-Silent]
[-Checkonly]
[-Local]
[-Paramfile <complete path of input parameter property file>]
[-Params <name1 = value [name2 = value...]>]
[-O <complete path of directory for saving files>]
[-Help |-h: Type-h or-help to get more information on each o
F the above options.]
Specify any of the above options.
############ Oracle deinstall & deconfig tool end #############
Step 2: Use deinstall-home/u01/app/11.2.0/grid to uninstall the installed file
/Home/grid/deinstall @ serv2 => + ASM2 $./deinstall-home/u01/app/11.2.0/grid
ORACLE_HOME =/u01/app/11.2.0/grid
Location of logs/home/grid/deinstall/logs/
########### Oracle deinstall & deconfig tool start ############
######################## Check operation start ############# ###########
Install check configuration START
Checking for existence of the Oracle home location/u01/app/11.2.0/grid
Oracle Home type selected for de-install is: CRS
Oracle Base selected for de-install 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/gr
Id
The following nodes are part of this cluster: serv1, serv2
Install check configuration END
Traces log file:/home/grid/deinstall/logs // crsdc. log
Enter an address or the name of the virtual IP used on node "serv1" [serv1-vip]
>
The following information can be collected by running ifconfig-a on node "serv1
"
Enter the IP netmask of Virtual IP "192.168.15.189" on node "serv1" [255.255.255.
0]
>
Enter the network interface name on which the virtual IP address "192.168.15.189
"Is active
>
Enter an address or the name of the virtual IP used on node "serv2" [serv2-vip]
>
The following information can be collected by running ifconfig-a on node "serv2
"
Enter the IP netmask of Virtual IP "192.168.15.190" on node "serv2" [255.255.255.
0]
>
Enter the network interface name on which the virtual IP address "192.168.15.190
"Is active
>
Enter an address or the name of the virtual IP []
>
Network Configuration check config START
Network de-configuration trace file location:/home/grid/deinstall/logs/netdc_ch
Eck59960.log
Network Configuration check config END
Asm Check Configuration START
ASM de-configuration trace file location:/home/grid/deinstall/logs/asmcadc_chec
K59961.log
ASM configuration was not detected in this Oracle home. Was ASM configured in th
Is Oracle home (y | n) [n]: y
Specify the ASM Diagnostic Destination []:/u01/app/11.2.0/grid
Specify the diskgroups that are managed by this ASM instance []: CRS
De-processing ing ASM will drop all the diskgroups at cleanup time. Do you want dec
Onfig tool to drop the diskgroups y | n [y]: y
######################### 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 exists are: (Please input nodes sep
Erated by ",", eg: node1, node2,...) serv1, serv2
Oracle Home selected for de-install is:/u01/app/11.2.0/grid
Inventory Location where the Oracle home registered is:/u01/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: '/home/grid/deinstall/logs/deinstall_d
Econfig2012-04-24_10-21-03-AM.out'
Any error messages from this session will be written to: '/home/grid/deinstall/l
Ogs/deinstall_deconfig2012-04-24_10-21-03-AM.err'
######################## Clean operation start ############# ###########
ASM de-configuration trace file location:/home/grid/deinstall/logs/asmcadc_clea
N59962.log
ASM Clean Configuration START
ASM Clean Configuration END
Network Configuration clean config START
Network de-configuration trace file location:/home/grid/deinstall/logs/netdc_cl
Ean59963.log
De-processing ing Naming Methods configuration file on all nodes...
Naming Methods configuration file de-configured successfully.
De-Authentication ing Local Net Service Names configuration file on all nodes...
Local Net Service Names configuration file de-configured successfully.
De-Authentication ing Directory Usage configuration file on all nodes...
Directory Usage configuration file de-configured successfully.
De-processing ing backup files on all nodes...
Backup files de-configured successfully.
The network configuration has been cleaned up successfully.
Network Configuration clean config END
---------------------------------------->
Run the following command as the root user or the administrator on node "serv2 ".
/Home/grid/deinstall/perl/bin/perl-I/home/grid/deinstall/perl/lib-I/home/grid/
Deinstall/crs/install/home/grid/deinstall/crs/install/rootcrs. pl-force-delet
E-paramfile/home/grid/deinstall/response/deinstall_Ora11g_gridinfrahome1.rsp-
Lastnode
Press Enter after you finish running the above commands
This step is used to generate the configuration file/home/grid/deinstall/response/deinstall_Ora11g_gridinfrahome1.rsp
Step 3: Use root to execute the perl script of the configuration file generated in the previous step on the node
/Home/grid/deinstall/perl/bin/perl-I/home/grid/deinstall/perl/lib-I/home/grid/
Deinstall/crs/install/home/grid/deinstall/crs/install/rootcrs. pl-force-delet
E-paramfile/home/grid/deinstall/response/deinstall_Ora11g_gridinfrahome1.rsp-
Lastnode
Now, uninstalling grid infrastructure is complete. No ohasd-related files are available in/etc/init. d.
For more information about Oracle, see Oracle topics page http://www.bkjia.com/topicnews.aspx? Tid = 12