Oracle 11g Grid Infrastructure 卸载(一)

2014-11-24 19:00:59 · 作者: · 浏览: 54

以linux系统为例,10g手工删除CRS的操作步骤:


在11g中,提供了一个卸载工具deinstall,如Linux系统下软件名称为linux.x64_11gR2_deinstall.zip。解压后可以直接使用。


第一步、使用grid用户登录操作系统,这个用户是grid infrastructure软件安装用户。


/home/grid/deinstall@serv2=>+ASM2$./deinstall
Location of logs /home/grid/deinstall/logs/


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


Usage:


deinstall -home
[ -silent ]
[ -checkonly ]
[ -local ]
[ -paramfile ]
[ -params ]
[ -o ]
[ -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 #############



第二步,使用deinstall -home /u01/app/11.2.0/grid 卸载安装了的文件


/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-configuring 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/oraInven