如果Unstall 11g R2 Grid

from :http://space.itpub.net/175005/viewspace-629702
Oracle 11g R2 安装过程中,可以有 2 中为 SCAN 配置域的方式,一个是通过 GNS ,一个是通过 DNS 解析,如果选择 GNS, 但没有配置 DHCP ,就会报下面错误:
[root@rac1 crsconfig]# tail -f rootcrs_rac1.log
2009-12-08 16:47:18: output for start nodeapps is PRCR-1079 :
ora.rac1.vip CRS-5015: Agent timed out waiting for a response from the DHCP server CRS-2674: Start of 'ora.rac1.vip' on 'rac1' failed CRS-2632: There are no more servers to try to place resource 'ora.rac1.vip' on that would satisfy its placement policy
2009-12-08 16:47:18: output of startnodeapp after removing already started mesgs is
ora.rac1.vip CRS-5015: Agent timed out waiting for a response from the DHCP server CRS-2674: Start of 'ora.rac1.vip' on 'rac1' failed CRS-2632: There are no more servers to try to place resource 'ora.rac1.vip' on that would satisfy its placement policy
2009-12-08 16:47:18: /u01/grid11g/bin/srvctl start nodeapps -n rac1 ... failed
2009-12-08 16:47:18: Install cvuqdisk rpm on Linux...
2009-12-08 16:47:18: New package to install is /u01/grid11g/cv/rpm/cvuqdisk-1.0.7-1.rpm
2009-12-08 16:47:18: Invoking "/bin/rpm -q cvuqdisk" command
2009-12-08 16:47:19: no existing cvuqdisk found
2009-12-08 16:47:19: removing old rpm
2009-12-08 16:47:20: installing/upgrading new rpm
2009-12-08 16:47:22: Configure Oracle Grid Infrastructure for a Cluster ... failed
 
这个时候,即使是配置了 DNS ,可以解析 VIP SCAN-VIP ,还是需要配置 DHCP ,如果不配置 DHCP ,只能重装 Grid, 下面是 Unstall 过程:
 
 
在第一个节点执行:
[root@rac1 install]# pwd
/u01/grid11g/crs/install
[root@rac1 install]# ./roothas.pl -delete -force -verbose
2010-03-17 13:26:15: Checking for super user privileges
2010-03-17 13:26:15: User has super user privileges
2010-03-17 13:26:15: Parsing the host name
Using configuration parameter file: ./crsconfig_params
CRS resources for listeners are still configured
CRS-2613: Could not find resource 'ora.cssd'.
CRS-4000: Command Stop failed, or completed with errors.
CRS-2613: Could not find resource 'ora.cssd'.
CRS-4000: Command Delete failed, or completed with errors.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rac1'
CRS-2673: Attempting to stop 'ora.crsd' on 'rac1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'rac1'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'rac1'
CRS-2677: Stop of 'ora.DATA.dg' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'rac1'
CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.eons' on 'rac1'
CRS-2673: Attempting to stop 'ora.ons' on 'rac1'
CRS-2677: Stop of 'ora.ons' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'rac1'
CRS-2677: Stop of 'ora.net1.network' on 'rac1' succeeded
CRS-2677: Stop of 'ora.eons' on 'rac1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'rac1' has completed
CRS-2677: Stop of 'ora.crsd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rac1'
CRS-2673: Attempting to stop 'ora.ctssd' on 'rac1'
CRS-2673: Attempting to stop 'ora.evmd' on 'rac1'
CRS-2673: Attempting to stop 'ora.asm' on 'rac1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'rac1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'rac1' succeeded
CRS-2677: Stop of 'ora.evmd' on 'rac1' succeeded
CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rac1'
CRS-2677: Stop of 'ora.cssd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac1'
CRS-2673: Attempting to stop 'ora.diskmon' on 'rac1'
CRS-2677: Stop of 'ora.gpnpd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rac1'
CRS-2677: Stop of 'ora.gipcd' on 'rac1' succeeded
CRS-2677: Stop of 'ora.diskmon' on 'rac1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'rac1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
ADVM/ACFS is not supported on Redhat 4
ACFS-9201: Not Supported
Successfully deconfigured Oracle Restart stack
 
 
检查是否删除成功:
[root@rac1 crsconfig]# tail -f hadelete.log
2010-03-17 13:27:26: Removing file /etc/inittab.crs
2010-03-17 13:27:26:
2010-03-17 13:27:26: Successfully removed file: /etc/inittab.crs
2010-03-17 13:27:26: Opening permissions on Oracle Restart home
2010-03-17 13:27:40: Setting owner (oracle:500), group (oinstall:500), and permissions (755) on file olrconfig_loc=/u01/grid11g/cdata/rac1.olr
 
 
2010-03-17 13:27:40: Setting owner (oracle:500) and group (oinstall:500) on file /u01
2010-03-17 13:27:40: Setting permissions (0755) on file/dir /u01
2010-03-17 13:27:40: Successfully deconfigured Oracle Restart stack
 
