oracle11g R2 RAC卸载grid(四)
#############
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.
/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 就可以回车了)
<----------------------------------------
执行一个节点脚本为例子:
进入节点执行上述命令(节点2 为例子)
cd /tmp
vi xyy.sh
插入如下内容:
/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"
chmod u+x xyy.sh
[root@xyy2 tmp]# ./xyy.sh
Using configuration parameter file: /tmp/deinstall2013-09-06_10-28-22AM/response/deinstall_Ora11g_gridinfrahome1.rsp
CRS-5702: Resource 'ora.cssd' is already running on 'xyy2'
CRS-4000: Command Start failed, or comple