Category - RAC

Deinstall Failed Grid Setup 19c

Deinstall Failed 19c Grid SETUP
=================================
[grid@ace2oraclen11 ~]$ cd $ORACLE_HOME
[grid@ace2oraclen11 grid]$ cd deinstall/
[grid@ace2oraclen11 deinstall]$ ls -lrt
total 184
-rw-r-----. 1 grid oinstall   401 Feb 10  2012 readme.txt
-rwxr-x---. 1 grid oinstall 33333 Jan  7  2015 sshUserSetup.sh
-rw-r-----. 1 grid oinstall  8479 Sep 19  2017 deinstall.xml
-rwxr-x---. 1 grid oinstall 33171 Apr 17  2019 deinstall.pl
-rwxr-x---. 1 grid oinstall 14927 Apr 17  2019 bootstrap.pl
-rw-r-----. 1 grid oinstall 55480 Apr 17  2019 bootstrap_files.lst
drwxr-xr-x. 2 grid oinstall  4096 Apr 17  2019 response
drwxr-xr-x. 2 grid oinstall  4096 Apr 17  2019 utl
drwxr-xr-x. 2 grid oinstall  4096 Apr 17  2019 jlib
-rwxr-x---. 1 grid oinstall 11227 May  6 16:09 deinstall

[grid@ace2oraclen11 deinstall]$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2021-05-06_04-55-45PM/logs/

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

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

Checking for existence of the Oracle home location /grid_home/app/19c/grid
Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Cluster
Oracle Base selected for deinstall is: /grid_home/app/oracle
Checking for existence of central inventory location /grid_home/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /grid_home/app/19c/grid
The following nodes are part of this cluster: ace2oraclen11,ace2oraclen12
Active Remote Nodes are ace2oraclen12
Checking for sufficient temp space availability on node(s) : 'ace2oraclen11,ace2oraclen12'

## [END] Install check configuration ##

Traces log file: /tmp/deinstall2021-05-06_04-55-45PM/logs//crsdc_2021-05-06_04-56-01-PM.log

Network Configuration check config START

Network de-configuration trace file location: /tmp/deinstall2021-05-06_04-55-45PM/logs/netdc_check2021-05-06_04-56-01PM.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/deinstall2021-05-06_04-55-45PM/logs/asmcadc_check2021-05-06_04-56-01PM.log

Automatic Storage Management (ASM) instance is detected in this Oracle home /grid_home/app/19c/grid.
ASM Diagnostic Destination : /grid_home/app/oracle
ASM Diskgroups : +OCR_VOTE
ASM diskstring : /dev/oracleasm/disks*
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 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]: y
Enter the OCR/Voting Disk diskgroup name [+OCR_VOTE]:
Specify the ASM Diagnostic Destination [/grid_home/app/oracle]:
Specify the diskstring [/dev/oracleasm/disks*]:
Specify the diskgroups that are managed by this ASM instance [+OCR_VOTE]:

De-configuring ASM will drop the diskgroups at cleanup time. Do you want deconfig tool to drop the diskgroups (y|n) [y]: y

Database Check Configuration START

Database de-configuration trace file location: /tmp/deinstall2021-05-06_04-55-45PM/logs/databasedc_check2021-05-06_04-56-01PM.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: /grid_home/app/19c/grid
The following nodes are part of this cluster: ace2oraclen11,ace2oraclen12
Active Remote Nodes are ace2oraclen12
The cluster node(s) on which the Oracle home deinstallation will be performed are:ace2oraclen11,ace2oraclen12
Oracle Home selected for deinstall is: /grid_home/app/19c/grid
Inventory Location where the Oracle home registered is: /grid_home/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/deinstall2021-05-06_04-55-45PM/logs/deinstall_deconfig2021-05-06_04-55-52-PM.out'
Any error messages from this session will be written to: '/tmp/deinstall2021-05-06_04-55-45PM/logs/deinstall_deconfig2021-05-06_04-55-52-PM.err'

######################## DECONFIG CLEAN OPERATION START ########################
Database de-configuration trace file location: /tmp/deinstall2021-05-06_04-55-45PM/logs/databasedc_clean2021-05-06_04-56-01PM.log
This operation may take few minutes.

ASM de-configuration trace file location: /tmp/deinstall2021-05-06_04-55-45PM/logs/asmcadc_clean2021-05-06_04-56-01PM.log
ASM Clean Configuration START
ASM Clean Configuration END

Network Configuration clean config START

Network de-configuration trace file location: /tmp/deinstall2021-05-06_04-55-45PM/logs/netdc_clean2021-05-06_04-56-01PM.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 "ace2oraclen12".

