$ORACLE_HOME/OPatch/opatch lsinventory
export OHOME=/u02/ebs/app/oracle/dbhome/11.2.0.4/hermes
export OHOMENAME=OraDB11204Home1
cd $OHOME/oui/bin
./runInstaller -attachhome ORACLE_HOME=$OHOME ORACLE_HOME_NAME=$OHOMENAME $*
Starting Oracle Universal Installer…
Checking swap space: must be greater than 500 MB. Actual 6697 MB Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
‘AttachHome’ was successful.