Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ADRCI Purging?

lrp_databonkAug 25 2014 — edited Sep 3 2014

Hi all.  I'm trying to setup regular purging of grid infrastructure diagnostic locations (trace files, listener alert/trace files), but i'm having problems locating the ADR Homes underneath what I believe is ORACLE_BASE.


user = grid

ORACLE_HOME=/u01/app/11.2.0/grid_11204

ORACLE_BASE=/u01/app/grid


If i do an 'adrci exec=show homes' command in $ORACLE_BASE (/u01/app/grid), then it lists only a small number of ADR Homes.

cd /u01/app/grid

[grid@stg-wms-db-02 grid]$ adrci exec=show homes

  ADR Homes:

  diag/tnslsnr/stg-wms-db-02/listener

  diag/tnslsnr/stg-wms-db-01/listener

  diag/tnslsnr/stg-wms-db-01/whsmstg

When i goto $ORACLE_HOME/log and run the same command, I see a whole bunch of homes:

cd /u01/app/11.2.0/grid_11204/log

adrci exec=show homes

  ADR Homes:

  diag/tnslsnr/stg-wms-db-01/listener_scan1

  diag/tnslsnr/stg-wms-db-01/listener_scan2

  diag/tnslsnr/stg-wms-db-01/listener_scan3

  diag/tnslsnr/stg-wms-db-01/whsmstg

  diag/tnslsnr/stg-wms-db-01/wscistg

  diag/tnslsnr/stg-wms-db-02/listener_scan1

  diag/tnslsnr/stg-wms-db-02/listener_scan3

  diag/tnslsnr/stg-wms-db-02/listener_scan2

  diag/tnslsnr/stg-wms-db-02/whsmstg

  diag/tnslsnr/stg-wms-db-02/wscistg

- Is this right? every other directory path, 'No ADR homes are set' and 'No ADR base is set'.

How does everybody else handle their ORACLE_BASE and regular adrci purging for trace, alert and listener logs?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 1 2014
Added on Aug 25 2014
2 comments
3,000 views