testing - drop 12c rac database, database software and gi

17

Click here to load reader

Upload: monowar-mukul-ocm-11g-dba

Post on 16-Jul-2015

53 views

Category:

Education


5 download

TRANSCRIPT

Page 1: TESTING - Drop 12c RAC Database, Database Software and GI

1. DELETE RAC DATABASE

2. DELETE ORACLE DATABASE SOFTWARE

3. DEINSTALLATION OF Grid Infrastructure [ With Grid Management

database]

1. DELETE RAC DATABASE

[root@rac1 Desktop]# ps -ef | grep pmon oracle 4135 1 0 22:22 ? 00:00:00 asm_pmon_+ASM1

oracle 4736 1 0 22:23 ? 00:00:00 mdb_pmon_-MGMTDB

oracle 4922 1 0 22:23 ? 00:00:00 ora_pmon_cdb1 root 19930 19857 0 22:50 pts/0 00:00:00 grep pmon

And follow the prompt.

Manually: -----------------

Stop the database from cluster environment

srvctl stop database -d cdb

Start only one instance and change the cluster_database parameter to FALSE

sqlplus / as sysdba

Page 2: TESTING - Drop 12c RAC Database, Database Software and GI

SQL> startup mount SQL> alter system set cluster_database=FALSE scope=spfile sid='*';

SQL> shutdown abort;

Start only one instance after changing parameter CLUSTER_DATABASE parameters to FALSE

SQL> startup mount exclusive restrict SQL> drop database;

Remove database information from cluster registry srvctl remove database -d dbname

Check

------------

[root@rac1 Desktop]# ps -ef | grep pmon [root@rac1 Desktop]# ps -ef | grep pmon

oracle 4135 1 0 22:22 ? 00:00:00 asm_pmon_+ASM1

oracle 4736 1 0 22:23 ? 00:00:00 mdb_pmon_-MGMTDB root 6642 19857 0 23:23 pts/0 00:00:00 grep pmon

2. DELETE ORACLE DATABASE SOFTWARE

[oracle@rac1 ~]$ cd /u01/app/oracle/product/12.1.0.2/db_1/deinstall

[oracle@rac1 deinstall]$ ls bootstrap_files.lst deinstall deinstall.xml readme.txt sshUserSetup.sh

bootstrap.pl deinstall.pl jlib response utl

[oracle@rac1 deinstall]$ ./deinstall Checking for required files and bootstrapping ...

Please wait ...

Location of logs /u01/app/oraInventory/logs/

############ ORACLE DECONFIG TOOL START ############

######################### DECONFIG CHECK OPERATION START

######################### ## [START] Install check configuration ##

Checking for existence of the Oracle home location /u01/app/oracle/product/12.1.0.2/db_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: rac1,rac2

Active Remote Nodes are rac2

Checking for sufficient temp space availability on node(s) : 'rac1,rac2'

## [END] Install check configuration ##

Network Configuration check config START

Page 3: TESTING - Drop 12c RAC Database, Database Software and GI

Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_check2015-

02-13_11-16-15-PM.log

Network Configuration check config END

Database Check Configuration START

Database de-configuration trace file location: /u01/app/oraInventory/logs/databasedc_check2015-02-13_11-16-25-PM.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

Oracle Configuration Manager check START

OCM check log file location : /u01/app/oraInventory/logs//ocm_check6411.log Oracle Configuration Manager check END

######################### DECONFIG CHECK OPERATION END #########################

####################### DECONFIG CHECK OPERATION SUMMARY

#######################

Oracle Grid Infrastructure Home is: /u01/app/12.1.0.2/gri d The following nodes are part of this cluster: rac1,rac2

Active Remote Nodes are rac2

The cluster node(s) on which the Oracle home deinstallation will be performed are:rac1,rac2 Oracle Home selected for deinstall is: /u01/app/oracle/product/12.1.0.2/db_1