/grid_home/app/19c/grid/crs/install/rootcrs.sh -force  -deconfig -paramfile "/tmp/deinstall2021-05-06_04-55-45PM/response/deinstall_OraGI19Home1.rsp"

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

/grid_home/app/19c/grid/crs/install/rootcrs.sh -force  -deconfig -paramfile "/tmp/deinstall2021-05-06_04-55-45PM/response/deinstall_OraGI19Home1.rsp" -lastnode

Press Enter after you finish running the above commands

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

---------------------------------------->

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 "ace2oraclen12".

/grid_home/app/19c/grid/crs/install/rootcrs.sh -force  -deconfig -paramfile "/tmp/deinstall2021-05-06_04-55-45PM/response/deinstall_OraGI19Home1.rsp"

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

/grid_home/app/19c/grid/crs/install/rootcrs.sh -force  -deconfig -paramfile "/tmp/deinstall2021-05-06_04-55-45PM/response/deinstall_OraGI19Home1.rsp" -lastnode

Press Enter after you finish running the above commands

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

---------------------------------------->

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 "ace2oraclen12".

/grid_home/app/19c/grid/crs/install/rootcrs.sh -force  -deconfig -paramfile "/tmp/deinstall2021-05-06_04-55-45PM/response/deinstall_OraGI19Home1.rsp"

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

/grid_home/app/19c/grid/crs/install/rootcrs.sh -force  -deconfig -paramfile "/tmp/deinstall2021-05-06_04-55-45PM/response/deinstall_OraGI19Home1.rsp" -lastnode

Press Enter after you finish running the above commands

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

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

####################### 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 "ace2oraclen12"
Oracle Clusterware is stopped and successfully de-configured on node "ace2oraclen11"
Oracle Clusterware is stopped and de-configured successfully.
#######################################################################

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

Using properties file /tmp/deinstall2021-05-06_04-55-45PM/response/deinstall_2021-05-06_04-55-52-PM.rsp
Location of logs /tmp/deinstall2021-05-06_04-55-45PM/logs/

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

####################### DEINSTALL CHECK OPERATION SUMMARY #######################
A log of this session will be written to: '/tmp/deinstall2021-05-06_04-55-45PM/logs/deinstall_deconfig2021-05-06_04-55-52-PM.out'
Any error messages from this session will be written to: '/tmp/deinstall2021-05-06_04-55-45PM/logs/deinstall_deconfig2021-05-06_04-55-52-PM.err'

######################## DEINSTALL CLEAN OPERATION START ########################
## [START] Preparing for Deinstall ##
Setting LOCAL_NODE to ace2oraclen11
Setting REMOTE_NODES to ace2oraclen12
Setting CLUSTER_NODES to ace2oraclen11,ace2oraclen12
Setting CRS_HOME to true
Setting oracle.installer.invPtrLoc to /tmp/deinstall2021-05-06_04-55-45PM/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 '/grid_home/app/19c/grid' from the central inventory on the local node : Done

Delete directory '/grid_home/app/19c/grid' on the local node : Done

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

The Oracle Base directory '/grid_home/app/oracle' will not be removed on local node. The directory is not empty. User needs to manually cleanup this directory.

Detach Oracle home '/grid_home/app/19c/grid' from the central inventory on the remote nodes 'ace2oraclen12' : Done

Delete directory '/grid_home/app/19c/grid' on the remote nodes 'ace2oraclen12' : Done

Delete directory '/grid_home/app/oraInventory' on the remote nodes 'ace2oraclen12' : Done

Delete directory '/grid_home/app/oracle' on the remote nodes 'ace2oraclen12' : Done

Oracle Universal Installer cleanup was successful.

Oracle Universal Installer clean END

## [START] Oracle install clean ##

Clean install operation removing temporary directory '/tmp/deinstall2021-05-06_04-55-45PM' on node 'ace2oraclen12'

## [END] Oracle install clean ##

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

####################### DEINSTALL CLEAN OPERATION SUMMARY #######################
Successfully detached Oracle home '/grid_home/app/19c/grid' from the central inventory on the local node.
Successfully deleted directory '/grid_home/app/19c/grid' on the local node.
Successfully deleted directory '/grid_home/app/oraInventory' on the local node.
Successfully detached Oracle home '/grid_home/app/19c/grid' from the central inventory on the remote nodes 'ace2oraclen12'.
Successfully deleted directory '/grid_home/app/19c/grid' on the remote nodes 'ace2oraclen12'.
Successfully deleted directory '/grid_home/app/oraInventory' on the remote nodes 'ace2oraclen12'.
Successfully deleted directory '/grid_home/app/oracle' on the remote nodes 'ace2oraclen12'.
Oracle Universal Installer cleanup was successful.

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