在第 2 个节点看 CRS 服务:
[root@rac2 bin]# ./crs_stat -t
Name          Type          Target   State    Host       
------------------------------------------------------------
ora.DATA.dg   ora....up.type ONLINE   ONLINE   rac2       
ora.DATA2.dg  ora....up.type OFFLINE  OFFLINE              
ora.FLASH.dg  ora....up.type OFFLINE  OFFLINE              
ora....N1.lsnr ora....er.type OFFLINE  OFFLINE              
ora.asm       ora.asm.type  ONLINE   ONLINE   rac2       
ora.eons      ora.eons.type ONLINE   OFFLINE              
ora.gsd       ora.gsd.type  OFFLINE  OFFLINE              
ora....network ora....rk.type ONLINE   ONLINE   rac2       
ora.oc4j      ora.oc4j.type OFFLINE  OFFLINE              
ora.ons       ora.ons.type  ONLINE   ONLINE   rac2       
ora.rac1.vip  ora....t1.type OFFLINE  OFFLINE              
ora....SM2.asm application   ONLINE   ONLINE   rac2       
ora.rac2.gsd  application   OFFLINE  OFFLINE              
ora.rac2.ons  application   ONLINE   ONLINE   rac2       
ora.rac2.vip  ora....t1.type ONLINE   OFFLINE              
ora.scan1.vip ora....ip.type ONLINE   OFFLINE
 
 
初始只在第 1 个节点 Unstall, 千万不要再最后一个节点执行。如果其他节点都执行完 ./roothas.pl -delete -force �Cverbose  再最后一个节点,执行下面命令
 
[root@rac2 install]# ./rootcrs.pl -verbose -deconfig -force -lastnode
2010-03-17 13:32:03: Parsing the host name
2010-03-17 13:32:03: Checking for super user privileges
2010-03-17 13:32:03: User has super user privileges
Using configuration parameter file: ./crsconfig_params
PRCC-1016 : LISTENER_SCAN1 was already stopped
 
PRCS-1065 : GNS is not configured.
VIP exists.:rac1
VIP exists.: //192.168.2.131/255.255.255.0/eth1
VIP exists.:rac2
VIP exists.: //192.168.2.132/255.255.255.0/eth1
GSD exists.
ONS daemon exists. Local port 6100, remote port 6200
eONS daemon exists. Multicast port 18359, multicast IP address 234.178.17.118, listening port 2016
ADVM/ACFS is not supported on Redhat 4
ACFS-9201: Not Supported
CRS-2673: Attempting to stop 'ora.crsd' on 'rac2'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'rac2'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'rac2'
CRS-2677: Stop of 'ora.DATA.dg' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'rac2'
CRS-2677: Stop of 'ora.asm' on 'rac2' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'rac2' has completed
CRS-2677: Stop of 'ora.crsd' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rac2'
CRS-2673: Attempting to stop 'ora.ctssd' on 'rac2'
CRS-2673: Attempting to stop 'ora.evmd' on 'rac2'
CRS-2673: Attempting to stop 'ora.asm' on 'rac2'
CRS-2677: Stop of 'ora.cssdmonitor' on 'rac2' succeeded
CRS-2677: Stop of 'ora.evmd' on 'rac2' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'rac2' succeeded
CRS-2677: Stop of 'ora.asm' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rac2'
CRS-2677: Stop of 'ora.cssd' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.diskmon' on 'rac2'
CRS-2677: Stop of 'ora.diskmon' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac2'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac2'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac2'
CRS-2676: Start of 'ora.diskmon' on 'rac2' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac2' succeeded
CRS-4611: Successful deletion of voting disk +DATA.
CRS-2672: Attempting to start 'ora.ctssd' on 'rac2'
CRS-2676: Start of 'ora.ctssd' on 'rac2' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'rac2'
CRS-2676: Start of 'ora.asm' on 'rac2' succeeded
ASM de-configuration trace file location: /u01/app/oracle/cfgtoollogs/asmca/asmcadc_clean1490315093534763216.log
ASM Clean Configuration START
ASM Clean Configuration END
 
