Oracle-18c Read-Only Oracle Home
Description:-
The read-only Oracle home feature have all the configuration data and log files are placed outside of the read-only Oracle home. This read-only Oracle home, we can use as a software image that can be distributed across several servers.
Apart from the traditional ORACLE_BASE and ORACLE_HOME directories, the below directories are contain the files that used to be in ORACLE_HOME.
Benefits of a Read-Only Oracle Home:
It cab be provide patching and updating of Oracle databases without extended downtime.
ORACLE_BASE_HOME:
Both read-only ORACLE_HOME and read/write ORACLE_HOME, the user-specific files, instance-specific files, and log files placed in a location called as the ORACLE_BASE_HOME.
ORACLE_BASE_CONFIG:
Both read-only ORACLE_HOME and read/write ORACLE_HOME, the configuration files placed in a location called as ORACLE_BASE_CONFIG.
ORABASETAB:
The orabasetab file is used to define fundamental directories based on $ORACLE_HOME: ORACLE_BASE, ORACLE_BASE_HOME and ORACLE_BASE_CONFIG.
Now check the status of read-only oracle home using orabasetab file:
[oracle@orcl18c ~]$ cat $ORACLE_HOME/install/orabasetab
Enable the Read-Only Oracle Home:
Configure Oracle home as a read-only Oracle home after we have performed a software-only Oracle Database installation.
[oracle@orcl18c ~]$ cd $ORACLE_HOME/lib
[oracle@orcl18c lib]$ roohctl -enable -force
Now cheak whether the read-only oracle home is enable or not using orabasetab file.
[oracle@orcl18c ~]$ cat $ORACLE_HOME/install/orabasetab
Disable the Read-Only Oracle Home:
[oracle@orcl18c ~]$ cd $ORACLE_HOME/lib
[oracle@orcl18c lib]$ roohctl -disable -force
Catch Me On:- Hariprasath Rajaram
LinkedIn:https://www.linkedin.com/in/hari-prasath-aa65bb19/
Facebook:https://www.facebook.com/HariPrasathdba
FB Group:https://www.facebook.com/groups/894402327369506/
FB Page: https://www.facebook.com/dbahariprasath/?
Twitter: https://twitter.com/hariprasathdba