先删除数据库,再删除集群软件
1、Deinstall Databasae
The Deinstallation Tool (deinstall) stops Oracle software, and removes Oracle software and configuration files on the operating system. It is available in the installation media before installation, and is available in Oracle home directories after installation. It is located in the path $ORACLE_HOME/deinstall.
根据官方的描述 :自动会停止Oracle软件服务,并删除所有配置文件。
[oracle@rac121 ~]$ cd $ORACLE_HOME/deinstall [oracle@rac121 deinstall]$ ll total 92 -rwxr-xr-x 1 oracle oinstall 9780 Jun 18 16:20 bootstrap.pl -rwxr-xr-x 1 oracle oinstall 9667 Jun 18 16:20 deinstall -rwxr-xr-x 1 oracle oinstall 18475 Jun 18 16:20 deinstall.pl -rw-r--r-- 1 oracle oinstall 3466 Jun 18 16:20 deinstall.xml drwxr-xr-x 2 oracle oinstall 4096 Jun 18 16:20 jlib -rw-r--r-- 1 oracle oinstall 409 Jun 18 16:20 readme.txt drwxr-xr-x 2 oracle oinstall 4096 Jun 18 16:20 response -rwxr-xr-x 1 oracle oinstall 32343 Jun 18 16:20 sshUserSetup.sh [oracle@rac121 deinstall]$ ./deinstall
2、Deinstall Grid Soft
[grid@rac121 data01]$ cd $ORACLE_HOME/deinstall [grid@rac121 deinstall]$ ll total 92 -rwxr-xr-x 1 grid oinstall 9780 May 10 2011 bootstrap.pl -rwxr-xr-x 1 grid oinstall 9653 Jun 18 14:56 deinstall -rwxr-xr-x 1 grid oinstall 18475 Jun 9 2011 deinstall.pl -rw-r--r-- 1 grid oinstall 3466 Aug 18 2010 deinstall.xml drwxr-xr-x 2 grid oinstall 4096 Jun 18 14:55 jlib -rw-r--r-- 1 grid oinstall 409 Aug 18 2010 readme.txt drwxr-xr-x 2 grid oinstall 4096 Jun 18 14:55 response -rwxr-xr-x 1 grid oinstall 32343 Dec 16 2009 sshUserSetup.sh [grid@rac121 deinstall]$ ./deinstall
本文提供Oracle数据库及集群软件的详细卸载步骤。首先通过DeinstallDatabase脚本停止服务并删除配置文件;接着使用DeinstallGridSoft卸载集群软件。确保遵循正确流程避免残留。
1万+

被折叠的 条评论
为什么被折叠?



