当前位置:文档之家› 5...oracle RAC 11.2.0.4卸载

5...oracle RAC 11.2.0.4卸载

一、dbca删除所有的数据库
说明:
1、$ORACLE_BASE/cfgtoollogs/dbca/DB_NAME中有相关的操作日志
2、主要包含数据库相关的文件,例如tnsnames.ora、TRACE、init.ora等配置
3、如果能够重新定义$ORACLE_BASE/HOME,并且diskgroup可以删除,那么也可以采取rm -rf $ORACLE_HOME、dd 的方法
二、删除ORACLE database software

su - oracle
$cd $ORACLE_HOME/deinstall
./deinstall

说明:
1、deinstall卸载包含数据库,直接删除$ORACLE_HOME,由于$ORACLE_BASE为$ORACLE_HOME上级目录,没有删除(admin/cfgtoollogs/diag等目录被清除。deinstall输出如下:
Detach Oracle home '/u01/app/oracle/product/11.2.0/db_1' from the central inventory on the local node : Done

Delete directory '/u01/app/oracle/product/11.2.0/db_1' on the local node : Done

The Oracle Base directory '/u01/app/oracle' will not be removed on local node. The directory is not empty.

Detach Oracle home '/u01/app/oracle/product/11.2.0/db_1' from the central inventory on the remote nodes 'xxfwb2' : Done

Delete directory '/u01/app/oracle/product/11.2.0/db_1' on the remote nodes 'xxfwb2' : Done

The Oracle Base directory '/u01/app/oracle' will not be removed on node 'xxfwb2'. The directory is not empty.
3、本例子中GI与DATABASE公用目录/u01/app,可考虑不删除下级目录oracle
rm -rf $ORACLE_BASE
cd $ORACLE_BASE
rm -rf admin cfgtoollogs diag
三、删除grid infrastructure
1、使用该版本自带的工具
1)使用grid用户进入执行以下命令:
su - grid
[grid@xxfwb1 ~]$ crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
ONLINE ONLINE xxfwb1
ONLINE ONLINE xxfwb2
ora.LISTENER.lsnr
ONLINE ONLINE xxfwb1
ONLINE ONLINE xxfwb2
ora.OCRVOT.dg
ONLINE ONLINE xxfwb1
ONLINE ONLINE xxfwb2
ora.asm
ONLINE ONLINE xxfwb1 Started
ONLINE ONLINE xxfwb2 Started
ora.gsd
OFFLINE OFFLINE xxfwb1
OFFLINE OFFLINE xxfwb2
https://www.doczj.com/doc/e28862992.html,work
ONLINE ONLINE xxfwb1
ONLINE ONLINE xxfwb2


ora.ons
ONLINE ONLINE xxfwb1
ONLINE ONLINE xxfwb2
ora.registry.acfs
ONLINE ONLINE xxfwb1
ONLINE ONLINE xxfwb2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE xxfwb2
ora.cvu
1 ONLINE ONLINE xxfwb2
ora.oc4j
1 OFFLINE OFFLINE
ora.scan1.vip
1 ONLINE ONLINE xxfwb2
ora.xxfwb1.vip
1 ONLINE ONLINE xxfwb1
ora.xxfwb2.vip
1 ONLINE ONLINE xxfwb2
[grid@xxfwb1 ~]$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.DATA.dg ora....up.type ONLINE ONLINE xxfwb1
ora....ER.lsnr ora....er.type ONLINE ONLINE xxfwb1
ora....N1.lsnr ora....er.type ONLINE ONLINE xxfwb2
ora.OCRVOT.dg ora....up.type ONLINE ONLINE xxfwb1
ora.asm ora.asm.type ONLINE ONLINE xxfwb1
ora.cvu ora.cvu.type ONLINE ONLINE xxfwb2
ora.gsd ora.gsd.type OFFLINE OFFLINE
https://www.doczj.com/doc/e28862992.html,work ora....rk.type ONLINE ONLINE xxfwb1
ora.oc4j ora.oc4j.type OFFLINE OFFLINE
ora.ons ora.ons.type ONLINE ONLINE xxfwb1
ora....ry.acfs ora....fs.type ONLINE ONLINE xxfwb1
ora.scan1.vip ora....ip.type ONLINE ONLINE xxfwb2
ora....SM1.asm application ONLINE ONLINE xxfwb1
ora....B1.lsnr application ONLINE ONLINE xxfwb1
ora.xxfwb1.gsd application OFFLINE OFFLINE
ora.xxfwb1.ons application ONLINE ONLINE xxfwb1
ora.xxfwb1.vip ora....t1.type ONLINE ONLINE xxfwb1
ora....SM2.asm application ONLINE ONLINE xxfwb2
ora....B2.lsnr application ONLINE ONLINE xxfwb2
ora.xxfwb2.gsd application OFFLINE OFFLINE
ora.xxfwb2.ons application ONLINE ONLINE xxfwb2
ora.xxfwb2.vip ora....t1.type ONLINE ONLINE xxfwb2

