Thursday, March 4, 2021

Deinstalling ORCALE_HOME silently and patch Homes


Clonning ebs 12.2-----perl adcfgclone.pl appsTier


Error

Below Oracle Homes are already registered in the global inventory:

 /u01/applmgr/clone/fs1/FMW_Home/oracle_common

/u01/applmgr/clone/fs1/FMW_Home/webtier

/u01/applmgr/clone/fs1/FMW_Home/Oracle_EBS-app1



Solution:

[applmgr@cloning bin]$ ./runInstaller -deinstall ORACLE_HOME=/u01/oracle/clone/12.1.0 "REMOVE_HOMES={/u01/applmgr/clone/fs1/FMW_Home/webtier}"  -silent
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 8190 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2021-03-04_12-16-47PM. Please wait ...[applmgr@cloning bin]$ Oracle Universal Installer, Version 12.1.0.2.0 Production
Copyright (C) 1999, 2014, Oracle. All rights reserved.

Starting deinstall


Deinstall in progress (Thursday, March 4, 2021 12:16:52 PM GMT+00:00)

End of install phases.(Thursday, March 4, 2021 12:17:12 PM GMT+00:00)
End of deinstallations
Please check '/u01/oracle/clone/12.1.0/oraInventory/logs/silentInstall2021-03-04_12-16-47PM.log' for more details.

[applmgr@cloning bin]$ ./runInstaller -deinstall ORACLE_HOME=/u01/oracle/clone/12.1.0 "REMOVE_HOMES={/u01/applmgr/clone/fs1/FMW_Home/oracle_common}"  -silent
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 8190 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2021-03-04_12-18-37PM. Please wait ...[applmgr@cloning bin]$ Oracle Universal Installer, Version 12.1.0.2.0 Production
Copyright (C) 1999, 2014, Oracle. All rights reserved.

Starting deinstall


Deinstall in progress (Thursday, March 4, 2021 12:18:41 PM GMT+00:00)

End of install phases.(Thursday, March 4, 2021 12:19:01 PM GMT+00:00)
End of deinstallations
Please check '/u01/oracle/clone/12.1.0/oraInventory/logs/silentInstall2021-03-04_12-18-37PM.log' for more details.

[applmgr@cloning bin]$ ./runInstaller -deinstall ORACLE_HOME=/u01/oracle/clone/12.1.0 "REMOVE_HOMES={/u01/applmgr/clone/fs1/FMW_Home/Oracle_EBS-app1}"  -silent
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 8190 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2021-03-04_12-20-12PM. Please wait ...[applmgr@cloning bin]$ Oracle Universal Installer, Version 12.1.0.2.0 Production
Copyright (C) 1999, 2014, Oracle. All rights reserved.

Starting deinstall


Deinstall in progress (Thursday, March 4, 2021 12:20:16 PM GMT+00:00)

End of install phases.(Thursday, March 4, 2021 12:20:36 PM GMT+00:00)
End of deinstallations
Please check '/u01/oracle/clone/12.1.0/oraInventory/logs/silentInstall2021-03-04_12-20-12PM.log' for more details.


Detaching Patch Homes
#This step is performed from the RUN file-system detaching oracle_homes on the PATCH file-system:

[applmgr@cloning bin]$ pwd
/u01/applmgr/clone/fs1/FMW_Home/oracle_common/oui/bin
[applmgr@cloning bin]$ ./runInstaller -detachhome ORACLE_HOME=/u01/applmgr/clone/fs2/FMW_Home/webtier -silent                                                           Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 7988 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/oraInventory
'DetachHome' was successful.

[applmgr@cloning bin]$ ./runInstaller -detachhome ORACLE_HOME=/u01/applmgr/clone/fs2/FMW_Home/Oracle_EBS-app1 -silent
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 7988 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/oraInventory
'DetachHome' was successful.


[applmgr@cloning bin]$ ./runInstaller -detachhome ORACLE_HOME=/u01/applmgr/clone/fs2/FMW_Home/oracle_common -silent
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 7990 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/oraInventory
'DetachHome' was successful.


No comments:

Table import and export.

Create Data Pump Directory. The first step in Oracle Data Pump is to create an OS level directory which will be used by Oracle for perform...