Oracle 11g Grid Infrastructure 卸载(二)

2014-11-24 19:00:59 · 作者: · 浏览: 53
tory
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-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



---------------------------------------->


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


这个步骤中就是为了生成配置文件/home/grid/deinstall/response/deinstall_Ora11g_gridinfrahome1.rsp


第三步,使用root在节点上执行上一个步骤中生成的配置文件的perl脚本


/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


至此,卸载grid infrastructure工作结束。在/etc/init.d中也不会有ohasd相关的文件了。