• notice
  • Congratulations on the launch of the Sought Tech site

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

  1. Run the roohctl script to enable read-only Oracle HOME.

    $ cd $ORACLE_HOME/bin$ ./roohctl -enable
  2. 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 ContentsRead/Write Oracle Home file pathRead-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_HOMEORACLE_HOME (or) /refresh/home/oracle/product/18.0.0/dbhome_1 
ORACLE_BASE/homes/HOME_NAME (or)
/refresh/home/oracle/homes/OraDB18Home1
ORACLE_BASE_CONFIGORACLE_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/dbs

  • Log location
    ORACLE_BASE/cfgtoollogs/dbua
    or
    /refresh/home/oracle/cfgtoollogs/dbua


Tags

Technical otaku

Sought technology together

Related Topic

0 Comments

Leave a Reply

+