Inventory Location where the Oracle home registered is: /u01/app/oraInventory

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: '/u01/app/oraInventory/logs/deinstall_deconfig2015-02-13_11-15-16-PM.out'

Any error messages from this session will be written to:

'/u01/app/oraInventory/logs/deinstall_deconfig2015-02-13_11-15-16-PM.err'

######################## DECONFIG CLEAN OPERATION START

######################## Database de-configuration trace file location:

/u01/app/oraInventory/logs/databasedc_clean2015-02-13_11-16-53-PM.log

Network Configuration clean config START

Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_clean2015-02-13_11-16-53-PM.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.

Page 4: TESTING - Drop 12c RAC Database, Database Software and GI

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 : /u01/app/oraInventory/logs//ocm_clean6411.log Oracle Configuration Manager clean END

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

####################### DECONFIG CLEAN OPERATION SUMMARY

#######################

Cleaning the config for CCR As CCR is not configured, so skipping the cleaning of CCR configuration

CCR clean is finished

#######################################################################

############# ORACLE DECONFIG TOOL END #############

Using properties file /tmp/deinstall2015-02-13_11-12-56PM/response/deinstall_2015-02-13_11-15-16-PM.rsp

Location of logs /u01/app/oraInventory/logs/

############ ORACLE DEINSTALL TOOL START ############

####################### DEINSTALL CHECK OPERATION SUMMARY

#######################

A log of this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2015-02-13_11-15-16-PM.out'

Any error messages from this session will be written to:

'/u01/app/oraInventory/logs/deinstall_deconfig2015-02-13_11-15-16-PM.err'

######################## DEINSTALL CLEAN OPERATION START

######################## ## [START] Preparing for Deinstall ##

Setting LOCAL_NODE to rac1

Setting REMOTE_NODES to rac2 Setting CLUSTER_NODES to rac1,rac2

Setting CRS_HOME to false

Setting oracle.installer.invPtrLoc to /tmp/deinstall2015-02-13_11-12-56PM/oraInst.loc Setting oracle.installer.local to false

Page 5: TESTING - Drop 12c RAC Database, Database Software and GI

## [END] Preparing for Deinstall ##

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/oracle/product/12.1.0.2/db_1' from the central inventory on the local node : Done

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

The Oracle Base directory '/u01/app/oracle' will not be removed on local node. The directory is in use by Oracle Home '/u01/app/12.1.0.2/grid'.

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

Delete directory '/u01/app/oracle/product/12.1.0.2/db_1' on the remote nodes 'rac2' : Done

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

is in use by Oracle Home '/u01/app/12.1.0.2/grid'.

Oracle Universal Installer cleanup was successful.

Oracle Universal Installer clean END

## [START] Oracle install clean ##

Clean install operation removing temporary directory '/tmp/deinstall2015-02-13_11-12-56PM'

on node 'rac1' Clean install operation removing temporary directory '/tmp/deinstall2015-02-13_11-12-56PM'

on node 'rac2'

## [END] Oracle install clean ##

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

#########################

####################### DEINSTALL CLEAN OPERATION SUMMARY

####################### Successfully detached Oracle home '/u01/app/oracle/product/12.1.0.2/db_1' from the central

inventory on the local node.

Successfully deleted directory '/u01/app/oracle/product/12.1.0.2/db_1' on the local node. Successfully detached Oracle home '/u01/app/oracle/product/12.1.0.2/db_1' from the central

inventory on the remote nodes 'rac2'.

Successfully deleted directory '/u01/app/oracle/product/12.1.0.2/db_1' on the remote nodes 'rac2'.

Oracle Universal Installer cleanup was successful.

Oracle deinstall tool successfully cleaned up temporary directories.

#######################################################################

Page 6: TESTING - Drop 12c RAC Database, Database Software and GI

############# ORACLE DEINSTALL TOOL END #############

Check Oracle Database Home oracle@rac1 deinstall]$ cd /u01/app/oracle/product/12.1.0.2

[oracle@rac1 12.1.0.2]$ ls -lt total 0

