我们升级了rac系统,我想问一下,我可以删除旧的网格和数据库版本吗?
[oracle@orcl1 app]$ cd
11.2.0.3/ 12.1.0.2/ Middleware/ oraInventory/
11.2.0.4/ grid/ oracle/ swlib/
我想问我可以手动删除“rm 命令行命令”11.2.0.3/ 和 11.2.0.4 网格文件... oracle/product/11.2.0.3 数据库 ...
那是我的 inventory.xml
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2014, Oracle and/or its affiliates.
All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
<SAVED_WITH>12.1.0.2.0</SAVED_WITH>
<MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="OraDb11203_home1" LOC="/u01/app/oracle/product/11.2.0.3/dbhome_1" TYPE="O" IDX="2">
<NODE_LIST>
<NODE NAME="orcl1"/>
<NODE NAME="orcl2"/>
</NODE_LIST>
</HOME>
<HOME NAME="OraDb12102_home1" LOC="/u01/app/oracle/product/12.1.0.2/dbhome_1" TYPE="O" IDX="5">
<NODE_LIST>
<NODE NAME="orcl1"/>
<NODE NAME="orcl2"/>
</NODE_LIST>
</HOME>
<HOME NAME="OraGrid12102" LOC="/u01/app/12.1.0.2/grid" TYPE="O" IDX="4" CRS="true"/>
<HOME NAME="OraGrid11gR3" LOC="/u01/app/11.2.0.3/grid" TYPE="O" IDX="1" REMOVED="T"/>
<HOME NAME="OraGrid11gR204" LOC="/u01/app/11.2.0.4/grid" TYPE="O" IDX="3" REMOVED="T"/>
</HOME_LIST>
<COMPOSITEHOME_LIST>
</COMPOSITEHOME_LIST>
</INVENTORY>
编辑:我在 11.2.0.3 开始卸载工具。我不想删除网格 12.1.0.2,但我认为它可以删除 12.1.0.2 的网格。正确的?
######################### CHECK OPERATION START #########################
## [START] Install check configuration ##
Checking for existence of the Oracle home location /u01/app/oracle/product/11.2.0.3/dbhome_1
Oracle Home type selected for deinstall is: Oracle Real Application Cluster Database
Oracle Base selected for deinstall is: /u01/app/oracle
Checking for existence of central inventory location /u01/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /u01/app/12.1.0.2/grid
The following nodes are part of this cluster: orcl1,orcl2
Checking for sufficient temp space availability on node(s) : 'orcl1,orcl2'
## [END] Install check configuration ##
Network Configuration check config START
Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_check2015-11-02_08-53-27-AM.log
Network Configuration check config END
Database Check Configuration START
Database de-configuration trace file location: /u01/app/oraInventory/logs/databasedc_check2015-11-02_08-53-29-AM.log
Use comma as separator when specifying list of values as input
Specify the list of database names that are configured in this Oracle home []:
Oracle从Oracle 11开始提供了卸载工具。
它位于$ORACLE_HOME/deinstall/ (在您的例子中是旧Homes)。在 RAC 的情况下,它负责管理清单和远程主机。