Run 'rm -r /opt/ORCLfmap' as root on node(s) 'ace2oraclen11,ace2oraclen12' at the end of the session.
Review the permissions and contents of '/grid_home/app/oracle' on nodes(s) 'ace2oraclen11'.
If there are no Oracle home(s) associated with '/grid_home/app/oracle', manually delete '/grid_home/app/oracle' and its contents.
Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################

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

[grid@ace2oraclen11 deinstall]$
[grid@ace2oraclen11 deinstall]$
[grid@ace2oraclen11 deinstall]$
[grid@ace2oraclen11 deinstall]$
[grid@ace2oraclen11 deinstall]$

 

 


**********************************************************ON REMOTE NODE ********************

[root@ace2oraclen12 ~]# /grid_home/app/19c/grid/crs/install/rootcrs.sh -force  -deconfig -paramfile "/tmp/deinstall2021-05-06_04-55-45PM/response/deinstall_OraGI19Home1.rsp"
Using configuration parameter file: /tmp/deinstall2021-05-06_04-55-45PM/response/deinstall_OraGI19Home1.rsp
The log of current session can be found at:
  /tmp/deinstall2021-05-06_04-55-45PM/logs/crsdeconfig_ace2oraclen12_2021-05-06_05-00-05PM.log

2021/05/06 17:02:23 CLSRSC-4006: Removing Oracle Trace File Analyzer (TFA) Collector.
2021/05/06 17:04:21 CLSRSC-4007: Successfully removed Oracle Trace File Analyzer (TFA) Collector.
2021/05/06 17:04:22 CLSRSC-336: Successfully deconfigured Oracle Clusterware stack on this node
[root@ace2oraclen12 ~]#
[root@ace2oraclen12 ~]#
[root@ace2oraclen12 ~]#
[root@ace2oraclen12 ~]#
[root@ace2oraclen12 ~]# cd /grid_home/
[root@ace2oraclen12 grid_home]# ls -lrat
total 28
drwx------.  2 root root     16384 May  6 15:20 lost+found
drwxr-xr-x.  4 grid oinstall  4096 May  6 15:30 .
dr-xr-xr-x. 19 root root      4096 May  6 16:32 ..
drwxr-xr-x.  3 grid oinstall  4096 May  6 17:14 app
[root@ace2oraclen12 grid_home]#
[root@ace2oraclen12 grid_home]#
[root@ace2oraclen12 grid_home]# cd app/
[root@ace2oraclen12 app]# ls -lrat
total 12
drwxr-xr-x. 4 grid oinstall 4096 May  6 15:30 ..
drwxr-xr-x. 2 grid oinstall 4096 May  6 17:14 19c
drwxr-xr-x. 3 grid oinstall 4096 May  6 17:14 .
[root@ace2oraclen12 app]#
[root@ace2oraclen12 app]#
[root@ace2oraclen12 app]# cd 19c/
[root@ace2oraclen12 19c]# ls -lrat
total 8
drwxr-xr-x. 2 grid oinstall 4096 May  6 17:14 .
drwxr-xr-x. 3 grid oinstall 4096 May  6 17:14 ..
[root@ace2oraclen12 19c]#
[root@ace2oraclen12 19c]#
[root@ace2oraclen12 19c]#


**********************************************************ON LOCAL NODE ********************
[root@ace2oraclen11 logs]# /grid_home/app/19c/grid/crs/install/rootcrs.sh -force  -deconfig -paramfile "/tmp/deinstall2021-05-06_04-55-45PM/response/deinstall_OraGI19Home1.rsp" -lastnode
Using configuration parameter file: /tmp/deinstall2021-05-06_04-55-45PM/response/deinstall_OraGI19Home1.rsp
The log of current session can be found at:
  /tmp/deinstall2021-05-06_04-55-45PM/logs/crsdeconfig_ace2oraclen11_2021-05-06_05-04-47PM.log

CRS-2673: Attempting to stop 'ora.crsd' on 'ace2oraclen11'
CRS-2677: Stop of 'ora.crsd' on 'ace2oraclen11' succeeded
ASM de-configuration trace file location: /tmp/deinstall2021-05-06_04-55-45PM/logs/asmcadc_clean2021-05-06_05-07-50PM.log
ASM Clean Configuration START
ASM Clean Configuration END

ASM instance deleted successfully. Check /tmp/deinstall2021-05-06_04-55-45PM/logs/asmcadc_clean2021-05-06_05-07-50PM.log for details.

2021/05/06 17:10:03 CLSRSC-4006: Removing Oracle Trace File Analyzer (TFA) Collector.