ASM with SID +ASM1 deleted successfully. Check /u01/app/oracle/cfgtoollogs/asmca/asmcadc_clean1490315093534763216.log for details.
 
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rac2'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac2'
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rac2'
CRS-2673: Attempting to stop 'ora.ctssd' on 'rac2'
CRS-2673: Attempting to stop 'ora.asm' on 'rac2'
CRS-2677: Stop of 'ora.cssdmonitor' on 'rac2' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'rac2' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'rac2' succeeded
CRS-2677: Stop of 'ora.asm' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rac2'
CRS-2677: Stop of 'ora.cssd' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac2'
CRS-2673: Attempting to stop 'ora.diskmon' on 'rac2'
CRS-2677: Stop of 'ora.gpnpd' on 'rac2' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rac2'
CRS-2677: Stop of 'ora.gipcd' on 'rac2' succeeded
CRS-2677: Stop of 'ora.diskmon' on 'rac2' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'rac2' has completed
CRS-4133: Oracle High Availability Services has been stopped.
error: package cvuqdisk is not installed
Successfully deconfigured Oracle clusterware stack on this node
 
最后一个节点会清空 OCR VD 信息。
 
如果这时又重新配置了 DHCP 服务器,可以在所有节点直接运行 root.sh 进行重新配置:
[root@rac1 grid11g]# pwd
/u01/grid11g
[root@rac1 grid11g]# ./root.sh
Running Oracle 11g root.sh script...
 
The following environment variables are set as:
   ORACLE_OWNER= oracle
   ORACLE_HOME= /u01/grid11g
 
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
  Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
  Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
  Copying coraenv to /usr/local/bin ...
 
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2010-03-17 13:43:50: Parsing the host name
2010-03-17 13:43:50: Checking for super user privileges
2010-03-17 13:43:50: User has super user privileges
Using configuration parameter file: /u01/grid11g/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
ADVM/ACFS is not supported on Redhat 4
 
CRS-2672: Attempting to start 'ora.gipcd' on 'rac1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1'
CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1'
CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'rac1'
CRS-2676: Start of 'ora.ctssd' on 'rac1' succeeded
 
ASM created and started successfully.
 
DiskGroup DATA created successfully.
 
clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-2672: Attempting to start 'ora.crsd' on 'rac1'
CRS-2676: Start of 'ora.crsd' on 'rac1' succeeded
Successful addition of voting disk 3b7a99d396454f7bbfc4da6be4d8f28b.
Successfully replaced voting disk group with +DATA.
CRS-4266: Voting file(s) successfully replaced
## STATE   File Universal Id               File Name Disk group
-- -----   -----------------               --------- ---------
 1. ONLINE  3b7a99d396454f7bbfc4da6be4d8f28b (/dev/raw/raw4) [DATA]
Located 1 voting disk(s).
CRS-2673: Attempting to stop 'ora.crsd' on 'rac1'
CRS-2677: Stop of 'ora.crsd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'rac1'
CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'rac1'
CRS-2677: Stop of 'ora.ctssd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rac1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rac1'
CRS-2677: Stop of 'ora.cssd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac1'
CRS-2677: Stop of 'ora.gpnpd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rac1'
CRS-2677: Stop of 'ora.gipcd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac1'
CRS-2677: Stop of 'ora.mdnsd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1'
CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'rac1'
CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1'
CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'rac1'
CRS-2676: Start of 'ora.ctssd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'rac1'
CRS-2676: Start of 'ora.asm' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'rac1'
CRS-2676: Start of 'ora.crsd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'rac1'
CRS-2676: Start of 'ora.evmd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'rac1'
CRS-2676: Start of 'ora.asm' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.DATA.dg' on 'rac1'
CRS-2676: Start of 'ora.DATA.dg' on 'rac1' succeeded
/u01/grid11g/bin/srvctl start nodeapps -n rac1 ... failed
Configure Oracle Grid Infrastructure for a Cluster ... failed
Updating inventory properties for clusterware
Starting Oracle Universal Installer...
 
