Configure Inventory Location File

Move All Inventory Files

In this case, we use /home/oracle as our new central inventory. So we copy all inventory files to the new location like this.

[oracle@primary ~]$ cp -rp /u01/app/oraInventory /home/oracle/

Update All Inventory Location Files

There're two more oraInst.loc in this OS. One is inside the central inventory, the other is at $ORACLE_HOME. Therefore, we need to overwrite them with the newly modified location file in order to be consistent across the OS.

Please note that, orainstRoot.sh in central inventory is a file executed by root during post installation, which is mainly used to copy inventory location file from central inventory to /etc/ and then change both permission and group of central inventory. Although we have no need to use it after installation, for safety's sake, we can modify the file and make sure everything points to the new location.