3. DEINSTALLATION OF Grid Infrastructure [ With Grid Management database]

[oracle@rac1 12.1.0.2]$ ps -ef | grep pmon

oracle 4135 1 0 22:22 ? 00:00:00 asm_pmon_+ASM1 oracle 4736 1 0 22:23 ? 00:00:00 mdb_pmon_-MGMTDB --Grid Mgt Database

oracle 8172 20089 0 23:28 pts/1 00:00:00 grep pmon

[oracle@rac1 12.1.0.2]$ . oraenv ORACLE_SID = [cdb1] ? -MGMTDB

The Oracle base remains unchanged with value /u01/app/oracle

[oracle@rac1 12.1.0.2]$ sqlplus " / as sysdba "

SQL*Plus: Release 12.1.0.2.0 Production on Fri Feb 13 23:28:44 2015

Copyright (c) 1982, 2014, Oracle. All rights reserved.

Connected to:

Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production With the Partitioning, Automatic Storage Management and Advanced Analytics options

SQL> select cdb from v$database;

CDB

--- YES --Container Database

SQL> select name from v$datafile;

NAME

-------------------------------------------------------------------------------- +DATA/_MGMTDB/DATAFILE/system.258.870022609

+DATA/_MGMTDB/DATAFILE/sysaux.257.870022559 +DATA/_MGMTDB/DATAFILE/undotbs1.259.870022675

+DATA/_MGMTDB/FD9AC0F7C36E4438E043B6A9E80A24D5/DATAFILE/system.265.870022797 +DATA/_MGMTDB/FD9AC0F7C36E4438E043B6A9E80A24D5/DATAFILE/sysaux.266.870022797

+DATA/_MGMTDB/FD9B43BF6A646F8CE043B6A9E80A2815/DATAFILE/system.270.870023535 +DATA/_MGMTDB/FD9B43BF6A646F8CE043B6A9E80A2815/DATAFILE/sysaux.271.870023535

+DATA/_MGMTDB/FD9B43BF6A646F8CE043B6A9E80A2815/DATAFILE/users.274.870023535

+DATA/_MGMTDB/FD9B43BF6A646F8CE043B6A9E80A2815/DATAFILE/sysgridhomedata.272.8700 23535

+DATA/_MGMTDB/FD9B43BF6A646F8CE043B6A9E80A2815/DATAFILE/sysmgmtdata.269.87002353 3

+DATA/_MGMTDB/FD9B43BF6A646F8CE043B6A9E80A2815/DATAFILE/sysmgmtdatadb.273.870023535

11 rows selected.

SQL> select name, open_mode from v$pdbs;

NAME OPEN_MODE

------------------------------ ---------- PDB$SEED READ ONLY

Page 7: TESTING - Drop 12c RAC Database, Database Software and GI

SCAN READ WRITE

For testing, I didn't stop Grid Management database, ASM or clusterware, simply using

deinstall utility -- and it worked fine ORACLE_SID = [-MGMTDB] ? +ASM1

The Oracle base remains unchanged with value /u01/app/oracle

[oracle@rac1 12.1.0.2]$ srvctl status database -d -MGMTDB PRKO-2388 : Command line option -db should be followed by a value.

PRKO-2002 : Invalid command line option: -MGMTDB

[oracle@rac1 12.1.0.2]$ cd $ORACLE_HOME [oracle@rac1 grid]$ ls

addnode css eons inventory md oracore QOpatch sqlpatch wwg assistants ctss evm javavm mdns oraInst.loc racg sqlplus xag

auth cv gipc jdbc network ord rdbms srvm xdk

bin dbs gnsd jdk nls osysmond relnotes suptools cdata dc_ocm gpnp jlib oc4j oui rest tfa

cfgtoollogs deinstall has JRE ohasd owm root.sh ucp

clone demo hs ldap ologgerd perl rootupgrade.sh usm crf diagnostics install lib OPatch plsql scheduler utl