cd $ORACLE_HOME/deinstall
./deinstall

报错输出信息如下:
https://www.doczj.com/doc/e28862992.html,ng.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at https://www.doczj.com/doc/e28862992.html,ng.reflect.Method.invoke(Method.java:592)
at oracle.install.db.deinstall.wrapper.clusterDeconfig.callCheckImpl(clusterDeconfig.java:1053)
at oracle.install.db.deinstall.wrapper.clusterDeconfig.main(clusterDeconfig.java:501)
Caused by: oracle.ops.util.FatalException: Exited from Program.
at oracle.install.db.deinstall.core.CheckInstall.checkConfig(CheckInstall.java:436)
... 6 more
请另外开窗口执行/tmp/deinstall2015-12-21_06-52-46PM/sshUserSetup.sh -hosts "xxfwb1 xxfwb2" -user grid
输出结果报错如下:
[root@xxfwb1 ~]# /tmp/deinstall2015-12-21_06-52-46PM/sshUserSetup.sh -hosts "xxfwb1 xxfwb2" -user grid
-bash: /tmp/deinstall2015-12-21_06-52-46PM/sshUserSetup.sh: No such file or directory
检查发现SSH信任被破坏,重建SSH信任

重新运行deinstall结果如下:
[grid@xxfwb1 deinstall]$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /u01/app/oraInventory/logs/

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


######################### CHECK OPERATION START #########################
## [START] Install check configuration ##


Checking for existence of the Oracle home location /u01/app/11.2.0/grid
Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Cluster
Oracle Base selected for deinstall 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/grid
The following nodes are part of this cluster: xxfwb1,xxfwb2
Checking for sufficient temp space availability on node(s) : 'xxfwb1,xxfwb2'

## [END] Install check configuration ##

Traces log file: /u01/app/oraInventory/logs//crsdc.log

Network Configuration check config START

Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_check2015-12-21_07-00-32-PM.log

Specify all RAC listeners (do not include SCAN listener) that are to be de-configured [LISTENER]:

Network Configuration check config END

Asm Check Configuration START

ASM de-configuration trace file location: /u01/app/oraInventory/logs/asmcadc_check2015-12-21_07-00-44-PM.log

