How to enable a read-only Oracle Home directory
This article introduces the knowledge of "how to enable the read-only Oracle Home directory". Many people will encounter this dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
I. configuration
Oracle Home should not create any databases or Listener until you enable the read-only Oracle Home directory
Run the roohctl script to enable read-only Oracle HOME.
$cd $ORACLE_HOME/bin$. / roohctl-enable
Determine if 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, your Oracle Home directory is in read-only mode.
File path directory 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_1ORACLE_BASE/refresh/home/oracle//refresh/home/oracle/ORACLE_BASE_HOMEORACLE_HOME (or)
Refresh/home/oracle/product/18.0.0/dbhome_1ORACLE_BASE/homes/HOME_NAME (or)
Refresh/home/oracle/homes/OraDB18Home1ORACLE_BASE_CONFIGORACLE_HOME (or)
Refersh/home/oracle/product/18.0.0/dbhome_1ORACLE_BASE (or)
/ refresh/home/oracle/ III. The influence of read-only Home directory on DBCA
Spfile / pfile location
ORACLE_BASE/dbs
Or
/ refresh/home/oracle/dbs
Log location
ORACLE_BASE/cfgtoollogs/dbua
Or
/ refresh/home/oracle/cfgtoollogs/dbua
This is the end of "how to enable the read-only Oracle Home directory". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!