crs dmu instantclient log opmn precomp slax wlm

[oracle@rac1 grid]$ cd deinstall/ [oracle@rac1 deinstall]$ ls

bootstrap_files.lst deinstall deinstall.xml readme.txt sshUserSetup.sh

bootstrap.pl deinstall.pl jlib response utl [oracle@rac1 deinstall]$ ./deinstall

Checking for required files and bootstrapping ...

Please wait ... Location of logs /tmp/deinstall2015-02-13_11-35-08PM/logs/

############ ORACLE DECONFIG TOOL START ############

######################### DECONFIG CHECK OPERATION START

#########################

## [START] Install check configuration ##

Checking for existence of the Oracle home location /u01/app/12.1.0.2/grid Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Cluster

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: rac1,rac2

Active Remote Nodes are rac2 Checking for sufficient temp space availability on node(s) : 'rac1,rac2'

## [END] Install check configuration ##

Traces log file: /tmp/deinstall2015-02-13_11-35-08PM/logs//crsdc_2015-02-13_11-37-

32PM.log

Network Configuration check config START

Page 8: TESTING - Drop 12c RAC Database, Database Software and GI

Network de-configuration trace file location: /tmp/deinstall2015-02-13_11-35-

08PM/logs/netdc_check2015-02-13_11-37-34-PM.log

Specify all RAC listeners (do not include SCAN listener) that are to be de -configured. Enter

.(dot) to deselect all. [LISTENER]:

Network Configuration check config END

Asm Check Configuration START

ASM de-configuration trace file location: /tmp/deinstall2015-02-13_11-35-08PM/logs/asmcadc_check2015-02-13_11-38-09-PM.log

Automatic Storage Management (ASM) instance is detected in this Oracle home

/u01/app/12.1.0.2/grid.

ASM Diagnostic Destination : /u01/app/oracle ASM Diskgroups : +DATA

ASM diskstring : /dev/oracleasm/disk*

Diskgroups will be dropped De-configuring ASM will drop all the diskgroups and their 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 i f any of the information detected is incorrect, you can modify by entering 'y'. Do you want to modify above information (y|n) [n]: n

Database Check Configuration START

Database de-configuration trace file location: /tmp/deinstall2015-02-13_11-35-

08PM/logs/databasedc_check2015-02-13_11-38-31-PM.log

Oracle Grid Management database was found in this Grid Infrastructure home

Database Check Configuration END

######################### DECONFIG CHECK OPERATION END #########################

####################### DECONFIG CHECK OPERATION SUMMARY

#######################

Oracle Grid Infrastructure Home is: /u01/app/12.1.0.2/gri d The following nodes are part of this cluster: rac1,rac2

Active Remote Nodes are rac2

The cluster node(s) on which the Oracle home deinstallation will be performed are:rac1,rac2 Oracle Home selected for deinstall is: /u01/app/12.1.0.2/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

Oracle Grid Management database was found in this Grid Infrastructure home

Oracle Grid Management database will be de -configured from this Grid Infrastructure home Do you want to continue (y - yes, n - no)? [n]: y

A log of this session will be written to: '/tmp/deinstall2015-02-13_11-35-

08PM/logs/deinstall_deconfig2015-02-13_11-36-53-PM.out' Any error messages from this session will be written to: '/tmp/deinstall2015-02-13_11-35-

08PM/logs/deinstall_deconfig2015-02-13_11-36-53-PM.err'

Page 9: TESTING - Drop 12c RAC Database, Database Software and GI

######################## DECONFIG CLEAN OPERATION START

######################## Database de-configuration trace file location: /tmp/deinstall2015-02-13_11-35-

08PM/logs/databasedc_clean2015-02-13_11-39-54-PM.log

This operation may take few minutes. ASM de-configuration trace file location: /tmp/deinstall2015-02-13_11-35-

08PM/logs/asmcadc_clean2015-02-13_11-41-41-PM.log

ASM Clean Configuration START ASM Clean Configuration END

