Remove old grid and database home after Upgrade in RAC
Hello. I try to remove old homes in RAC machine. I have 2 old grid. I need to delete 11.2.0.3 and 11.2.0.4 . Rac machine is working and shouldn't be stopped.
ls /u01/app
11.2.0.3 11.2.0.4 12.1.0.2 grid
oakcli show version -detail
GI_HOME | 12.1.0.2.2(19769480, | Up-to-date | ||
19769479) | ||||
DB_HOME { | ||||
[ OraDb12102_home1 ] | 12.1.0.2.2(19769480, | Up-to-date | ||
19769479) | ||||
[ OraDb11203_home1 ] | 11.2.0.3.13(19769496 | Up-to-date | ||
,17592127) | ||||
} |
I tried to delete 11.2.0.3 but I got this error.
[grid@orcl1 deinstall]$ echo $ORACLE_HOME
/u01/app/11.2.0.3/grid
[grid@orcl1 deinstall]$ cd /u01/app/11.2.0.3/grid/deinstall/
[grid@orcl1 deinstall]$ ./deinstall -checkonly /u01/app/11.2.0.4/grid/
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /u01/app/oraInventory/logs/
############ ORACLE DEINSTALL & DECONFIG TOOL START ############