2021/05/06 17:11:57 CLSRSC-4007: Successfully removed Oracle Trace File Analyzer (TFA) Collector.
2021/05/06 17:12:00 CLSRSC-336: Successfully deconfigured Oracle Clusterware stack on this node
2021/05/06 17:12:00 CLSRSC-559: Ensure that the GPnP profile data under the 'gpnp' directory in /grid_home/app/19c/grid is deleted on each node before using the software in the current Grid Infrastructure home for reconfiguration.
[root@ace2oraclen11 logs]#
[root@ace2oraclen11 logs]#
[root@ace2oraclen11 logs]#
[root@ace2oraclen11 logs]#
[root@ace2oraclen11 logs]#

**********************************************************ON INVOKER NODE (After Pressing Enter in STEP 1) ********************

---------------------------------------->

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 "ace2oraclen12".

/grid_home/app/19c/grid/crs/install/rootcrs.sh -force  -deconfig -paramfile "/tmp/deinstall2021-05-06_04-55-45PM/response/deinstall_OraGI19Home1.rsp"

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

/grid_home/app/19c/grid/crs/install/rootcrs.sh -force  -deconfig -paramfile "/tmp/deinstall2021-05-06_04-55-45PM/response/deinstall_OraGI19Home1.rsp" -lastnode

Press Enter after you finish running the above commands

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


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


####################### 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 "ace2oraclen12"
Oracle Clusterware is stopped and successfully de-configured on node "ace2oraclen11"
Oracle Clusterware is stopped and de-configured successfully.
#######################################################################


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

Using properties file /tmp/deinstall2021-05-06_04-55-45PM/response/deinstall_2021-05-06_04-55-52-PM.rsp
Location of logs /tmp/deinstall2021-05-06_04-55-45PM/logs/

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

 

 

####################### DEINSTALL CHECK OPERATION SUMMARY #######################
A log of this session will be written to: '/tmp/deinstall2021-05-06_04-55-45PM/logs/deinstall_deconfig2021-05-06_04-55-52-PM.out'
Any error messages from this session will be written to: '/tmp/deinstall2021-05-06_04-55-45PM/logs/deinstall_deconfig2021-05-06_04-55-52-PM.err'

######################## DEINSTALL CLEAN OPERATION START ########################
## [START] Preparing for Deinstall ##
Setting LOCAL_NODE to ace2oraclen11
Setting REMOTE_NODES to ace2oraclen12
Setting CLUSTER_NODES to ace2oraclen11,ace2oraclen12
Setting CRS_HOME to true
Setting oracle.installer.invPtrLoc to /tmp/deinstall2021-05-06_04-55-45PM/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 '/grid_home/app/19c/grid' from the central inventory on the local node : Done

Delete directory '/grid_home/app/19c/grid' on the local node : Done

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

The Oracle Base directory '/grid_home/app/oracle' will not be removed on local node. The directory is not empty. User needs to manually cleanup this directory.

Detach Oracle home '/grid_home/app/19c/grid' from the central inventory on the remote nodes 'ace2oraclen12' : Done

Delete directory '/grid_home/app/19c/grid' on the remote nodes 'ace2oraclen12' : Done

Delete directory '/grid_home/app/oraInventory' on the remote nodes 'ace2oraclen12' : Done

Delete directory '/grid_home/app/oracle' on the remote nodes 'ace2oraclen12' : Done

Oracle Universal Installer cleanup was successful.

Oracle Universal Installer clean END


## [START] Oracle install clean ##

Clean install operation removing temporary directory '/tmp/deinstall2021-05-06_04-55-45PM' on node 'ace2oraclen12'

## [END] Oracle install clean ##


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


####################### DEINSTALL CLEAN OPERATION SUMMARY #######################
Successfully detached Oracle home '/grid_home/app/19c/grid' from the central inventory on the local node.
Successfully deleted directory '/grid_home/app/19c/grid' on the local node.
Successfully deleted directory '/grid_home/app/oraInventory' on the local node.
Successfully detached Oracle home '/grid_home/app/19c/grid' from the central inventory on the remote nodes 'ace2oraclen12'.
Successfully deleted directory '/grid_home/app/19c/grid' on the remote nodes 'ace2oraclen12'.
Successfully deleted directory '/grid_home/app/oraInventory' on the remote nodes 'ace2oraclen12'.
Successfully deleted directory '/grid_home/app/oracle' on the remote nodes 'ace2oraclen12'.
Oracle Universal Installer cleanup was successful.


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

Run 'rm -r /opt/ORCLfmap' as root on node(s) 'ace2oraclen11,ace2oraclen12' at the end of the session.
Review the permissions and contents of '/grid_home/app/oracle' on nodes(s) 'ace2oraclen11'.
If there are no Oracle home(s) associated with '/grid_home/app/oracle', manually delete '/grid_home/app/oracle' and its contents.
Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################


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

[grid@ace2oraclen11 deinstall]$