Network Configuration clean config START

Network de-configuration trace file location: /tmp/deinstall2015-02-13_11-35-08PM/logs/netdc_clean2015-02-13_11-41-46-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 "rac2".

/tmp/deinstall2015-02-13_11-35-08PM/perl/bin/perl -I/tmp/deinstall2015-02-13_11-35-

08PM/perl/lib -I/tmp/deinstall2015-02-13_11-35-08PM/crs/install /tmp/deinstall2015-02-

13_11-35-08PM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2015-02-13_11-35-08PM/response/deinstall_OraGI12Home1.rsp"

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

Page 10: TESTING - Drop 12c RAC Database, Database Software and GI

/tmp/deinstall2015-02-13_11-35-08PM/perl/bin/perl -I/tmp/deinstall2015-02-13_11-35-

08PM/perl/lib -I/tmp/deinstall2015-02-13_11-35-08PM/crs/install /tmp/deinstall2015-02-13_11-35-08PM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2015-02-

13_11-35-08PM/response/deinstall_OraGI12Home1.rsp" -lastnode

Press Enter after you finish running the above commands

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

FROM SECOND NODE ------------------------------

[root@rac2 Desktop]# /tmp/deinstall2015-02-13_11-35-08PM/perl/bin/perl -I/tmp/deinstall2015-02-13_11-35-08PM/perl/lib -I/tmp/deinstall2015-02-13_11-35-

08PM/crs/install /tmp/deinstall2015-02-13_11-35-08PM/crs/install/rootcrs.pl -force -

deconfig -paramfile "/tmp/deinstall2015-02-13_11-35-08PM/response/deinstall_OraGI12Home1.rsp"

Using configuration parameter file: /tmp/deinstall2015-02-13_11-35-

08PM/response/deinstall_OraGI12Home1.rsp Network 1 exists

Subnet IPv4: 192.168.2.0/255.255.255.0/eth0, static

Subnet IPv6: Ping Targets:

Network is enabled

Network is individually enabled on nodes: Network is individually disabled on nodes:

VIP exists: network number 1, hosting node rac1

VIP Name: rac1-vip.localdomain VIP IPv4 Address: 192.168.2.16

VIP IPv6 Address:

VIP is enabled.

Page 11: TESTING - Drop 12c RAC Database, Database Software and GI

VIP is individually enabled on nodes:

VIP is individually disabled on nodes: VIP exists: network number 1, hosting node rac2

VIP Name: rac2-vip.localdomain

VIP IPv4 Address: 192.168.2.17 VIP IPv6 Address:

VIP is enabled.

VIP is individually enabled on nodes: VIP is individually disabled on nodes:

ONS exists: Local port 6100, remote port 6200, EM port 2016, Uses SSL false

ONS is enabled ONS is individually enabled on nodes:

ONS is individually disabled on nodes: CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rac2'

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.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.evmd' on 'rac2'

CRS-2673: Attempting to stop 'ora.ctssd' on 'rac2' CRS-2673: Attempting to stop 'ora.crf' on 'rac2'

CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'rac2'

CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac2' CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac2'

CRS-2677: Stop of 'ora.drivers.acfs' on 'rac2' succeeded

CRS-2677: Stop of 'ora.ctssd' on 'rac2' succeeded CRS-2677: Stop of 'ora.crf' on 'rac2' succeeded

CRS-2677: Stop of 'ora.evmd' on 'rac2' succeeded

CRS-2673: Attempting to stop 'ora.storage' on 'rac2' CRS-2677: Stop of 'ora.storage' on 'rac2' succeeded

CRS-2673: Attempting to stop 'ora.asm' on 'rac2' CRS-2677: Stop of 'ora.mdnsd' on 'rac2' succeeded

CRS-2677: Stop of 'ora.gpnpd' on 'rac2' succeeded

CRS-2677: Stop of 'ora.asm' on 'rac2' succeeded CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'rac2'

CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'rac2' succeede d