Checking swap space: must be greater than 500 MB.  Actual 1587 MB   Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
 
 
Checking swap space: must be greater than 500 MB.  Actual 1587 MB   Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.
 
 
如果不想用 GNS ,那么下面 Unstall GridInfrastructure Cluster
'/bin/hostname -s'-> pwd
/u01/grid11g/deinstall
'/bin/hostname -s'-> ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /u01/app/oraInventory/logs/
 
############ ORACLE DEINSTALL & DECONFIG TOOL START ############
 
 
######################## CHECK OPERATION START ########################
Install check configuration START
 
 
Checking for existence of the Oracle home location /u01/grid11g
Oracle Home type selected for de-install is: CRS
Oracle Base selected for de-install is: /u01/app/oracle
Checking for existence of central inventory location /u01/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home
The following nodes are part of this cluster: rac1,rac2
 
Install check configuration END
 
Traces log file: /u01/app/oraInventory/logs//crsdc.log
Enter an address or the name of the virtual IP used on node "rac1"[rac1-vip]
 >
192.168.2.31
The following information can be collected by running ifconfig -a on node "rac1"
Enter the IP netmask of Virtual IP "192.168.2.31" on node "rac1"[255.255.255.0]
 >
255.255.255.0
Enter the network interface name on which the virtual IP address "192.168.2.31" is active
 >
eth1
Enter an address or the name of the virtual IP used on node "rac2"[rac2-vip]
 >
192.168.2.32
The following information can be collected by running ifconfig -a on node "rac2"
Enter the IP netmask of Virtual IP "192.168.2.32" on node "rac2"[255.255.255.0]
 >
255.255.255.0
Enter the network interface name on which the virtual IP address "192.168.2.32" is active[eth1]
 >
eth1
Enter an address or the name of the virtual IP[]
 >
192.168.2.135
The following information can be collected by running ifconfig -a on node "rac1"
Enter the IP netmask of the virtual IP "192.168.2.135"[]
 >
255.255.255.0
Enter the network interface name on which the virtual IP address "192.168.2.135" is active
 >
eth1
Enter an address or the name of the virtual IP[]
 >
192.168.2.136
The following information can be collected by running ifconfig -a on node "rac1"
Enter the IP netmask of the virtual IP "192.168.2.136"[255.255.255.0]
 >
255.255.255.0
Enter the network interface name on which the virtual IP address "192.168.2.136" is active[eth1]
 >
eth1
Enter an address or the name of the virtual IP[]
 >
192.168.2.137
The following information can be collected by running ifconfig -a on node "rac1"
Enter the IP netmask of the virtual IP "192.168.2.137"[255.255.255.0]
 >
255.255.255.0
Enter the network interface name on which the virtual IP address "192.168.2.137" is active[eth1]
 >
eth1
Enter an address or the name of the virtual IP[]
 >
 
 
Network Configuration check config START
 
Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_check2557947214118434840.log
 
Network Configuration check config END
 
Asm Check Configuration START
 
ASM de-configuration trace file location: /u01/app/oraInventory/logs/asmcadc_check6832761515967276605.log
 
 
######################### CHECK OPERATION END #########################
 
 
####################### CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is:
The cluster node(s) on which the Oracle home exists are: (Please input nodes seperated by ",", eg: node1,node2,...)rac1,rac2
Oracle Home selected for de-install is: /u01/grid11g
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
ASM was not detected in the 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_deconfig2010-03-17_02-03-09-PM.out'
Any error messages from this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2010-03-17_02-03-09-PM.err'
 
######################## CLEAN OPERATION START ########################
ASM de-configuration trace file location: /u01/app/oraInventory/logs/asmcadc_clean5885000535777047588.log
ASM Clean Configuration END
 
Network Configuration clean config START
 
Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_clean7357038860380386391.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
 
 
---------------------------------------->
Oracle Universal Installer clean START
 
Detach Oracle home '/u01/grid11g' from the central inventory on the local node : Done
 
Delete directory '/u01/grid11g' on the local node : Done
 
Failed to delete the directory '/u01/app/oracle/cfgtoollogs/asmca'. The directory is in use.
Failed to delete the directory '/u01/app/oracle/cfgtoollogs'. The directory is not empty.
The Oracle Base directory '/u01/app/oracle' will not be removed on local node. The directory is not empty.
 
Detach Oracle home '/u01/grid11g' from the central inventory on the remote nodes 'rac2' : Done
 
Delete directory '/u01/grid11g' on the remote nodes 'rac2' : Done
 