Automatic Storage Management (ASM) instance is detected in this Oracle home /u01/app/11.2.0/grid.
ASM Diagnostic Destination : /u01/app/grid
ASM Diskgroups : +DATA,+OCRVOT
ASM diskstring : /dev/raw/*
Diskgroups will be dropped
De-configuring ASM will drop all the diskgroups and it's contents at cleanup time. This will affect all of the databases and ACFS that use this ASM instance(s).
If you want to retain the existing diskgroups or if any of the information detected is incorrect, you can modify by entering 'y'. Do you want to modify above information (y|n) [n]: n

######################### 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 deinstallation will be performed are:xxfwb1,xxfwb2
Oracle Home selected for deinstall is: /u01/app/11.2.0/grid
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
Following RAC listener(s) will be de-configured: LISTENER
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: '/u01/app/oraInventory/logs/deinstall_deconfig2015-12-21_07-00-24-PM.out'
Any error messages from this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2015-12-21_07-00-24-PM.err'

######################## CLEAN OPERATION START ########################
ASM de-configuration trace file location: /u01/app/oraInventory/logs/asmcadc_clean2015-12-21_07-00-55-PM.log
ASM Clean Configuration START
ASM Clean Configuration END

Network Configuration clean config START

Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_clean2015-12-21_07-01-16-PM.log

De-configuring RAC listener(s): LISTENER

De-configuring listener: LISTENER
Stopping listener: LISTENER
Listener stopped successfully.
Unregistering listener: LISTENER
Listener unregistered successfully.
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.

Run the following command as the root user or the administrator on node "xxfwb2".

/tmp/deinstall2015-12-21_07-00-17PM/perl/bin/perl -I/tmp/deinstall2015-12-21_07-00-17PM/perl/lib -I/tmp/deinstall2015-12-21_07-00-17PM/crs/install /tmp/deinstall2015-12-21_07-00-17PM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2015-12-21_07-00-17PM/response/deinstall_Ora11g_gridinfrahome1.rsp"

Run the following command as the root user or the administrator on node "xxfwb1".

/tmp/deinstall2015-12-21_07-00-17PM/perl/bin/perl -I/tmp/deinstall2015-12-21_07-00-17PM/perl/lib -I/tmp/deinstall2015-12-21_07-00-17PM/crs/install /tmp/deinstall2015-12-21_07-00-17PM/crs/install/root

crs.pl -force -deconfig -paramfile "/tmp/deinstall2015-12-21_07-00-17PM/response/deinstall_Ora11g_gridinfrahome1.rsp" -lastnode

Press Enter after you finish running the above commands

<----------------------------------------
并按照其要求在节点2和节点1上运行:
节点2:
[root@xxfwb2 ~]# /tmp/deinstall2015-12-21_07-00-17PM/perl/bin/perl -I/tmp/deinstall2015-12-21_07-00-17PM/perl/lib -I/tmp/deinstall2015-12-21_07-00-17PM/crs/install /tmp/deinstall2015-12-21_07-00-17PM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2015-12-21_07-00-17PM/response/deinstall_Ora11g_gridinfrahome1.rsp"
Using configuration parameter file: /tmp/deinstall2015-12-21_07-00-17PM/response/deinstall_Ora11g_gridinfrahome1.rsp
Network exists: 1/10.85.23.64/255.255.255.192/eth2, type static
VIP exists: /xxfwb1-vip/10.85.23.113/10.85.23.64/255.255.255.192/eth2, hosting node xxfwb1
VIP exists: /xxfwb2-vip/10.85.23.116/10.85.23.64/255.255.255.192/eth2, hosting node xxfwb2
GSD exists
ONS exists: Local port 6100, remote port 6200, EM port 2016
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'xxfwb2'
CRS-2677: Stop of 'ora.registry.acfs' on 'xxfwb2' succeeded
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'xxfwb2'
CRS-2673: Attempting to stop 'ora.crsd' on 'xxfwb2'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'xxfwb2'
CRS-2673: Attempting to stop 'ora.asm' on 'xxfwb2'
CRS-2677: Stop of 'ora.asm' on 'xxfwb2' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'xxfwb2' has completed
CRS-2677: Stop of 'ora.crsd' on 'xxfwb2' succeeded
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'xxfwb2'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'xxfwb2'
CRS-2673: Attempting to stop 'ora.ctssd' on 'xxfwb2'
CRS-2673: Attempting to stop 'ora.evmd' on 'xxfwb2'
CRS-2673: Attempting to stop 'ora.asm' on 'xxfwb2'
CRS-2677: Stop of 'ora.evmd' on 'xxfwb2' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'xxfwb2' succeeded
CRS-2677: Stop of 'ora.asm' on 'xxfwb2' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'xxfwb2'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'xxfwb2' succeeded
CRS-2677: Stop of 'ora.drivers.acfs' on 'xxfwb2' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'xxfwb2' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'xxfwb2'
CRS-2677: Stop of 'ora.cssd' on 'xxfwb2' succeeded
CRS-2673: Attempting to stop 'ora.crf' on 'xxfwb2'
CRS-2677: Stop of 'ora.crf' on 'xxfwb2' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'xxfwb2'
CRS-2677: Stop of 'ora.gipcd' on 'xxfwb2' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'xxfwb2'
CRS-2677: Stop of 'ora.gpnpd' on 'xxfwb2' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'xxfwb2' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Removing Trace File Analyzer
Successfully decon

figured Oracle clusterware stack on this node

节点1:

[root@xxfwb1 ~]# /tmp/deinstall2015-12-21_07-00-17PM/perl/bin/perl -I/tmp/deinstall2015-12-21_07-00-17PM/perl/lib -I/tmp/deinstall2015-12-21_07-00-17PM/crs/install /tmp/deinstall2015-12-21_07-00-17PM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2015-12-21_07-00-17PM/response/deinstall_Ora11g_gridinfrahome1.rsp" -lastnode
Using configuration parameter file: /tmp/deinstall2015-12-21_07-00-17PM/response/deinstall_Ora11g_gridinfrahome1.rsp
Network exists: 1/10.85.23.64/255.255.255.192/eth2, type static
VIP exists: /xxfwb1-vip/10.85.23.113/10.85.23.64/255.255.255.192/eth2, hosting node xxfwb1
GSD exists
ONS exists: Local port 6100, remote port 6200, EM port 2016
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'xxfwb1'
CRS-2677: Stop of 'ora.registry.acfs' on 'xxfwb1' succeeded
CRS-2673: Attempting to stop 'ora.crsd' on 'xxfwb1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'xxfwb1'
CRS-2673: Attempting to stop 'ora.asm' on 'xxfwb1'
CRS-2677: Stop of 'ora.asm' on 'xxfwb1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'xxfwb1' has completed
CRS-2677: Stop of 'ora.crsd' on 'xxfwb1' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'xxfwb1'
CRS-2673: Attempting to stop 'ora.evmd' on 'xxfwb1'
CRS-2673: Attempting to stop 'ora.asm' on 'xxfwb1'
CRS-2677: Stop of 'ora.evmd' on 'xxfwb1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'xxfwb1' succeeded
CRS-2677: Stop of 'ora.asm' on 'xxfwb1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'xxfwb1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'xxfwb1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'xxfwb1'
CRS-2677: Stop of 'ora.cssd' on 'xxfwb1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'xxfwb1'
CRS-2676: Start of 'ora.cssdmonitor' on 'xxfwb1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'xxfwb1'
CRS-2672: Attempting to start 'ora.diskmon' on 'xxfwb1'
CRS-2676: Start of 'ora.diskmon' on 'xxfwb1' succeeded
CRS-2676: Start of 'ora.cssd' on 'xxfwb1' succeeded
CRS-4611: Successful deletion of voting disk +OCRVOT.
ASM de-configuration trace file location: /u01/app/oraInventory/logs/asmcadc_clean2015-12-21_07-14-03-PM.log
ASM Clean Configuration START
ASM Clean Configuration END

ASM with SID +ASM1 deleted successfully. Check /u01/app/oraInventory/logs/asmcadc_clean2015-12-21_07-14-03-PM.log for details.

CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'xxfwb1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'xxfwb1'
CRS-2673: Attempting to stop 'ora.crf' on 'xxfwb1'
CRS-2673: Attempting to stop 'ora.ctssd' on 'xxfwb1'
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'xxfwb1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'xxfwb1' succeeded
CRS-2677: Stop of 'ora.crf' on 'xxfwb1' succeeded
CRS-2677: Stop of

'ora.mdnsd' on 'xxfwb1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'xxfwb1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'xxfwb1'
CRS-2677: Stop of 'ora.cssd' on 'xxfwb1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'xxfwb1'
CRS-2677: Stop of 'ora.gipcd' on 'xxfwb1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'xxfwb1'
CRS-2677: Stop of 'ora.gpnpd' on 'xxfwb1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'xxfwb1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Removing Trace File Analyzer
Successfully deconfigured Oracle clusterware stack on this node

随后回到节点1上执行回车符
Press Enter after you finish running the above commands

<----------------------------------------

Setting the force flag to false
Setting the force flag to cleanup the Oracle Base
Oracle Universal Installer clean START


Detach Oracle home '/u01/app/11.2.0/grid' from the central inventory on the local node : Done

Delete directory '/u01/app/11.2.0/grid' on the local node : Done

Failed to delete the directory '/u01/app/grid/cfgtoollogs/asmca'. The directory is in use.
Failed to delete the directory '/u01/app/grid/cfgtoollogs'. The directory is not empty.
Failed to delete the directory '/u01/app/grid/cfgtoollogs/asmca'. The directory is in use.
Failed to delete the directory '/u01/app/grid/cfgtoollogs'. The directory is not empty.
Failed to delete the directory '/u01/app/grid'. The directory is not empty.
Delete directory '/u01/app/grid' on the local node : Failed <<<<

Detach Oracle home '/u01/app/11.2.0/grid' from the central inventory on the remote nodes 'xxfwb2' : Done

Delete directory '/u01/app/11.2.0/grid' on the remote nodes 'xxfwb2' : Done

Delete directory '/u01/app/grid' on the remote nodes 'xxfwb2' : Done

Oracle Universal Installer cleanup completed with errors.

Oracle Universal Installer clean END


## [START] Oracle install clean ##

Clean install operation removing temporary directory '/tmp/deinstall2015-12-21_07-00-17PM' on node 'xxfwb1'
Clean install operation removing temporary directory '/tmp/deinstall2015-12-21_07-00-17PM' on node 'xxfwb2'

## [END] Oracle install clean ##


######################### CLEAN OPERATION END #########################


####################### CLEAN OPERATION SUMMARY #######################
ASM instance was de-configured successfully from the Oracle home
Following RAC listener(s) were de-configured successfully: LISTENER
Oracle Clusterware is stopped and successfully de-configured on node "xxfwb2"
Oracle Clusterware is stopped and successfully de-configured on node "xxfwb1"
Oracle Clusterware is stopped and de-configured successfully.
Successfully detached Oracle home '/u01/app/11.2.0/grid' from the central inventory on the local node.
Successfully deleted directory '/u01/app/11.2.0/grid' on the local node.
Failed to delete directory '/u01/app/grid' on t

he local node.
Successfully detached Oracle home '/u01/app/11.2.0/grid' from the central inventory on the remote nodes 'xxfwb2'.
Successfully deleted directory '/u01/app/11.2.0/grid' on the remote nodes 'xxfwb2'.
Successfully deleted directory '/u01/app/grid' on the remote nodes 'xxfwb2'.
Oracle Universal Installer cleanup completed with errors.

Run 'rm -rf /opt/ORCLfmap' as root on node(s) 'xxfwb1,xxfwb2' at the end of the session.
Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################


############# ORACLE DEINSTALL & DECONFIG TOOL END #############

说明:
1)部分目录因为权限的原因无法完全删除或根据提示删除ORCLfmap,采用手工删除
#rm -rf /u01/app/grid
#rm -rf /opt/ORCLfmap
2)oraInventory 中包含原来手工删除的db home还有本机安装的em 12c,故不做删除,重新安装数据库时注意命名规范
3)检查以下目录,均已完全删除
[root@xxfwb2 app]# ls -al /etc/init.ohasd
ls: cannot access /etc/init.ohasd: No such file or directory
[root@xxfwb2 app]# ls -al /etc/oracle
ls: cannot access /etc/oracle: No such file or directory
[root@xxfwb2 app]# ls -al /usr/tmp/.oracle
ls: cannot access /usr/tmp/.oracle: No such file or directory
[root@xxfwb2 app]# ls -al /var/tmp/.oracle
ls: cannot access /var/tmp/.oracle: No such file or directory
[root@xxfwb1 ~]# cat /etc/oratab
cat: /etc/oratab: No such file or directory
4)删除卸载的日志记录信息
cd /tmp
rm -rf deinstall2015-12-21_0*
5)删除/usr/local/bin/ dbhome\coraenv\oraenv 等


方法2:
下载p1*******_112040_Linux-x86-64_7of7.zip
3)解压p1*******_112040_Linux-x86-64_7of7.zip,并使用以下命令卸载
./deinstall -home /u01/app/11.2.0/grid


四、dd磁盘组中的所有磁盘
dd if=/dev/zero of=/dev/raw/raw1 bs=1M
dd if=/dev/zero of=/dev/raw/raw2 bs=1M
dd if=/dev/zero of=/dev/raw/raw3 bs=1M
dd if=/dev/zero of=/dev/raw/raw4 bs=1M

相关主题
文本预览
相关文档 最新文档