CRS-2673: Attempting to stop 'ora.cssd' on 'rac2' CRS-2677: Stop of 'ora.cssd' on 'rac2' succeeded

CRS-2673: Attempting to stop 'ora.gipcd' on 'rac2'

CRS-2677: Stop of 'ora.gipcd' 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. 2015/02/13 23:48:29 CLSRSC-4006: Removing Oracle Trace File Analyzer (TFA) Collector.

2015/02/13 23:48:57 CLSRSC-4007: Successfully removed Oracle Trace File Analyzer (TFA)

Collector.

2015/02/13 23:49:03 CLSRSC-336: Successfully deconfigured Oracle Clusterware stack on

this node

Page 12: TESTING - Drop 12c RAC Database, Database Software and GI

2015/02/13 23:49:09 CLSRSC-46: Error:

'/u01/app/oracle/crsdata/rac2/crsconfig/cluutil2.log' does not exist

2015/02/13 23:49:09 CLSRSC-46: Error:

'/u01/app/oracle/crsdata/rac2/crsconfig/cluutil2.log' does not exist

NOW FROM FIRST NODE

------------------------------- [root@rac1 Desktop]# /tmp/deinstall2015-02-13_11-35-08PM/perl/bin/perl -

I/tmp/deinstall2015-02-13_11-35-08PM/perl/lib -I/tmp/deinstall2015-02-13_11-35-

08PM/crs/install /tmp/deinstall2015-02-13_11-35-08PM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2015-02-13_11-35-

08PM/response/deinstall_OraGI12Home1.rsp" -lastnode Using configuration parameter file: /tmp/deinstall2015-02-13_11-35-

08PM/response/deinstall_OraGI12Home1.rsp

Network 1 exists Subnet IPv4: 192.168.2.0/255.255.255.0/eth0, static

Subnet IPv6:

Ping Targets: Network is enabled

Network is individually enabled on nodes:

Network is individually disabled on nodes: VIP exists: network number 1, hosting node rac1

VIP Name: rac1-vip.localdomain

VIP IPv4 Address: 192.168.2.16 VIP IPv6 Address:

VIP is enabled.

VIP is individually enabled on nodes: VIP is individually disabled on nodes:

ONS exists: Local port 6100, remote port 6200, EM port 2016, Uses SSL false

ONS is enabled ONS is individually enabled on nodes:

ONS is individually disabled on nodes: 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.MGMTLSNR' on 'rac1'

CRS-2673: Attempting to stop 'ora.asm' on 'rac1'

CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded CRS-2677: Stop of 'ora.MGMTLSNR' 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.storage' on 'rac1'

CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac1'

CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac1' CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'rac1'

CRS-2677: Stop of 'ora.drivers.acfs' on 'rac1' succeeded

CRS-2677: Stop of 'ora.storage' on 'rac1' succeeded CRS-2673: Attempting to stop 'ora.crf' 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-2677: Stop of 'ora.crf' on 'rac1' succeeded

CRS-2677: Stop of 'ora.ctssd' on 'rac1' succeeded CRS-2677: Stop of 'ora.evmd' on 'rac1' succeeded

Page 13: TESTING - Drop 12c RAC Database, Database Software and GI

CRS-2677: Stop of 'ora.gpnpd' on 'rac1' succeeded

CRS-2677: Stop of 'ora.mdnsd' on 'rac1' succeeded CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded

CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'rac1'

CRS-2677: Stop of 'ora.cluster_interconnect.haip' 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.gipcd' on 'rac1' CRS-2677: Stop of 'ora.gipcd' 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.

CRS-4123: Oracle High Availability Services has been started. CRS-2672: Attempting to start 'ora.evmd' 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.evmd' 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-2672: Attempting to start 'ora.gipcd' on 'rac1'

CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded CRS-2676: Start of 'ora.gipcd' 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

ASM de-configuration trace file location: /tmp/deinstall2015-02-13_11-35-