The Oracle Base directory '/u01/app/oracle' will not be removed on node 'rac2'. The directory is not empty.
 
Oracle Universal Installer cleanup was successful.
 
Oracle Universal Installer clean END
 
 
Oracle install clean START
 
Clean install operation removing temporary directory '/tmp/install' on node 'rac1'
Clean install operation removing temporary directory '/tmp/install' on node 'rac2'
 
Oracle install clean END
 
Moved default properties file /tmp/deinstall2010-03-17_02-02-05-PM/response/deinstall_Ora11g_gridinfrahome1.rsp as /tmp/deinstall2010-03-17_02-02-05-PM/response/deinstall_Ora11g_gridinfrahome1.rsp4
 
######################### CLEAN OPERATION END #########################
 
 
####################### CLEAN OPERATION SUMMARY #######################
Oracle Clusterware was already stopped and de-configured on node "rac2"
Oracle Clusterware was already stopped and de-configured on node "rac1"
Oracle Clusterware is stopped and de-configured successfully.
Successfully detached Oracle home '/u01/grid11g' from the central inventory on the local node.
Successfully deleted directory '/u01/grid11g' on the local node.
Successfully detached Oracle home '/u01/grid11g' from the central inventory on the remote nodes 'rac2'.
Successfully deleted directory '/u01/grid11g' on the remote nodes 'rac2'.
Oracle Universal Installer cleanup was successful.
 
Oracle install successfully cleaned up the temporary directories.
#######################################################################
 
 
############# ORACLE DEINSTALL & DECONFIG TOOL END #############
 
 
 
如果也想卸载数据库软件,执行下面的命令:
 
'/bin/hostname -s'-> ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
 
Location of logs /tmp/deinstall2010-03-17_02-17-27-PM/logs/
 
############ ORACLE DEINSTALL & DECONFIG TOOL START ############
 
 
######################## CHECK OPERATION START ########################
Install check configuration START
 
 
Checking for existence of the Oracle home location /u01/product/11.2.0/dbhome_1
Oracle Home type selected for de-install is: RACDB
Oracle Base selected for de-install is: /u01
Checking for existence of central inventory location /u01/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home
The following nodes are part of this cluster: rac1,rac2
 
Install check configuration END
 
 
Network Configuration check config START
 
Network de-configuration trace file location: /tmp/deinstall2010-03-17_02-17-27-PM/logs/netdc_check1995814098742212905.log
 
Network Configuration check config END
 
Database Check Configuration START
 
Database de-configuration trace file location: /tmp/deinstall2010-03-17_02-17-27-PM/logs/databasedc_check4483036610411212523.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 []: Database Check Configuration END
 
Enterprise Manager Configuration Assistant START
 
EMCA de-configuration trace file location: /tmp/deinstall2010-03-17_02-17-27-PM/logs/emcadc_check.log
 
Enterprise Manager Configuration Assistant END
Oracle Configuration Manager check START
OCM check log file location : /tmp/deinstall2010-03-17_02-17-27-PM/logs//ocm_check6863.log
Oracle Configuration Manager check END
 
######################### CHECK OPERATION END #########################
 
 
####################### CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is:
The cluster node(s) on which the Oracle home exists are: (Please input nodes seperated by ",", eg: node1,node2,...)rac1,rac2
Oracle Home selected for de-install is: /u01/product/11.2.0/dbhome_1
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
No Enterprise Manager configuration to be updated for any database(s)
No Enterprise Manager ASM targets to update
No Enterprise Manager listener targets to migrate
Checking the config status for CCR
rac1 : Oracle Home exists with CCR directory, but CCR is not configured
rac2 : Oracle Home exists with CCR directory, but CCR is not configured
CCR check is finished
Do you want to continue (y - yes, n - no)? [n]: y
A log of this session will be written to: '/tmp/deinstall2010-03-17_02-17-27-PM/logs/deinstall_deconfig2010-03-17_02-20-54-PM.out'
Any error messages from this session will be written to: '/tmp/deinstall2010-03-17_02-17-27-PM/logs/deinstall_deconfig2010-03-17_02-20-54-PM.err'
 
######################## CLEAN OPERATION START ########################
 
Enterprise Manager Configuration Assistant START
 
EMCA de-configuration trace file location: /tmp/deinstall2010-03-17_02-17-27-PM/logs/emcadc_clean.log
 
