Go to $ORACLE_HOME/deinstall directory

[oracle@ol6-18-rac2 deinstall]$ pwd
/home/oracle/12.2.0.1_sw/deinstall

run deinstall

[oracle@ol6-18-rac2 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 ##


User equivalence is not set on the node(s) 'ol6-18-rac1'
Run '/tmp/deinstall2021-10-06_12-54-12PM/sshUserSetup.sh -hosts "ol6-18-rac2 ol6-18-rac1" -user oracle' from the local node 'ol6-18-rac2' and rerun the tool again.
ERROR: Exited from Program.

to resolve this run this from deinstall directory

[oracle@ol6-18-rac2 deinstall]$ ./sshUserSetup.sh -hosts "ol6-18-rac2 ol6-18-rac1" -user oracle
The output of this script is also logged into /tmp/sshUserSetup_2021-10-06-13-09-39.log
Hosts are ol6-18-rac2 ol6-18-rac1
user is oracle
Platform:- Linux
Checking if the remote hosts are reachable
PING ol6-18-rac2.localdomain (192.168.189.152) 56(84) bytes of data.
64 bytes from ol6-18-rac2.localdomain (192.168.189.152): icmp_seq=1 ttl=64 time=0.010 ms
64 bytes from ol6-18-rac2.localdomain (192.168.189.152): icmp_seq=2 ttl=64 time=0.019 ms
64 bytes from ol6-18-rac2.localdomain (192.168.189.152): icmp_seq=3 ttl=64 time=0.024 ms
64 bytes from ol6-18-rac2.localdomain (192.168.189.152): icmp_seq=4 ttl=64 time=0.021 ms
64 bytes from ol6-18-rac2.localdomain (192.168.189.152): icmp_seq=5 ttl=64 time=0.058 ms

--- ol6-18-rac2.localdomain ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4000ms
rtt min/avg/max/mdev = 0.010/0.026/0.058/0.017 ms
PING ol6-18-rac1.localdomain (192.168.189.151) 56(84) bytes of data.
64 bytes from ol6-18-rac1.localdomain (192.168.189.151): icmp_seq=1 ttl=64 time=0.409 ms
64 bytes from ol6-18-rac1.localdomain (192.168.189.151): icmp_seq=2 ttl=64 time=0.734 ms
64 bytes from ol6-18-rac1.localdomain (192.168.189.151): icmp_seq=3 ttl=64 time=0.363 ms
64 bytes from ol6-18-rac1.localdomain (192.168.189.151): icmp_seq=4 ttl=64 time=0.597 ms
64 bytes from ol6-18-rac1.localdomain (192.168.189.151): icmp_seq=5 ttl=64 time=0.588 ms

--- ol6-18-rac1.localdomain ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4001ms
rtt min/avg/max/mdev = 0.363/0.538/0.734/0.136 ms
Remote host reachability check succeeded.
The following hosts are reachable: ol6-18-rac2 ol6-18-rac1.
The following hosts are not reachable: .
All hosts are reachable. Proceeding further...
firsthost ol6-18-rac2
numhosts 2
The script will setup SSH connectivity from the host ol6-18-rac2.localdomain to all
the remote hosts. After the script is executed, the user can use SSH to run
commands on the remote hosts or copy files between this host ol6-18-rac2.localdomain
and the remote hosts without being prompted for passwords or confirmations.

NOTE 1:
As part of the setup procedure, this script will use ssh and scp to copy
files between the local host and the remote hosts. Since the script does not
store passwords, you may be prompted for the passwords during the execution of
the script whenever ssh or scp is invoked.

NOTE 2:
AS PER SSH REQUIREMENTS, THIS SCRIPT WILL SECURE THE USER HOME DIRECTORY
AND THE .ssh DIRECTORY BY REVOKING GROUP AND WORLD WRITE PRIVILEGES TO THESE
directories.

Do you want to continue and let the script make the above mentioned changes (yes/no)?
yes

The user chose yes
Please specify if you want to specify a passphrase for the private key this script will create for the local host. Passphrase is used to encrypt the private key and makes SSH much more secure. Type 'yes' or 'no' and then press enter. In case you press 'yes', you would need to enter the passphrase whenever the script executes ssh or scp. no
The estimated number of times the user would be prompted for a passphrase is 4. In addition, if the private-public files are also newly created, the user would have to specify the passphrase on one additional occasion.
Enter 'yes' or 'no'.
no

The user chose no
The files containing the client public and private keys already exist on the local host. The current private key may have a passphrase associated with it. In case you find using passphrase inconvenient(although it is more secure), you can change to it empty through this script. Press 'change' if you want the script to change the passphrase for you. Press 'no' if you want to use your old passphrase, if you had one.
no
The user chose no
Creating .ssh directory on local host, if not present already
Creating authorized_keys file on local host
Changing permissions on authorized_keys to 644 on local host
Creating known_hosts file on local host
Changing permissions on known_hosts to 644 on local host
Creating config file on local host
If a config file exists already at /home/oracle/.ssh/config, it would be backed up to /home/oracle/.ssh/config.backup.
Creating .ssh directory and setting permissions on remote host ol6-18-rac2
THE SCRIPT WOULD ALSO BE REVOKING WRITE PERMISSIONS FOR group AND others ON THE HOME DIRECTORY FOR oracle. THIS IS AN SSH REQUIREMENT.
The script would create ~oracle/.ssh/config file on remote host ol6-18-rac2. If a config file exists already at ~oracle/.ssh/config, it would be backed up to ~oracle/.ssh/config.backup.
The user may be prompted for a password here since the script would be running SSH on host ol6-18-rac2.
Warning: Permanently added 'ol6-18-rac2,192.168.189.152' (RSA) to the list of known hosts.
oracle@ol6-18-rac2's password:
Done with creating .ssh directory and setting permissions on remote host ol6-18-rac2.
Creating .ssh directory and setting permissions on remote host ol6-18-rac1
THE SCRIPT WOULD ALSO BE REVOKING WRITE PERMISSIONS FOR group AND others ON THE HOME DIRECTORY FOR oracle. THIS IS AN SSH REQUIREMENT.
The script would create ~oracle/.ssh/config file on remote host ol6-18-rac1. If a config file exists already at ~oracle/.ssh/config, it would be backed up to ~oracle/.ssh/config.backup.
The user may be prompted for a password here since the script would be running SSH on host ol6-18-rac1.
Warning: Permanently added 'ol6-18-rac1,192.168.189.151' (RSA) to the list of known hosts.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0777 for '/home/oracle/.ssh/identity' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /home/oracle/.ssh/identity
Done with creating .ssh directory and setting permissions on remote host ol6-18-rac1.
Copying local host public key to the remote host ol6-18-rac2
The user may be prompted for a password or passphrase here since the script would be using SCP for host ol6-18-rac2.
oracle@ol6-18-rac2's password:
Done copying local host public key to the remote host ol6-18-rac2
Copying local host public key to the remote host ol6-18-rac1
The user may be prompted for a password or passphrase here since the script would be using SCP for host ol6-18-rac1.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0777 for '/home/oracle/.ssh/identity' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /home/oracle/.ssh/identity
Done copying local host public key to the remote host ol6-18-rac1
cat: /home/oracle/.ssh/known_hosts.tmp: No such file or directory
cat: /home/oracle/.ssh/authorized_keys.tmp: No such file or directory
SSH setup is complete.

------------------------------------------------------------------------
Verifying SSH setup
===================
The script will now run the date command on the remote nodes using ssh
to verify if ssh is setup correctly. IF THE SETUP IS CORRECTLY SETUP,
THERE SHOULD BE NO OUTPUT OTHER THAN THE DATE AND SSH SHOULD NOT ASK FOR
PASSWORDS. If you see any output other than date or are prompted for the
password, ssh is not setup correctly and you will need to resolve the
issue and set up ssh again.
The possible causes for failure could be:
1. The server settings in /etc/ssh/sshd_config file do not allow ssh
for user oracle.
2. The server may have disabled public key based authentication.
3. The client public key on the server may be outdated.
4. ~oracle or ~oracle/.ssh on the remote host may not be owned by oracle.
5. User may not have passed -shared option for shared remote users or
may be passing the -shared option for non-shared remote users.
6. If there is output in addition to the date, but no password is asked,
it may be a security alert shown as part of company policy. Append the
additional text to the <OMS HOME>/sysman/prov/resources/ignoreMessages.txt file.
------------------------------------------------------------------------
--ol6-18-rac2:--
Running /usr/bin/ssh -x -l oracle ol6-18-rac2 date to verify SSH connectivity has been setup from local host to ol6-18-rac2.
IF YOU SEE ANY OTHER OUTPUT BESIDES THE OUTPUT OF THE DATE COMMAND OR IF YOU ARE PROMPTED FOR A PASSWORD HERE, IT MEANS SSH SETUP HAS NOT BEEN SUCCESSFUL. Please note that being prompted for a passphrase may be OK but being prompted for a password is ERROR.
Wed Oct  6 13:10:10 IST 2021
------------------------------------------------------------------------
--ol6-18-rac1:--
Running /usr/bin/ssh -x -l oracle ol6-18-rac1 date to verify SSH connectivity has been setup from local host to ol6-18-rac1.
IF YOU SEE ANY OTHER OUTPUT BESIDES THE OUTPUT OF THE DATE COMMAND OR IF YOU ARE PROMPTED FOR A PASSWORD HERE, IT MEANS SSH SETUP HAS NOT BEEN SUCCESSFUL. Please note that being prompted for a passphrase may be OK but being prompted for a password is ERROR.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0777 for '/home/oracle/.ssh/identity' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /home/oracle/.ssh/identity
Wed Oct  6 13:10:10 IST 2021
------------------------------------------------------------------------
SSH verification complete.

there is a know issue during above ssh setup

Running /usr/bin/ssh -x -l oracle ol6-18-rac1 date to verify SSH connectivity has been setup from local host to ol6-18-rac1.
IF YOU SEE ANY OTHER OUTPUT BESIDES THE OUTPUT OF THE DATE COMMAND OR IF YOU ARE PROMPTED FOR A PASSWORD HERE, IT MEANS SSH SETUP HAS NOT BEEN SUCCESSFUL. Please note that being prompted for a passphrase may be OK but being prompted for a password is ERROR.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0777 for '/home/oracle/.ssh/identity' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /home/oracle/.ssh/identity
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0777 for '/home/oracle/.ssh/id_rsa' are too open.
It is required that your private key files are NOT accessible by others.


to over come that change the permission to 600

[root@ol6-18-rac1 trace]# su - oracle
[oracle@ol6-18-rac1 ~]$ chmod 600 ~/.ssh/id_rsa

[oracle@ol6-18-rac2 ~]$ chmod 600 ~/.ssh/id_rsa


now run the deinstall again

[oracle@ol6-18-rac2 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 /home/oracle/12.2.0.1_sw
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 /home/oracle/12.2.0.1_sw
The following nodes are part of this cluster: ol6-18-rac2,ol6-18-rac1
Active Remote Nodes are ol6-18-rac1
Checking for sufficient temp space availability on node(s) : 'ol6-18-rac2,ol6-18-rac1'

## [END] Install check configuration ##

Traces log file: /u01/app/oraInventory/logs//crsdc_2021-10-06_01-11-24-PM.log

Network Configuration check config START

Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_check2021-10-06_01-11-25-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: /u01/app/oraInventory/logs/asmcadc_check2021-10-06_01-15-36-PM.log

Automatic Storage Management (ASM) instance is detected in this Oracle home /home/oracle/12.2.0.1_sw.
ASM Diagnostic Destination : /u01/app/oracle
ASM Diskgroups : +DATA
ASM diskstring : /dev/asm*
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]:
Database Check Configuration START

Database de-configuration trace file location: /u01/app/oraInventory/logs/databasedc_check2021-10-06_01-16-35-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: /home/oracle/12.2.0.1_sw
The following nodes are part of this cluster: ol6-18-rac2,ol6-18-rac1
Active Remote Nodes are ol6-18-rac1
The cluster node(s) on which the Oracle home deinstallation will be performed are:ol6-18-rac2,ol6-18-rac1
Oracle Home selected for deinstall is: /home/oracle/12.2.0.1_sw
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: '/u01/app/oraInventory/logs/deinstall_deconfig2021-10-06_01-11-09-PM.out'
Any error messages from this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2021-10-06_01-11-09-PM.err'

######################## DECONFIG CLEAN OPERATION START ########################
Database de-configuration trace file location: /u01/app/oraInventory/logs/databasedc_clean2021-10-06_01-17-30-PM.log
This operation may take few minutes.
ASM de-configuration trace file location: /u01/app/oraInventory/logs/asmcadc_clean2021-10-06_01-17-50-PM.log
ASM Clean Configuration START
ASM Clean Configuration END

Network Configuration clean config START

Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_clean2021-10-06_01-17-51-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 "ol6-18-rac1".

/home/oracle/12.2.0.1_sw/crs/install/rootcrs.sh -force  -deconfig -paramfile "/tmp/deinstall2021-10-06_01-10-35PM/response/deinstall_OraGI12Home1.rsp"

Run the following command as the root user or the administrator on node "ol6-18-rac2".

/home/oracle/12.2.0.1_sw/crs/install/rootcrs.sh -force  -deconfig -paramfile "/tmp/deinstall2021-10-06_01-10-35PM/response/deinstall_OraGI12Home1.rsp" -lastnode

Press Enter after you finish running the above commands

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

at this stage first go to remote node and then from local node run the above scripts

remote node

[root@ol6-18-rac1 ~]# /home/oracle/12.2.0.1_sw/crs/install/rootcrs.sh -force  -deconfig -paramfile "/tmp/deinstall2021-10-06_01-10-35PM/response/deinstall_OraGI12Home1.rsp"
Using configuration parameter file: /tmp/deinstall2021-10-06_01-10-35PM/response/deinstall_OraGI12Home1.rsp
The log of current session can be found at:
  /u01/app/oraInventory/logs/crsdeconfig_ol6-18-rac1_2021-10-06_01-21-01PM.log
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'ol6-18-rac1'
CRS-2673: Attempting to stop 'ora.crsd' on 'ol6-18-rac1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on server 'ol6-18-rac1'
CRS-2673: Attempting to stop 'ora.chad' on 'ol6-18-rac1'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'ol6-18-rac1'
CRS-2677: Stop of 'ora.DATA.dg' on 'ol6-18-rac1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'ol6-18-rac1'
CRS-2677: Stop of 'ora.asm' on 'ol6-18-rac1' succeeded
CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'ol6-18-rac1'
CRS-2677: Stop of 'ora.chad' on 'ol6-18-rac1' succeeded
CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'ol6-18-rac1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'ol6-18-rac1' has completed
CRS-2677: Stop of 'ora.crsd' on 'ol6-18-rac1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'ol6-18-rac1'
CRS-2673: Attempting to stop 'ora.crf' on 'ol6-18-rac1'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'ol6-18-rac1'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'ol6-18-rac1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'ol6-18-rac1'
CRS-2677: Stop of 'ora.drivers.acfs' on 'ol6-18-rac1' succeeded
CRS-2677: Stop of 'ora.crf' on 'ol6-18-rac1' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'ol6-18-rac1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'ol6-18-rac1' succeeded
CRS-2677: Stop of 'ora.asm' on 'ol6-18-rac1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'ol6-18-rac1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'ol6-18-rac1' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'ol6-18-rac1'
CRS-2673: Attempting to stop 'ora.evmd' on 'ol6-18-rac1'
CRS-2677: Stop of 'ora.ctssd' on 'ol6-18-rac1' succeeded
CRS-2677: Stop of 'ora.evmd' on 'ol6-18-rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'ol6-18-rac1'
CRS-2677: Stop of 'ora.cssd' on 'ol6-18-rac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'ol6-18-rac1'
CRS-2677: Stop of 'ora.gipcd' on 'ol6-18-rac1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'ol6-18-rac1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
2021/10/06 13:22:40 CLSRSC-4006: Removing Oracle Trace File Analyzer (TFA) Collector.
2021/10/06 13:23:07 CLSRSC-4007: Successfully removed Oracle Trace File Analyzer (TFA) Collector.
2021/10/06 13:23:08 CLSRSC-336: Successfully deconfigured Oracle Clusterware stack on this node
2021/10/06 13:23:09 CLSRSC-180: An error occurred while executing the command 'cluutil -chkshare -oh /u01/app/oracle/diag -localnode ol6-18-rac1 -nodelist ol6-18-rac1,ol6-18-rac2'
Died at /home/oracle/12.2.0.1_sw/crs/install/crsutils.pm line 11988.
The command '/home/oracle/12.2.0.1_sw/perl/bin/perl -I/home/oracle/12.2.0.1_sw/perl/lib -I/home/oracle/12.2.0.1_sw/crs/install /home/oracle/12.2.0.1_sw/crs/install/rootcrs.pl -force -deconfig -paramfile /tmp/deinstall2021-10-06_01-10-35PM/response/deinstall_OraGI12Home1.rsp' execution failed
[root@ol6-18-rac1 ~]#

on local node

[root@ol6-18-rac2 ~]# /home/oracle/12.2.0.1_sw/crs/install/rootcrs.sh -force  -deconfig -paramfile "/tmp/deinstall2021-10-06_01-10-35PM/response/deinstall_OraGI12Home1.rsp" -lastnode
Using configuration parameter file: /tmp/deinstall2021-10-06_01-10-35PM/response/deinstall_OraGI12Home1.rsp
The log of current session can be found at:
  /u01/app/oraInventory/logs/crsdeconfig_ol6-18-rac2_2021-10-06_01-24-22PM.log
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'ol6-18-rac2'
CRS-2673: Attempting to stop 'ora.crsd' on 'ol6-18-rac2'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on server 'ol6-18-rac2'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'ol6-18-rac2'
CRS-2677: Stop of 'ora.DATA.dg' on 'ol6-18-rac2' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'ol6-18-rac2'
CRS-2677: Stop of 'ora.asm' on 'ol6-18-rac2' succeeded
CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'ol6-18-rac2'
CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'ol6-18-rac2' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'ol6-18-rac2' has completed
CRS-2677: Stop of 'ora.crsd' on 'ol6-18-rac2' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'ol6-18-rac2'
CRS-2673: Attempting to stop 'ora.crf' on 'ol6-18-rac2'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'ol6-18-rac2'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'ol6-18-rac2'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'ol6-18-rac2'
CRS-2677: Stop of 'ora.drivers.acfs' on 'ol6-18-rac2' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'ol6-18-rac2' succeeded
CRS-2677: Stop of 'ora.crf' on 'ol6-18-rac2' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'ol6-18-rac2' succeeded
CRS-2677: Stop of 'ora.asm' on 'ol6-18-rac2' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'ol6-18-rac2'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'ol6-18-rac2' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'ol6-18-rac2'
CRS-2673: Attempting to stop 'ora.evmd' on 'ol6-18-rac2'
CRS-2677: Stop of 'ora.ctssd' on 'ol6-18-rac2' succeeded
CRS-2677: Stop of 'ora.evmd' on 'ol6-18-rac2' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'ol6-18-rac2'
CRS-2677: Stop of 'ora.cssd' on 'ol6-18-rac2' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'ol6-18-rac2'
CRS-2677: Stop of 'ora.gipcd' on 'ol6-18-rac2' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'ol6-18-rac2' 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 'ol6-18-rac2'
CRS-2672: Attempting to start 'ora.mdnsd' on 'ol6-18-rac2'
CRS-2676: Start of 'ora.evmd' on 'ol6-18-rac2' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'ol6-18-rac2' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'ol6-18-rac2'
CRS-2676: Start of 'ora.gpnpd' on 'ol6-18-rac2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'ol6-18-rac2'
CRS-2672: Attempting to start 'ora.gipcd' on 'ol6-18-rac2'
CRS-2676: Start of 'ora.cssdmonitor' on 'ol6-18-rac2' succeeded
CRS-2676: Start of 'ora.gipcd' on 'ol6-18-rac2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'ol6-18-rac2'
CRS-2672: Attempting to start 'ora.diskmon' on 'ol6-18-rac2'
CRS-2676: Start of 'ora.diskmon' on 'ol6-18-rac2' succeeded
CRS-2676: Start of 'ora.cssd' on 'ol6-18-rac2' succeeded
CRS-2672: Attempting to start 'ora.crf' on 'ol6-18-rac2'
CRS-2672: Attempting to start 'ora.ctssd' on 'ol6-18-rac2'
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'ol6-18-rac2'
CRS-2676: Start of 'ora.crf' on 'ol6-18-rac2' succeeded
CRS-2676: Start of 'ora.ctssd' on 'ol6-18-rac2' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'ol6-18-rac2' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'ol6-18-rac2'
CRS-2676: Start of 'ora.asm' on 'ol6-18-rac2' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'ol6-18-rac2'
CRS-2676: Start of 'ora.storage' on 'ol6-18-rac2' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'ol6-18-rac2'
CRS-2676: Start of 'ora.crsd' on 'ol6-18-rac2' succeeded
CRS-2673: Attempting to stop 'ora.crsd' on 'ol6-18-rac2'
CRS-2677: Stop of 'ora.crsd' on 'ol6-18-rac2' succeeded
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'ol6-18-rac2'
CRS-2673: Attempting to stop 'ora.ctssd' on 'ol6-18-rac2'
CRS-2673: Attempting to stop 'ora.evmd' on 'ol6-18-rac2'
CRS-2673: Attempting to stop 'ora.storage' on 'ol6-18-rac2'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'ol6-18-rac2'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'ol6-18-rac2'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'ol6-18-rac2'
CRS-2677: Stop of 'ora.ctssd' on 'ol6-18-rac2' succeeded
CRS-2677: Stop of 'ora.evmd' on 'ol6-18-rac2' succeeded
CRS-2677: Stop of 'ora.storage' on 'ol6-18-rac2' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'ol6-18-rac2'
CRS-2677: Stop of 'ora.drivers.acfs' on 'ol6-18-rac2' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'ol6-18-rac2' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'ol6-18-rac2' succeeded
CRS-2677: Stop of 'ora.asm' on 'ol6-18-rac2' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'ol6-18-rac2'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'ol6-18-rac2' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'ol6-18-rac2'
CRS-2677: Stop of 'ora.cssd' on 'ol6-18-rac2' succeeded
CRS-2673: Attempting to stop 'ora.crf' on 'ol6-18-rac2'
CRS-2677: Stop of 'ora.crf' on 'ol6-18-rac2' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'ol6-18-rac2'
CRS-2677: Stop of 'ora.gipcd' on 'ol6-18-rac2' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'ol6-18-rac2' 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 'ol6-18-rac2'
CRS-2672: Attempting to start 'ora.mdnsd' on 'ol6-18-rac2'
CRS-2676: Start of 'ora.evmd' on 'ol6-18-rac2' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'ol6-18-rac2' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'ol6-18-rac2'
CRS-2676: Start of 'ora.gpnpd' on 'ol6-18-rac2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'ol6-18-rac2'
CRS-2672: Attempting to start 'ora.gipcd' on 'ol6-18-rac2'
CRS-2676: Start of 'ora.cssdmonitor' on 'ol6-18-rac2' succeeded
CRS-2676: Start of 'ora.gipcd' on 'ol6-18-rac2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'ol6-18-rac2'
CRS-2672: Attempting to start 'ora.diskmon' on 'ol6-18-rac2'
CRS-2676: Start of 'ora.diskmon' on 'ol6-18-rac2' succeeded
CRS-2676: Start of 'ora.cssd' on 'ol6-18-rac2' succeeded
ASM de-configuration trace file location: /u01/app/oraInventory/logs/asmcadc_clean2021-10-06_01-28-56-PM.log
ASM Clean Configuration START
ASM Clean Configuration END

ASM instance deleted successfully. Check /u01/app/oraInventory/logs/asmcadc_clean2021-10-06_01-28-56-PM.log for details.

CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'ol6-18-rac2'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'ol6-18-rac2'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'ol6-18-rac2'
CRS-2673: Attempting to stop 'ora.evmd' on 'ol6-18-rac2'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'ol6-18-rac2'
CRS-2677: Stop of 'ora.drivers.acfs' on 'ol6-18-rac2' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'ol6-18-rac2' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'ol6-18-rac2' succeeded
CRS-2677: Stop of 'ora.evmd' on 'ol6-18-rac2' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'ol6-18-rac2'
CRS-2677: Stop of 'ora.cssd' on 'ol6-18-rac2' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'ol6-18-rac2'
CRS-2677: Stop of 'ora.gipcd' on 'ol6-18-rac2' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'ol6-18-rac2' has completed
CRS-4133: Oracle High Availability Services has been stopped.
2021/10/06 13:30:39 CLSRSC-4006: Removing Oracle Trace File Analyzer (TFA) Collector.
2021/10/06 13:30:54 CLSRSC-4007: Successfully removed Oracle Trace File Analyzer (TFA) Collector.
2021/10/06 13:30:59 CLSRSC-336: Successfully deconfigured Oracle Clusterware stack on this node
2021/10/06 13:30:59 CLSRSC-559: Ensure that the GPnP profile data under the 'gpnp' directory in /home/oracle/12.2.0.1_sw is deleted on each node before using the software in the current Grid Infrastructure home for reconfiguration.
[root@ol6-18-rac2 ~]#

Now continue with the deinstall screen and press enter

######################### 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 "ol6-18-rac2"
Oracle Clusterware is stopped and successfully de-configured on node "ol6-18-rac1"
Oracle Clusterware is stopped and de-configured successfully.
#######################################################################


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

Using properties file /tmp/deinstall2021-10-06_01-10-35PM/response/deinstall_2021-10-06_01-11-09-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_deconfig2021-10-06_01-11-09-PM.out'
Any error messages from this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2021-10-06_01-11-09-PM.err'

######################## DEINSTALL CLEAN OPERATION START ########################
## [START] Preparing for Deinstall ##
Setting LOCAL_NODE to ol6-18-rac2
Setting REMOTE_NODES to ol6-18-rac1
Setting CLUSTER_NODES to ol6-18-rac2,ol6-18-rac1
Setting CRS_HOME to true
Setting oracle.installer.invPtrLoc to /tmp/deinstall2021-10-06_01-10-35PM/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 '/home/oracle/12.2.0.1_sw' from the central inventory on the local node : Done

Delete directory '/home/oracle/12.2.0.1_sw' 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/oracle/product/11.2.0.3/db_3'.

Detach Oracle home '/home/oracle/12.2.0.1_sw' from the central inventory on the remote nodes 'ol6-18-rac1' : Done

Delete directory '/home/oracle/12.2.0.1_sw' on the remote nodes 'ol6-18-rac1' : Done

The Oracle Base directory '/u01/app/oracle' will not be removed on node 'ol6-18-rac1'. The directory is in use by Oracle Home '/u01/app/oracle/product/11.2.0.3/db_3'.

Oracle Universal Installer cleanup was successful.

Oracle Universal Installer clean END


## [START] Oracle install clean ##

Clean install operation removing temporary directory '/tmp/deinstall2021-10-06_01-10-35PM' on node 'ol6-18-rac1'

## [END] Oracle install clean ##


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


####################### DEINSTALL CLEAN OPERATION SUMMARY #######################
Successfully detached Oracle home '/home/oracle/12.2.0.1_sw' from the central inventory on the local node.
Successfully deleted directory '/home/oracle/12.2.0.1_sw' on the local node.
Successfully detached Oracle home '/home/oracle/12.2.0.1_sw' from the central inventory on the remote nodes 'ol6-18-rac1'.
Successfully deleted directory '/home/oracle/12.2.0.1_sw' on the remote nodes 'ol6-18-rac1'.
Oracle Universal Installer cleanup was successful.

For complete clean up of Oracle Clusterware software from the system, deinstall the following old clusterware home(s). Refer to Clusterware Install guide of respective old release for details.
    /u01/app/11.2.0.3/grid on nodes : ol6-18-rac2,ol6-18-rac1
Review the permissions and contents of '/u01/app/oracle' on nodes(s) 'ol6-18-rac2,ol6-18-rac1'.
If there are no Oracle home(s) associated with '/u01/app/oracle', manually delete '/u01/app/oracle' and its contents.
Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################


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