08PM/logs/asmcadc_clean2015-02-13_11-54-37-PM.log

ASM Clean Configuration START ASM Clean Configuration END

ASM with SID +ASM1 deleted successfully. Check /tmp/deinstall2015-02-13_11-35-

08PM/logs/asmcadc_clean2015-02-13_11-54-37-PM.log for details.

CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rac1'

CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac1' CRS-2673: Attempting to stop 'ora.gpnpd' 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.drivers.acfs' on 'rac1'

CRS-2677: Stop of 'ora.drivers.acfs' on 'rac1' succeeded CRS-2677: Stop of 'ora.mdnsd' on 'rac1' succeeded

CRS-2677: Stop of 'ora.gpnpd' 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.cluster_interconnect.haip' on 'rac1' CRS-2677: Stop of 'ora.cluster_interconnect.haip' 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.gipcd' on 'rac1'

Page 14: TESTING - Drop 12c RAC Database, Database Software and GI

CRS-2677: Stop of 'ora.gipcd' 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.

2015/02/13 23:57:48 CLSRSC-4006: Removing Oracle Trace File Analyzer (TFA) Collector.

2015/02/13 23:58:03 CLSRSC-4007: Successfully removed Oracle Trace File Analyzer (TFA)

Collector.

2015/02/13 23:58:08 CLSRSC-336: Successfully deconfigured Oracle Clusterware stack on

this node

2015/02/13 23:58:08 CLSRSC-559: Ensure that the GPnP profile data under the 'gpnp' directory in /u01/app/12.1.0.2/grid is deleted on each node before using the software in the

current Grid Infrastructure home for reconfiguration.

2015/02/13 23:58:13 CLSRSC-46: Error:

'/u01/app/oracle/crsdata/rac1/crsconfig/cluutil2.log' does not exist

2015/02/13 23:58:13 CLSRSC-46: Error:

'/u01/app/oracle/crsdata/rac1/crsconfig/cluutil2.log' does not exist

Press Enter button

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

#########################

Page 15: TESTING - Drop 12c RAC Database, Database Software and GI

####################### DECONFIG CLEAN OPERATION SUMMARY #######################

Successfully de-configured Oracle Grid Management database

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 "rac1"

Oracle Clusterware is stopped and successfully de-configured on node "rac2" Oracle Clusterware is stopped and de -configured successfully.

#######################################################################

############# ORACLE DECONFIG TOOL END #############

Using properties file /tmp/deinstall2015-02-13_11-35-08PM/response/deinstall_2015-02-

13_11-36-53-PM.rsp Location of logs /tmp/deinstall2015-02-13_11-35-08PM/logs/

############ ORACLE DEINSTALL TOOL START ############

####################### DEINSTALL CHECK OPERATION SUMMARY #######################

A log of this session will be written to: '/tmp/deinstall2015-02-13_11-35-

08PM/logs/deinstall_deconfig2015-02-13_11-36-53-PM.out' Any error messages from this session will be written to: '/tmp/deinstall2015-02-13_11-35-

08PM/logs/deinstall_deconfig2015-02-13_11-36-53-PM.err'

######################## DEINSTALL CLEAN OPERATION START

######################## ## [START] Preparing for Deinstall ##

Setting LOCAL_NODE to rac1

Setting REMOTE_NODES to rac2 Setting CLUSTER_NODES to rac1,rac2

Setting CRS_HOME to true

Setting oracle.installer.invPtrLoc to /tmp/deinstall2015-02-13_11-35-08PM/oraInst.loc Setting oracle.installer.local to false

## [END] Preparing for Deinstall ##

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/12.1.0.2/grid' from the central inventory on the local node : Done

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

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

Page 16: TESTING - Drop 12c RAC Database, Database Software and GI

Failed to delete the directory

'/u01/app/oracle/log/diag/asmcmd/user_root/rac1.localdomain/trace'. The directory is in use.

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

not empty.