Updating Enterprise Manager ASM targets (if any)
Updating Enterprise Manager listener targets (if any)
Enterprise Manager Configuration Assistant END
Database de-configuration trace file location: /tmp/deinstall2010-03-17_02-17-27-PM/logs/databasedc_clean4702900217039549010.log
 
Network Configuration clean config START
 
Network de-configuration trace file location: /tmp/deinstall2010-03-17_02-17-27-PM/logs/netdc_clean2598343085131811321.log
 
De-configuring Listener configuration file on all nodes...
Listener configuration file 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
 
Oracle Configuration Manager clean START
OCM clean log file location : /tmp/deinstall2010-03-17_02-17-27-PM/logs//ocm_clean6863.log
Oracle Configuration Manager clean END
Oracle Universal Installer clean START
 
Detach Oracle home '/u01/product/11.2.0/dbhome_1' from the central inventory on the local node : Done
 
Failed to delete the directory '/u01/product/11.2.0/dbhome_1/cfgtoollogs/cfgfw'. The directory is in use.
Failed to delete the directory '/u01/product/11.2.0/dbhome_1/cfgtoollogs'. The directory is not empty.
Failed to delete the directory '/u01/product/11.2.0/dbhome_1'. The directory is not empty.
Delete directory '/u01/product/11.2.0/dbhome_1' on the local node : Failed <<<<
 
Delete directory '/u01/app/oraInventory' on the local node : Done
 
Failed to delete the directory '/u01/product/11.2.0/dbhome_1/cfgtoollogs/cfgfw'. The directory is in use.
Failed to delete the directory '/u01/product/11.2.0/dbhome_1/cfgtoollogs'. The directory is not empty.
Failed to delete the directory '/u01/product/11.2.0/dbhome_1'. The directory is not empty.
Failed to delete the directory '/u01/product/11.2.0'. The directory is not empty.
Failed to delete the directory '/u01/product'. The directory is not empty.
Failed to delete the directory '/u01/cfgtoollogs/netca'. The directory is in use.
Failed to delete the directory '/u01/cfgtoollogs'. The directory is not empty.
The Oracle Base directory '/u01' will not be removed on local node. The directory is not empty.
 
Detach Oracle home '/u01/product/11.2.0/dbhome_1' from the central inventory on the remote nodes 'rac2' : Done
 
Delete directory '/u01/product/11.2.0/dbhome_1' on the remote nodes 'rac2' : Done
 
Delete directory '/u01/app/oraInventory' on the remote nodes 'rac2' : Done
 
The Oracle Base directory '/u01' will not be removed on node 'rac2'. The directory is not empty.
 
Oracle Universal Installer cleanup was successful.
 
Oracle Universal Installer clean END
 
 
Oracle install clean START
 
Clean install operation removing temporary directory '/tmp/install' on node 'rac1'
Clean install operation removing temporary directory '/tmp/install' on node 'rac2'
 
Oracle install clean END
 
Moved default properties file /tmp/deinstall2010-03-17_02-17-27-PM/response/deinstall_OraDb11g_home1.rsp as /tmp/deinstall2010-03-17_02-17-27-PM/response/deinstall_OraDb11g_home1.rsp3
 
######################### CLEAN OPERATION END #########################
 
 
####################### CLEAN OPERATION SUMMARY #######################
Cleaning the config for CCR
As CCR is not configured, so skipping the cleaning of CCR configuration
CCR clean is finished
Successfully detached Oracle home '/u01/product/11.2.0/dbhome_1' from the central inventory on the local node.
Failed to delete directory '/u01/product/11.2.0/dbhome_1' on the local node.
Successfully deleted directory '/u01/app/oraInventory' on the local node.
Successfully detached Oracle home '/u01/product/11.2.0/dbhome_1' from the central inventory on the remote nodes 'rac2'.
Successfully deleted directory '/u01/product/11.2.0/dbhome_1' on the remote nodes 'rac2'.
Successfully deleted directory '/u01/app/oraInventory' on the remote nodes 'rac2'.
Oracle Universal Installer cleanup was successful.
 
 
Run 'rm -rf /etc/oraInst.loc' as root on node(s) 'rac1,rac2' at the end of the session.
 
Oracle install successfully cleaned up the temporary directories.
#######################################################################
 
 
############# ORACLE DEINSTALL & DECONFIG TOOL END #############

你可能感兴趣的:(职场,grid,休闲,Unstall)