advertisements
_____________________________________________________________________________________________________________________
Steps
1. Login as grid (clusterware owner)
2. Go to software directory where the runInstaller located
3. ./runInstaller -deinstall –home <GRID_HOME>
Example
[grid@node110 grid]$ ./runInstaller -deinstall -home /u01/app/12.1.0/grid
Checking for required space in /tmp directory ...
Space check on /tmp directory passed
Bootstrapping the deinstall components
Please wait ...
Bootstrapping completed
Location of logs /tmp/deinstall2016-06-23_10-32-40AM/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/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/12.1.0/grid
The following nodes are part of this cluster: node110,node111
Active Remote Nodes are node111
Checking for sufficient temp space availability on node(s) : 'node110,node111'
## [END] Install check configuration ##
Traces log file:
/tmp/deinstall2016-06-23_10-32-40AM/logs//crsdc_2016-06-23_10-32-57AM.log
Network Configuration check config START
Network de-configuration trace file location:
/tmp/deinstall2016-06-23_10-32-40AM/logs/netdc_check2016-06-23_10-32-58-AM.log
Network Configuration check config END
Asm Check Configuration START
ASM de-configuration trace file location:
/tmp/deinstall2016-06-23_10-32-40AM/logs/asmcadc_check2016-06-23_10-32-58-AM.log
ASM configuration was not detected in this Oracle home. Was ASM
configured in this Oracle home (y|n) [n]: y
Automatic Storage Management (ASM) instance is detected in this
Oracle home /u01/app/12.1.0/grid.
ASM Diagnostic Destination : /u01/app/grid
ASM Diskgroups :
ASM diskstring : <Default>
Diskgroups will not be dropped
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]: y
Is Grid Infrastructure Storage(OCR) in ASM diskgroup (y|n) [y]:
Enter the OCR/Voting Disk diskgroup name [+DATA]:
Specify the ASM Diagnostic Destination [/u01/app/grid]:
Specify the diskstring []:
Specify the diskgroups that are managed by this ASM instance []:
Database Check Configuration START
Database de-configuration trace file location:
/tmp/deinstall2016-06-23_10-32-40AM/logs/databasedc_check2016-06-23_10-33-19-AM.log
Oracle Grid Management database was not 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/grid
The following nodes are part of this cluster: node110,node111
Active Remote Nodes are node111
The cluster node(s) on which the Oracle home deinstallation will
be performed are:node110,node111
Oracle Home selected for deinstall is: /u01/app/12.1.0/grid
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
ASM instance will be de-configured from this Oracle home
Oracle Grid Management database was not found in 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/deinstall2016-06-23_10-32-40AM/logs/deinstall_deconfig2016-06-23_10-32-51-AM.out'
Any error messages from this session will be written to:
'/tmp/deinstall2016-06-23_10-32-40AM/logs/deinstall_deconfig2016-06-23_10-32-51-AM.err'
######################## DECONFIG CLEAN OPERATION START
########################
Database de-configuration trace file location:
/tmp/deinstall2016-06-23_10-32-40AM/logs/databasedc_clean2016-06-23_10-33-22-AM.log
ASM de-configuration trace file location:
/tmp/deinstall2016-06-23_10-32-40AM/logs/asmcadc_clean2016-06-23_10-33-22-AM.log
ASM Clean Configuration START
ASM Clean Configuration END
Network Configuration clean config START
Network de-configuration trace file location:
/tmp/deinstall2016-06-23_10-32-40AM/logs/netdc_clean2016-06-23_10-33-23-AM.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
---------------------------------------->
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 "node111".
/tmp/deinstall2016-06-23_10-32-40AM/perl/bin/perl
-I/tmp/deinstall2016-06-23_10-32-40AM/perl/lib
-I/tmp/deinstall2016-06-23_10-32-40AM/crs/install
/tmp/deinstall2016-06-23_10-32-40AM/crs/install/rootcrs.pl -force -deconfig -paramfile
"/tmp/deinstall2016-06-23_10-32-40AM/response/deinstall_OraGI12Home1.rsp"
Run the following command as the root user or the administrator
on node "node110".
/tmp/deinstall2016-06-23_10-32-40AM/perl/bin/perl
-I/tmp/deinstall2016-06-23_10-32-40AM/perl/lib
-I/tmp/deinstall2016-06-23_10-32-40AM/crs/install
/tmp/deinstall2016-06-23_10-32-40AM/crs/install/rootcrs.pl -force -deconfig -paramfile
"/tmp/deinstall2016-06-23_10-32-40AM/response/deinstall_OraGI12Home1.rsp"
-lastnode
Press Enter after you finish running the above commands
<----------------------------------------
######################### DECONFIG CLEAN OPERATION END
#########################
####################### DECONFIG CLEAN OPERATION SUMMARY
#######################
There is no Oracle Grid Management database to de-configure in
this Grid Infrastructure home
ASM instance was de-configured successfully from the Oracle home
Oracle Clusterware is stopped and successfully de-configured on
node "node111"
Oracle Clusterware is stopped and successfully de-configured on
node "node110"
Oracle Clusterware is stopped and de-configured successfully.
#######################################################################
############# ORACLE DECONFIG TOOL END #############
Using properties file
/tmp/deinstall2016-06-23_10-32-40AM/response/deinstall_2016-06-23_10-32-51-AM.rsp
Location of logs /tmp/deinstall2016-06-23_10-32-40AM/logs/
############ ORACLE DEINSTALL TOOL START ############
####################### DEINSTALL CHECK OPERATION SUMMARY
#######################
A log of this session will be written to:
'/tmp/deinstall2016-06-23_10-32-40AM/logs/deinstall_deconfig2016-06-23_10-32-51-AM.out'
Any error messages from this session will be written to:
'/tmp/deinstall2016-06-23_10-32-40AM/logs/deinstall_deconfig2016-06-23_10-32-51-AM.err'
######################## DEINSTALL CLEAN OPERATION START
########################
## [START] Preparing for Deinstall ##
Setting LOCAL_NODE to node110
Setting REMOTE_NODES to node111
Setting CLUSTER_NODES to node110,node111
Setting CRS_HOME to true
Setting oracle.installer.invPtrLoc to
/tmp/deinstall2016-06-23_10-32-40AM/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/grid' from the central
inventory on the local node : Done
Delete directory '/u01/app/12.1.0/grid' on the local node : Done
Delete directory '/u01/app/oraInventory' on the local node :
Done
The Oracle Base directory '/u01/app/grid' will not be removed on
local node. The directory is not empty.
Detach Oracle home '/u01/app/12.1.0/grid' from the central
inventory on the remote nodes 'node111' : Done
Delete directory '/u01/app/12.1.0/grid' on the remote nodes 'node111'
: Done
Delete directory '/u01/app/oraInventory' on the remote nodes 'node111'
: Done
Delete directory '/u01/app/grid' on the remote nodes 'node111' :
Done
Oracle Universal Installer cleanup was successful.
Oracle Universal Installer clean END
## [START] Oracle install clean ##
Clean install operation removing temporary directory '/tmp/deinstall2016-06-23_10-32-40AM'
on node 'node110'
Clean install operation removing temporary directory
'/tmp/deinstall2016-06-23_10-32-40AM' on node 'node111'
## [END] Oracle install clean ##
######################### DEINSTALL CLEAN OPERATION END
#########################
####################### DEINSTALL CLEAN OPERATION SUMMARY
#######################
Successfully detached Oracle home '/u01/app/12.1.0/grid' from
the central inventory on the local node.
Successfully deleted directory '/u01/app/12.1.0/grid' on the
local node.
Successfully deleted directory '/u01/app/oraInventory' on the
local node.
Successfully detached Oracle home '/u01/app/12.1.0/grid' from
the central inventory on the remote nodes 'node111'.
Successfully deleted directory '/u01/app/12.1.0/grid' on the
remote nodes 'node111'.
Successfully deleted directory '/u01/app/oraInventory' on the
remote nodes 'node111'.
Successfully deleted directory '/u01/app/grid' on the remote
nodes 'node111'.
Oracle Universal Installer cleanup was successful.
Run 'rm -r /etc/oraInst.loc' as root on node(s) 'node110,node111'
at the end of the session.
Run 'rm -r /opt/ORCLfmap' as root on node(s) 'node110,node111'
at the end of the session.
Oracle deinstall tool successfully cleaned up temporary
directories.
#######################################################################
############# ORACLE DEINSTALL TOOL END #############
Node 1: Run this script as root – Marked in Red in above
log
[root@node110 tmp]#
/tmp/deinstall2016-06-23_10-32-40AM/perl/bin/perl
-I/tmp/deinstall2016-06-23_10-32-40AM/perl/lib
-I/tmp/deinstall2016-06-23_10-32-40AM/crs/install /tmp/deinstall2016-06-23_10-32-40AM/crs/install/rootcrs.pl
-force -deconfig -paramfile
"/tmp/deinstall2016-06-23_10-32-40AM/response/deinstall_OraGI12Home1.rsp"
-lastnode
Using configuration parameter file:
/tmp/deinstall2016-06-23_10-32-40AM/response/deinstall_OraGI12Home1.rsp
Network 1 exists
Subnet IPv4:
10.201.6.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 node110
VIP Name: node110-vip.prod01.r-dc.net
VIP IPv4 Address: 10.201.6.20
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 'node110'
CRS-2673: Attempting to stop
'ora.crsd' on 'node110'
CRS-2790: Starting shutdown of
Cluster Ready Services-managed resources on 'node110'
CRS-2673: Attempting to stop
'ora.asm' on 'node110'
CRS-2673: Attempting to stop
'ora.MGMTLSNR' on 'node110'
CRS-2677: Stop of 'ora.asm' on 'node110'
succeeded
CRS-2677: Stop of 'ora.MGMTLSNR' on
'node110' succeeded
CRS-2792: Shutdown of Cluster Ready
Services-managed resources on 'node110' has completed
CRS-2677: Stop of 'ora.crsd' on 'node110'
succeeded
CRS-2673: Attempting to stop
'ora.mdnsd' on 'node110'
CRS-2673: Attempting to stop
'ora.gpnpd' on 'node110'
CRS-2673: Attempting to stop
'ora.crf' on 'node110'
CRS-2673: Attempting to stop
'ora.ctssd' on 'node110'
CRS-2673: Attempting to stop
'ora.evmd' on 'node110'
CRS-2673: Attempting to stop
'ora.asm' on 'node110'
CRS-2677: Stop of 'ora.mdnsd' on 'node110'
succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'node110'
succeeded
CRS-2677: Stop of 'ora.ctssd' on 'node110'
succeeded
CRS-2677: Stop of 'ora.crf' on 'node110'
succeeded
CRS-2677: Stop of 'ora.evmd' on 'node110'
succeeded
CRS-2677: Stop of 'ora.asm' on 'node110'
succeeded
CRS-2673: Attempting to stop
'ora.cluster_interconnect.haip' on 'node110'
CRS-2677: Stop of
'ora.cluster_interconnect.haip' on 'node110' succeeded
CRS-2673: Attempting to stop
'ora.cssd' on 'node110'
CRS-2677: Stop of 'ora.cssd' on 'node110'
succeeded
CRS-2673: Attempting to stop
'ora.gipcd' on 'node110'
CRS-2677: Stop of 'ora.gipcd' on 'node110'
succeeded
CRS-2793: Shutdown of Oracle High
Availability Services-managed resources on 'node110' 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 'node110'
CRS-2672: Attempting to start 'ora.mdnsd'
on 'node110'
CRS-2676: Start of 'ora.evmd' on 'node110'
succeeded
CRS-2676: Start of 'ora.mdnsd' on 'node110'
succeeded
CRS-2672: Attempting to start
'ora.gpnpd' on 'node110'
CRS-2676: Start of 'ora.gpnpd' on 'node110'
succeeded
CRS-2672: Attempting to start
'ora.cssdmonitor' on 'node110'
CRS-2672: Attempting to start
'ora.gipcd' on 'node110'
CRS-2676: Start of
'ora.cssdmonitor' on 'node110' succeeded
CRS-2676: Start of 'ora.gipcd' on 'node110'
succeeded
CRS-2672: Attempting to start
'ora.cssd' on 'node110'
CRS-2672: Attempting to start
'ora.diskmon' on 'node110'
CRS-2676: Start of 'ora.diskmon' on
'node110' succeeded
CRS-2676: Start of 'ora.cssd' on 'node110'
succeeded
ASM de-configuration trace file
location: /tmp/deinstall2016-06-23_10-32-40AM/logs/asmcadc_clean2016-06-23_10-38-42-AM.log
ASM Clean Configuration START
ASM Clean Configuration END
ASM with SID +ASM1 deleted
successfully. Check
/tmp/deinstall2016-06-23_10-32-40AM/logs/asmcadc_clean2016-06-23_10-38-42-AM.log
for details.
CRS-2791: Starting shutdown of
Oracle High Availability Services-managed resources on 'node110'
CRS-2673: Attempting to stop
'ora.gpnpd' on 'node110'
CRS-2673: Attempting to stop
'ora.ctssd' on 'node110'
CRS-2673: Attempting to stop 'ora.evmd'
on 'node110'
CRS-2673: Attempting to stop
'ora.cluster_interconnect.haip' on 'node110'
CRS-2673: Attempting to stop
'ora.mdnsd' on 'node110'
CRS-2677: Stop of
'ora.cluster_interconnect.haip' on 'node110' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'node110'
succeeded
CRS-2677: Stop of 'ora.ctssd' on 'node110'
succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'node110'
succeeded
CRS-2677: Stop of 'ora.evmd' on 'node110'
succeeded
CRS-2673: Attempting to stop
'ora.cssd' on 'node110'
CRS-2677: Stop of 'ora.cssd' on 'node110'
succeeded
CRS-2673: Attempting to stop
'ora.gipcd' on 'node110'
CRS-2677: Stop of 'ora.gipcd' on 'node110'
succeeded
CRS-2793: Shutdown of Oracle High
Availability Services-managed resources on 'node110' has completed
CRS-4133: Oracle High Availability
Services has been stopped.
2016/06/23 10:41:22 CLSRSC-4006:
Removing Oracle Trace File Analyzer (TFA) Collector.
2016/06/23 10:43:14 CLSRSC-4007:
Successfully removed Oracle Trace File Analyzer (TFA) Collector.
2016/06/23 10:43:15 CLSRSC-336:
Successfully deconfigured Oracle Clusterware stack on this node
2016/06/23 10:43:15 CLSRSC-559:
Ensure that the GPnP profile data under the 'gpnp' directory in /u01/app/12.1.0/grid
is deleted on each node before using the software in the current Grid
Infrastructure home for reconfiguration.
2016/06/23 10:43:16 CLSRSC-46:
Error: '/u01/app/grid/crsdata/node110/crsconfig/cluutil2.log' does not exist
2016/06/23 10:43:16 CLSRSC-46:
Error: '/u01/app/grid/crsdata/node110/crsconfig/cluutil2.log' does not exist
Node 2: Run this script as root – Marked in Red in above
log
[root@node111 tmp]#
/tmp/deinstall2016-06-23_10-32-40AM/perl/bin/perl -I/tmp/deinstall2016-06-23_10-32-40AM/perl/lib
-I/tmp/deinstall2016-06-23_10-32-40AM/crs/install
/tmp/deinstall2016-06-23_10-32-40AM/crs/install/rootcrs.pl -force -deconfig -paramfile
"/tmp/deinstall2016-06-23_10-32-40AM/response/deinstall_OraGI12Home1.rsp"
Using configuration parameter file:
/tmp/deinstall2016-06-23_10-32-40AM/response/deinstall_OraGI12Home1.rsp
Network 1 exists
Subnet IPv4:
10.201.6.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 node110
VIP Name: node110-vip.prod01.r-dc.net
VIP IPv4 Address: 10.201.6.20
VIP IPv6 Address:
VIP is enabled.
VIP is individually enabled on
nodes:
VIP is individually disabled on
nodes:
VIP exists: network number 1,
hosting node node111
VIP Name: node111-vip.prod01.r-dc.net
VIP IPv4 Address: 10.201.6.22
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 'node111'
CRS-2673: Attempting to stop
'ora.crsd' on 'node111'
CRS-2790: Starting shutdown of
Cluster Ready Services-managed resources on 'node111'
CRS-2673: Attempting to stop
'ora.asm' on 'node111'
CRS-2677: Stop of 'ora.asm' on 'node111'
succeeded
CRS-2792: Shutdown of Cluster Ready
Services-managed resources on 'node111' has completed
CRS-2677: Stop of 'ora.crsd' on 'node111'
succeeded
CRS-2673: Attempting to stop
'ora.crf' on 'node111'
CRS-2673: Attempting to stop
'ora.ctssd' on 'node111'
CRS-2673: Attempting to stop
'ora.evmd' on 'node111'
CRS-2673: Attempting to stop
'ora.asm' on 'node111'
CRS-2673: Attempting to stop
'ora.mdnsd' on 'node111'
CRS-2673: Attempting to stop
'ora.gpnpd' on 'node111'
CRS-2677: Stop of 'ora.ctssd' on 'node111'
succeeded
CRS-2677: Stop of 'ora.crf' on 'node111'
succeeded
CRS-2677: Stop of 'ora.evmd' on 'node111'
succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'node111'
succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'node111'
succeeded
CRS-2677: Stop of 'ora.asm' on 'node111'
succeeded
CRS-2673: Attempting to stop
'ora.cluster_interconnect.haip' on 'node111'
CRS-2677: Stop of
'ora.cluster_interconnect.haip' on 'node111' succeeded
CRS-2673: Attempting to stop
'ora.cssd' on 'node111'
CRS-2677: Stop of 'ora.cssd' on 'node111'
succeeded
CRS-2673: Attempting to stop
'ora.gipcd' on 'node111'
CRS-2677: Stop of 'ora.gipcd' on 'node111'
succeeded
CRS-2793: Shutdown of Oracle High
Availability Services-managed resources on 'node111' has completed
CRS-4133: Oracle High Availability
Services has been stopped.
2016/06/23 10:35:27 CLSRSC-4006:
Removing Oracle Trace File Analyzer (TFA) Collector.
2016/06/23 10:37:21 CLSRSC-4007:
Successfully removed Oracle Trace File Analyzer (TFA) Collector.
2016/06/23 10:37:23 CLSRSC-336:
Successfully deconfigured Oracle Clusterware stack on this node
2016/06/23 10:37:24 CLSRSC-46:
Error: '/u01/app/grid/crsdata/node111/crsconfig/cluutil2.log' does not exist
_____________________________________________________________________________________________________________________
0 comments:
Post a Comment