Detach Oracle home '/u01/app/12.1.0.2/grid' from the central inventory on the remote nodes

'rac2' : Done

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

Delete directory '/u01/app/oraInventory' 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

## [START] Oracle install clean ##

Clean install operation removing temporary directory '/tmp/deinstall2015-02-13_11-35-08PM'

on node 'rac1' Clean install operation removing temporary directory '/tmp/deinstall2015-02-13_11-35-08PM'

on node 'rac2'

## [END] Oracle install clean ##

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

#########################

####################### DEINSTALL CLEAN OPERATION SUMMARY #######################

Successfully detached Oracle home '/u01/app/12.1.0.2/grid' from the central inventory on the

local node. Successfully deleted directory '/u01/app/12.1.0.2/grid' on the local node.

Successfully deleted directory '/u01/app/oraInventory' on the local node.

Successfully detached Oracle home '/u01/app/12.1.0.2/grid' from the central inventory on the remote nodes 'rac2'.

Successfully deleted directory '/u01/app/12.1.0.2/grid' on the remote nodes 'rac2'.

Successfully deleted directory '/u01/app/oraInventory' on the remote nodes 'rac2'. Oracle Universal Installer cleanup was successful.

Run 'rm -r /etc/oraInst.loc' as root on node(s) 'rac1,rac2' at the end of the session.

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

#######################################################################

Page 17: TESTING - Drop 12c RAC Database, Database Software and GI

############# ORACLE DEINSTALL TOOL END #############

[root@rac1 Desktop]# rm -r /etc/oraInst.loc

rm: remove regular file ̀ /etc/oraInst.loc'? y [root@rac1 Desktop]# rm -r /opt/ORCLfmap

rm: descend into directory `/opt/ORCLfmap'? y

rm: descend into directory `/opt/ORCLfmap/prot1_64'? y rm: remove directory ̀ /opt/ORCLfmap/prot1_64/log'? y

rm: descend into directory `/opt/ORCLfmap/prot1_64/bin'? y

rm: remove regular file ̀ /opt/ORCLfmap/prot1_64/bin/fmputlhp'? y rm: remove regular file ̀ /opt/ORCLfmap/prot1_64/bin/fmputl'? y

rm: remove directory ̀ /opt/ORCLfmap/prot1_64/bin'? y rm: descend into directory `/opt/ORCLfmap/prot1_64/etc'? y

rm: remove regular file ̀ /opt/ORCLfmap/prot1_64/etc/fi lemap.ora'? y

rm: remove directory ̀ /opt/ORCLfmap/prot1_64/etc'? y rm: remove directory ̀ /opt/ORCLfmap/prot1_64'? y

rm: remove directory ̀ /opt/ORCLfmap'? y

Second Node

-------------------- [root@rac2 Desktop]# rm -r /etc/oraInst.loc

rm: remove regular file ̀ /etc/oraInst.loc'? y

[root@rac2 Desktop]# rm -r /opt/ORCLfmap rm: descend into directory `/opt/ORCLfmap'? y

rm: descend into directory `/opt/ORCLfmap/prot1_64'? y

rm: remove directory ̀ /opt/ORCLfmap/prot1_64/log'? y rm: descend into directory `/opt/ORCLfmap/prot1_64/bin'? y

rm: remove regular file ̀ /opt/ORCLfmap/prot1_64/bin/fmputlhp'? yy

rm: remove regular file ̀ /opt/ORCLfmap/prot1_64/bin/fmputl'? y rm: remove directory ̀ /opt/ORCLfmap/prot1_64/bin'? y

rm: descend into directory `/opt/ORCLfmap/prot1_64/etc'? y rm: remove regular file ̀ /opt/ORCLfmap/prot1_64/etc/filemap.ora'? y

rm: remove directory ̀ /opt/ORCLfmap/prot1_64/etc'? y

rm: remove directory ̀ /opt/ORCLfmap/prot1_64'? y rm: remove directory ̀ /opt/ORCLfmap'? y