# S204LOG.cfg: Setup specification to get the internal variables used for the # database trace/log gathering function of the RDA process. # $Id: S204LOG.cfg,v 1.13 2008/01/25 16:57:26 mschenke Exp $ # ARCS: $Header: /home/cvs/repository/RDA_4/src/scripting/lib/modules/S204LOG.cfg,v 1.13 2008/01/25 16:57:26 mschenke Exp $ # # Copyright (c) 2002-2008, Oracle. All rights reserved. # # Change History # 20080122 DEM Add new settings for getting patterns of alert.log. ############################################################################### # Collect the database trace/log setup information ############################################################################### #------------------------------------------------------------------------------ # Module definition #------------------------------------------------------------------------------ col=${GET_DB_TRACE} dsc="Collects Database Trace and Log Files" req=S200DB var=force_log_tests #------------------------------------------------------------------------------ # Setting definitions #------------------------------------------------------------------------------ [force_log_tests] typ=B dft=0 dsc="Are the database log/trace tests required by the profile?" nam=- var=get_db_trace alt=GET_DB_TRACE [get_db_trace] typ=B dft=1 dsc="Gather database log/trace files?" nam=GET_DB_TRACE var=ALERT_TAIL,ALERT_SUMMARY,ALERT_PATTERN_COUNT,alert_check_count,\ DB_TRACE_AGE,DB_TRACE_ERRORS,DB_TRACE_RATIO,DB_TRACE_TRESHOLD,\ DB_TRACE_VOLUME,DB_TRACE_BDUMP,DB_TRACE_BVOLUME,DB_TRACE_UDUMP,\ DB_TRACE_UVOLUME,DB_TRACE_DG [GET_DB_TRACE] typ=B dft=${RDA_DEFAULT:${DATABASE_LOCAL}} dsc="Gather database log/trace files?" inp="Should RDA collect the database log/trace files (Y/N)?" var=ALERT_TAIL,ALERT_SUMMARY,ALERT_PATTERN_COUNT,alert_check_count,\ DB_TRACE_AGE,DB_TRACE_ERRORS,DB_TRACE_RATIO,DB_TRACE_TRESHOLD,\ DB_TRACE_VOLUME,DB_TRACE_BDUMP,DB_TRACE_BVOLUME,DB_TRACE_UDUMP,\ DB_TRACE_UVOLUME,DB_TRACE_DG lvl=1 [ALERT_TAIL] typ=N dft=30000 dsc="Maximum number of lines to extract from alert.log" err="The number of lines must be a strictly positive integer" inp="How many lines should RDA extract from end of the alert.log?" lvl=1 ref="I]0,[" val=F [ALERT_SUMMARY] typ=B dft=${force_log_tests} dsc="Should RDA analyze the alert.log report?" inp="Should RDA analyze the alert.log report (Y/N)?" lvl=1 [ALERT_PATTERN_COUNT] typ=N dft=0 dsc="Maximum number of latest rotated alert log files to be collected" err="The number of files must be a positive integer" inp="How many latest rotated alert log files matching a pattern are to be \ collected? Zero disables any file search." lvl=1 ref="[0,[" val=F [alert_check_count] typ=I alt=ALERT_FILE_PATTERN dft="eq:ALERT_PATTERN_COUNT:0" nam=- [ALERT_FILE_PATTERN] typ=F dsc="List of additional alert log files" end="." err="The path is not absolute" inp="Enter the absolute path of rotated alert.log files to collect or ${end} \ to terminate the list.\nRDA searches in that directory, for files that \ contain the 'basename' in their name, and selects the \ ${ALERT_PATTERN_COUNT} latest file(s)." man="RDA repeats the question until the user enters a dot (.) to terminate \ the list." sep="|" ref="A" val=E [DB_TRACE_AGE] typ=N dft=15 dsc="Age limit (in days) of the error trace files to be collected" err="The number of days must be a strictly positive number" inp="Indicate the age limit (in days) of the error trace files to be collected" lvl=1 ref="R[0,[" val=F [DB_TRACE_BDUMP] typ=N dft=0 dsc="Number of background trace files of each type to collect" err="The number of trace files must be a positive integer" inp="How many background process trace files of each type should RDA collect?" lvl=1 ref="I[0,[" val=F [DB_TRACE_BVOLUME] typ=N dft=100 dsc="Size limit (in MiB) for background trace files to be collected" err="The number of MiB must be a positive number" inp="Indicate the size limit (in MiB) for background trace files to be \ collected" lvl=1 ref="R[0,[" val=F [DB_TRACE_DG] typ=N dft=0 dsc="Age limit (in days) of the Data guard user dump files to be collected" err="The number of days must be a strictly positive number" inp="Indicate the age limit (in days) of the user dump files to be collected" lvl=1 ref="R[0,[" val=F [DB_TRACE_ERRORS] typ=N dft=250 dsc="Number of error references extracted from the alert_log" err="The number of references must be a positive integer" inp="How many error references should RDA consider?" lvl=1 ref="I[0,[" val=F [DB_TRACE_UDUMP] typ=N dft=0 dsc="Age limit (in days) of the user dump files to be collected" err="The number of days must be a strictly positive number" inp="Indicate the age limit (in days) of the user dump files to be collected" lvl=1 ref="R[0,[" val=F [DB_TRACE_UVOLUME] typ=N dft=25 dsc="Total size limit (in MiB) for collected user dumps" err="The number of MiB must be a positive number" inp="Indicate the total size limit (in MiB) for collected user dumps" lvl=1 ref="R[0,[" val=F [DB_TRACE_RATIO] typ=N dft=10 dsc="Ratio to estimate contribution to collection volume" [DB_TRACE_TRESHOLD] typ=N dft=20480 dsc="Minimum file size (in bytes) to apply the DB_TRACE_RATIO" [DB_TRACE_VOLUME] typ=N dft=10 dsc="Total size limit (in MiB) for collected error trace files" err="The number of MiB must be a positive number" inp="Indicate the total size limit (in MiB) for collected error trace files" lvl=1 ref="R[0,[" val=F