# S398DAC.def: Collects Data Warehouse Administration Console Information # $Id: S398DAC.def,v 1.5 2012/01/03 13:34:46 mschenke Exp $ # ARCS: $Header: /home/cvs/cvs/RDA_4/src/scripting/lib/modules/S398DAC.def,v 1.5 2012/01/03 13:34:46 mschenke Exp $ # # Change History # 20120103 MSC Change the copyright notice. =head1 NAME S398DAC - Collects Data Warehouse Administration Console Information =head1 DESCRIPTION This module collects the Oracle Business Intelligence Data Warehouse Administration Console-related diagnostic information. The following reports can be generated and are regrouped under C: =cut echo tput('bold'),'Processing DAC module ...',tput('off') # Initialization var $DAC_HOME = getSetting('DAC_HOME','') var $BI_HOME = getSetting('DAC_BI_HOME','') var $TOC = '%TOC%' var $TOP = '[[#Top][Back to top]]' pretoc '1:Data Warehouse Administration Console' # Load the common macros run library() =head2 apps_version - Application Version Information Gathers application version information. =cut debug ' Inside DAC module, getting application version information' report apps_version call cat_file(catDir($BI_HOME,'Document'),'version_apps.txt') if isCreated(true) toc '2:[[',getFile(),'][rda_report][Application Version Information]]' =head2 Configuration Files Gathers the following configuration files from F<$DAC_HOME/DAC> directory: =over 3 =item o F (For Windows) =item o F (For Windows) =item o F (For UNIX) =item o F (For UNIX) =back =cut debug ' Inside DAC module, collecting the configuration files' pretoc '2:Configuration Files' var $dir = catDir($DAC_HOME,'DAC') call sort_files(3,0,catFile($dir,'config.bat'),\ catFile($dir,'dac_env.bat'),\ catFile($dir,'config.sh'),\ catFile($dir,'dac_env.sh')) unpretoc =head2 Log Files Gathers the following log files from F<$DAC_HOME/DAC/log> directory: =over 3 =item o F =item o F =item o F =item o Latest FnumberE.log> file =back =cut debug ' Inside DAC module, collecting the log files' pretoc '2:Log Files' var $dir = catDir($DAC_HOME,'DAC','log') call sort_files(3,0,catFile($dir,'ServerTXT.log'),\ catFile($dir,'ping.log'),\ catFile($dir,'etl_summary.txt'),\ first(grepDir($dir,'^\d+\.log$','pt'))) unpretoc =head1 SEE ALSO L =begin credits =over 10 =item RDA 4.20: Mitra Veluri. =back =end credits =head1 COPYRIGHT NOTICE Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved. =head1 TRADEMARK NOTICE Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. =cut