How to enable read-only Oracle Home directory
One, configuration
Before enabling the read-only Oracle Home directory, Oracle Home should not create any database or Listener
Run the roohctl script to enable read-only Oracle HOME.
$ cd $ORACLE_HOME/bin$ ./roohctl -enable
Determine whether Oracle Home is read-only
$ cd $ORACLE_HOME/bin$ ./orabasehome
If the output of the orabasehome command is the same as $ORACLE_HOME, the Oracle Home directory is in read/write mode. If the output shows the path ORACLE_BASE/homes/HOME_NAME, it means that your Oracle Home directory is in read-only mode.
Second, the file path
table of Contents | Read/Write Oracle Home file path | Read-only Oracle Home file path |
ORACLE_HOME | /refresh/home/oracle/product/18.0.0/dbhome_1 | /refresh/home/oracle/product/18.0.0/dbhome_1 |
ORACLE_BASE | /refresh/home/oracle/ | /refresh/home/oracle/ |
ORACLE_BASE_HOME | ORACLE_HOME (or) /refresh/home/oracle/product/18.0.0/dbhome_1 | ORACLE_BASE/homes/HOME_NAME (or) /refresh/home/oracle/homes/OraDB18Home1 |
ORACLE_BASE_CONFIG | ORACLE_HOME (or) /refersh/home/oracle/product/18.0.0/dbhome_1 | ORACLE_BASE (or) /refresh/home/oracle/ |
3.The impact of read-only Home directory on DBCA
spfile / pfile location
ORACLE_BASE/dbs
or
/refresh/home/oracle/dbsLog location
ORACLE_BASE/cfgtoollogs/dbua
or
/refresh/home/oracle/cfgtoollogs/dbua
0 Comments