# DCconfig.cfg: Collects Key Configuration Information # $Id: DCconfig.cfg,v 1.9 2015/11/16 18:47:37 RDA Exp $ # ARCS: $Header: /home/cvs/cvs/RDA_8/src/scripting/lib/collect/RDA/DCconfig.cfg,v 1.9 2015/11/16 18:47:37 RDA Exp $ # # Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved. # # Change History # 20151116 MSC Add profile-based external configuration. ############################################################################### # Collect key configuration setup information ############################################################################### #------------------------------------------------------------------------------ # Module definition #------------------------------------------------------------------------------ dft=1 dsc='Collects Key Configuration Information' pre=RDA:DCbegin rpt=T_EVENT_TIME,T_START_TIME,T_END_TIME use=Timing var=B_INTERIM,W_LIMIT,loop #------------------------------------------------------------------------------ # Setting definitions #------------------------------------------------------------------------------ [B_INTERIM] typ=B dft=0 dsc='Collect the file/directory list for the interim patches' inp='Do you want to collect the file/directory list for the interim patches \ in inventory (Y/N)?' lvl=6 [W_LIMIT] typ=M bef='Log Files Collection Mode:' dft=${PRF.W_LIMIT:'D'} dsc='Log files collection mode' err="Enter a number from 1 to ${AUX.N_ITEMS}" inp="\nIndicate how to limit the log files collection. When a data collection \ module does not support time based collection, the default mode will be \ used." itm=[D =>'Perform age and volume based collection (default mode)',\ p =>'Perform time-based collection (fast mode)',\ P =>'Perform time-based collection (strict mode)',\ e =>'Perform event-based collection (fast mode)',\ E =>'Perform event-based collection (strict mode)'] lvl=3 val=F var=e:T_EVENT_TIME,T_BEGIN_OFFSET,T_END_OFFSET,T_REFERENCE:\ E:T_EVENT_TIME,T_BEGIN_OFFSET,T_END_OFFSET,T_REFERENCE:\ p:T_START_TIME,T_END_TIME:\ P:T_START_TIME,T_END_TIME [T_EVENT_TIME] typ=T dsc='Event time for the log files collection' err='Event time format should be YYYY-MM-DDTHH24:MI:SS or \ YYYY-MM-DDTHH24:MI:SS+HH:MM' inp="Enter the time when the event occurs. \ Event time should be in YYYY-MM-DDTHH24:MI:SS (current time zone) or \ YYYY-MM-DDTHH24:MI:SS+HH:MM (time zone correction) format." ref=not(setReference(last,true)) val=E [T_BEGIN_OFFSET] typ=T dft='2d' dsc='How much time before the event?' inp='Indicate how much time before the event time should start the collection.' lvl=6 ref=not(setInterval(${T_EVENT_TIME},last,undef,undef,true)) val=E [T_END_OFFSET] typ=T dft='0' dsc='How much time after the event?' inp='Indicate how much time after the event time should end the collection.' lvl=6 ref=not(setInterval(${T_EVENT_TIME},undef,last,undef,true)) val=E [T_REFERENCE] typ=T dsc='Reference time adjustment' inp='Indicate when the reference time should be set after the event time.' lvl=9 opt=true ref=not(setInterval(${T_EVENT_TIME},undef,undef,last,true)) val=E [T_START_TIME] typ=T dsc='Start time for the log files collection' err='Start time format should be YYYY-MM-DDTHH24:MI:SS or \ YYYY-MM-DDTHH24:MI:SS+HH:MM' hlp='When you want to generate the log files for a specific time period, \ enter the start and end times.' inp="Enter the time, when you want to start the collection of the log files. \ Start time should be in YYYY-MM-DDTHH24:MI:SS (current time zone) or \ YYYY-MM-DDTHH24:MI:SS+HH:MM (time zone correction) format." ref=not(setReference(last,true)) val=E [T_END_TIME] typ=T dsc='End time for the log files collection' err='End time format should be YYYY-MM-DDTHH24:MI:SS or \ YYYY-MM-DDTHH24:MI:SS+HH:MM and not earlier than the start time' inp="Enter the time, when you want to end the collection of the log files. \ End time should be in YYYY-MM-DDTHH24:MI:SS (current time zone) or \ YYYY-MM-DDTHH24:MI:SS+HH:MM (time zone correction) format." ref=not(setPeriod(${T_START_TIME},last,true)) val=E [loop] typ=L dft=@{PRF.M_CONFIG} dsc='List of external configuration modules' nam=-M_SETUP var=loop:setup_tool [setup_tool] typ=S dft="${M_SETUP}" dsc='Setup of extra configuration ' nam=-